Репозитории ALT
5.1: | 3.2009.05-alt2 |
4.1: | 3.2007.09-alt3 |
4.0: | 3.2007.09-alt2 |
3.0: | 3.6-alt1 |
Группа :: Науки/Математика
Пакет: axiom
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define NO_REGRESSION_TEST 1
%define axiom_cvs_date 20070909
Name: axiom
Version: 3.2009.05
Release: alt2
Serial: 1
Summary: Axiom Computer Algebra System
License: Modified BSD License
Group: Sciences/Mathematics
Url: http://savannah.nongnu.org/projects/axiom
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: axiom-cvs-%axiom_cvs_date.tar.bz2
Source1: %name.in
Source2: %name-sman.in
Source3: %name-16.png
Source4: %name-32.png
Source5: %name-48.png
Source6: %name.desktop
Patch1: %name-3.2007.09-no-test.patch
Patch2: %name-3.2007.09-statsysbfd.patch
Patch3: %name-3.2007.09-xpm.patch
Patch4: %name-3.2007.09-install.patch
Conflicts: fricas
BuildRequires: libreadline-devel libncurses-devel libiberty-devel libbfd-devel
BuildRequires: tcl-devel tk-devel
BuildRequires: libgmp-devel tetex tetex-latex tetex-dvips texinfo
BuildRequires: sed gawk coreutils diffutils
BuildRequires: xorg-x11-devel libXpm-devel libXpm
%description
Axiom is a general purpose Computer Algebra system. It is useful for
research and development of mathematical algorithms. It defines a
strongly typed, mathematically correct type hierarchy. It has a
programming language and a built-in compiler.
Axiom has been in development since 1973 and was sold as a
commercial product. It has been released as free software.
Efforts are underway to extend this software to (a) develop a
better user interface (b) make it useful as a teaching tool
(c) develop an algebra server protocol (d) integrate additional
mathematics (e) rebuild the algebra in a literate programming style
(f) integrate logic programming (g) develop an Axiom Journal with
refereed submissions.
%package doc
Summary: Axiom Book and other Documentaion
Group: Sciences/Mathematics
%description doc
Axiom Book and other Documentaion.
%prep
%setup -q -n%name
%if %NO_REGRESSION_TEST
%patch1 -p1
%endif
#patch2 -p1
#patch3 -p1
#patch4 -p1
%build
export AXIOM=%_builddir/%name/mnt/linux
export PATH=$AXIOM/bin:$PATH
PROCESSOR_FLAGS=`echo "%optflags" | %__sed -e "s:%optflags_default::"`
export PROCESSOR_FLAGS
export LIBS="-lXpm"
make LDF=" -L%_x11libdir" XLIB="%_x11libdir"
cd mnt/linux/doc
dvips -o rosetta.ps rosetta.dvi
dvips -o endpaper.ps endpaper.dvi
dvips -o refcard.ps refcard.dvi
cd ../../..
%install
install -d %buildroot%_bindir
make DESTDIR=%buildroot%_libdir/%name COMMAND=%buildroot%_bindir/%name install
# icons
install -D -m644 %SOURCE3 %buildroot%_miconsdir/%name.png
install -D -m644 %SOURCE4 %buildroot%_niconsdir/%name.png
install -D -m644 %SOURCE5 %buildroot%_liconsdir/%name.png
# menu items
install -D -m644 %SOURCE6 %buildroot%_desktopdir/%name.desktop
# executables
install -D -m755 %SOURCE1 %buildroot%_bindir/%name
install -D -m755 %SOURCE2 %buildroot%_bindir/%name-sman
%__subst "s:ZLIBDIRZ:%_libdir:g" %buildroot%_bindir/%name
%__subst "s:ZLIBDIRZ:%_libdir:g" %buildroot%_bindir/%name-sman
%files
%_bindir/axiom*
%_desktopdir/%name.desktop
%_niconsdir/%name.png
%_miconsdir/%name.png
%_liconsdir/%name.png
%dir %_libdir/%name
%dir %_libdir/%name/mnt
%_libdir/%name/mnt/linux
%exclude %_libdir/%name/mnt/linux/doc/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/src/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/src/*/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/ps
%exclude %_libdir/%name/mnt/linux/doc/*.ps
%files doc
%dir %_libdir/%name
%dir %_libdir/%name/mnt
%dir %_libdir/%name/mnt/linux
%dir %_libdir/%name/mnt/linux/doc
%doc %_libdir/%name/mnt/linux/doc/*.ps
%changelog
…
Полный changelog можно просмотреть здесь
%define axiom_cvs_date 20070909
Name: axiom
Version: 3.2009.05
Release: alt2
Serial: 1
Summary: Axiom Computer Algebra System
License: Modified BSD License
Group: Sciences/Mathematics
Url: http://savannah.nongnu.org/projects/axiom
Packager: Ilya Mashkin <oddity at altlinux.ru>
Source0: axiom-cvs-%axiom_cvs_date.tar.bz2
Source1: %name.in
Source2: %name-sman.in
Source3: %name-16.png
Source4: %name-32.png
Source5: %name-48.png
Source6: %name.desktop
Patch1: %name-3.2007.09-no-test.patch
Patch2: %name-3.2007.09-statsysbfd.patch
Patch3: %name-3.2007.09-xpm.patch
Patch4: %name-3.2007.09-install.patch
Conflicts: fricas
BuildRequires: libreadline-devel libncurses-devel libiberty-devel libbfd-devel
BuildRequires: tcl-devel tk-devel
BuildRequires: libgmp-devel tetex tetex-latex tetex-dvips texinfo
BuildRequires: sed gawk coreutils diffutils
BuildRequires: xorg-x11-devel libXpm-devel libXpm
%description
Axiom is a general purpose Computer Algebra system. It is useful for
research and development of mathematical algorithms. It defines a
strongly typed, mathematically correct type hierarchy. It has a
programming language and a built-in compiler.
Axiom has been in development since 1973 and was sold as a
commercial product. It has been released as free software.
Efforts are underway to extend this software to (a) develop a
better user interface (b) make it useful as a teaching tool
(c) develop an algebra server protocol (d) integrate additional
mathematics (e) rebuild the algebra in a literate programming style
(f) integrate logic programming (g) develop an Axiom Journal with
refereed submissions.
%package doc
Summary: Axiom Book and other Documentaion
Group: Sciences/Mathematics
%description doc
Axiom Book and other Documentaion.
%prep
%setup -q -n%name
%if %NO_REGRESSION_TEST
%patch1 -p1
%endif
#patch2 -p1
#patch3 -p1
#patch4 -p1
%build
export AXIOM=%_builddir/%name/mnt/linux
export PATH=$AXIOM/bin:$PATH
PROCESSOR_FLAGS=`echo "%optflags" | %__sed -e "s:%optflags_default::"`
export PROCESSOR_FLAGS
export LIBS="-lXpm"
make LDF=" -L%_x11libdir" XLIB="%_x11libdir"
cd mnt/linux/doc
dvips -o rosetta.ps rosetta.dvi
dvips -o endpaper.ps endpaper.dvi
dvips -o refcard.ps refcard.dvi
cd ../../..
%install
install -d %buildroot%_bindir
make DESTDIR=%buildroot%_libdir/%name COMMAND=%buildroot%_bindir/%name install
# icons
install -D -m644 %SOURCE3 %buildroot%_miconsdir/%name.png
install -D -m644 %SOURCE4 %buildroot%_niconsdir/%name.png
install -D -m644 %SOURCE5 %buildroot%_liconsdir/%name.png
# menu items
install -D -m644 %SOURCE6 %buildroot%_desktopdir/%name.desktop
# executables
install -D -m755 %SOURCE1 %buildroot%_bindir/%name
install -D -m755 %SOURCE2 %buildroot%_bindir/%name-sman
%__subst "s:ZLIBDIRZ:%_libdir:g" %buildroot%_bindir/%name
%__subst "s:ZLIBDIRZ:%_libdir:g" %buildroot%_bindir/%name-sman
%files
%_bindir/axiom*
%_desktopdir/%name.desktop
%_niconsdir/%name.png
%_miconsdir/%name.png
%_liconsdir/%name.png
%dir %_libdir/%name
%dir %_libdir/%name/mnt
%_libdir/%name/mnt/linux
%exclude %_libdir/%name/mnt/linux/doc/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/src/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/src/*/*.dvi
%exclude %_libdir/%name/mnt/linux/doc/ps
%exclude %_libdir/%name/mnt/linux/doc/*.ps
%files doc
%dir %_libdir/%name
%dir %_libdir/%name/mnt
%dir %_libdir/%name/mnt/linux
%dir %_libdir/%name/mnt/linux/doc
%doc %_libdir/%name/mnt/linux/doc/*.ps
%changelog
…
Полный changelog можно просмотреть здесь