2 %define version @VERSION@
5 Summary: C++ library for symbolic calculations
10 Group: System Environment/Libraries
11 Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.gz
12 URL: http://www.ginac.de/
13 Packager: Christian Bauer <cbauer@ginac.de>
14 Prereq: /sbin/install-info
15 BuildRoot: %{_tmppath}/%{name}-root
21 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
22 open framework for symbolic computation within the C++ programming language.
24 It includes the ginsh ("GiNaC interactive shell") which provides a simple and
25 easy-to-use CAS-like interface to GiNaC for non-programmers.
29 Summary: Libraries, includes and more to develop GiNaC applications
30 Group: Development/Libraries
31 Requires: %{name} = %{version}
34 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
35 open framework for symbolic computation within the C++ programming language.
37 This is the libraries, include files and other resources you can use to
38 develop GiNaC applications.
45 CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
46 if [ -x /usr/bin/getconf ] ; then
47 NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
48 if [ $NCPU -eq 0 ] ; then
55 (make -k -j $PARL; exit 0)
59 rm -rf ${RPM_BUILD_ROOT}
60 make DESTDIR=${RPM_BUILD_ROOT} install
61 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
64 rm -rf ${RPM_BUILD_ROOT}
73 /sbin/install-info %{_infodir}/ginac.info.gz %{_infodir}/dir
77 /sbin/install-info --delete %{_infodir}/ginac.info.gz %{_infodir}/dir
82 %doc AUTHORS COPYING ChangeLog NEWS README
86 %{_mandir}/man1/ginsh.1*
87 %{_mandir}/man1/viewgar.1*
94 %{_includedir}/ginac/*.h
96 %{_mandir}/man1/ginac-config.1*
97 %{_bindir}/ginac-config
101 * Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
104 * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
105 - split into user and devel packages
107 * Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
108 - aclocal macros get installed