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.
26 Summary: GiNaC development libraries and header files
27 Group: Development/Libraries
28 Requires: %{name} = %{version}
31 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
32 open framework for symbolic computation within the C++ programming language.
34 This package contains the libraries, include files and other resources you
35 use to develop GiNaC applications.
39 Summary: GiNaC-related utilities
40 Group: System Environment/Libraries
41 Requires: %{name} = %{version}
44 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
45 open framework for symbolic computation within the C++ programming language.
47 This package includes the ginsh ("GiNaC interactive shell") which provides a
48 simple and easy-to-use CAS-like interface to GiNaC for non-programmers, and
49 the tool "viewgar" which displays the contents of GiNaC archives.
56 CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
57 if [ -x /usr/bin/getconf ] ; then
58 NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
59 if [ $NCPU -eq 0 ] ; then
66 (make -k -j $PARL; exit 0)
70 rm -rf ${RPM_BUILD_ROOT}
71 make DESTDIR=${RPM_BUILD_ROOT} install
72 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
75 rm -rf ${RPM_BUILD_ROOT}
84 /sbin/install-info %{_infodir}/ginac.info.gz %{_infodir}/dir
88 /sbin/install-info --delete %{_infodir}/ginac.info.gz %{_infodir}/dir
93 %doc AUTHORS COPYING ChangeLog NEWS README
101 %{_includedir}/ginac/*.h
103 %{_mandir}/man1/ginac-config.1*
104 %{_bindir}/ginac-config
105 %{_datadir}/aclocal/*
108 %defattr(-,root,root)
111 %{_mandir}/man1/ginsh.1*
112 %{_mandir}/man1/viewgar.1*
115 * Thu Nov 1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
116 - moved ginsh and viewgar to "utils" package
118 * Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
121 * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
122 - split into user and devel packages
124 * Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
125 - aclocal macros get installed