Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37038341
en ru br
Репозитории ALT
S:1.4.1-alt1
5.1: 1.2.2-alt3
4.1: 1.2.2-alt1
4.0: 1.2.0-alt1
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: yacas

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: yacas
Version: 1.4.1
Release: alt1

Summary: Yet Another Computer Algebra System
License: GPL
Group: Sciences/Mathematics

Url: http://yacas.sourceforge.net
Source0: http://yacas.sourceforge.net/backups/%name-%version.tar.gz
Source100: yacas.watch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Sun Mar 22 2015

# optimized out: libcloog-isl4 libstdc++-devel texlive-base-bin texlive-latex-base
BuildRequires: gcc-c++

BuildRequires: /usr/bin/latex /usr/bin/dvips

%description
Yacas (Yet Another Computer Algebra System) is a small and
highly flexible computer algebra language. The syntax uses
an infix-operator grammar parser.  The distribution contains
a small library of mathematical functions, but its real strength
is in the language in which you can easily write your own symbolic
manipulation algorithms. It supports arbitrary precision arithmetic.

%package -n lib%name
Summary: Shared library for YACAS
Group: System/Libraries

%description -n lib%name
This package contains shared library for YACAS.

%package -n lib%name-devel
Summary: Development headers for YACAS
Group: Development/C

%description -n lib%name-devel
This package contains files needed to link against YACAS library.

%package docs
BuildArch: noarch
Summary: YACAS intro, algos, coding, essays and reference manuals
Group: Documentation

%description docs
YACAS intro, algos, coding, essays and reference manuals

%prep
%setup
# https://sourceforge.net/p/yacas/tickets/96/
touch README

%build
%autoreconf
CXXFLAGS="%optflags" %configure --enable-gmp --disable-static
%make_build

%install
%makeinstall_std
# I can't see any use for these, no libs installed
rm -rf %buildroot%_datadir/%name/include

%files
%doc AUTHORS NEWS README TODO
%doc docs/*.html docs/*.gif
%_bindir/*
%_datadir/%name/
%exclude %_datadir/%name/documentation/

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_libdir/*.so
%_includedir/%name/

%files docs
%dir %_datadir/%name/
%_datadir/%name/documentation/

# TODO:

# - figure out if/how to install ytxt2tex, see manmake/README
# - JavaYacas?

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin