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*
73 rm ${RPM_BUILD_ROOT}%{_infodir}/dir
76 rm -rf ${RPM_BUILD_ROOT}
85 /sbin/install-info %{_infodir}/ginac.info.gz %{_infodir}/dir
89 /sbin/install-info --delete %{_infodir}/ginac.info.gz %{_infodir}/dir
94 %doc AUTHORS COPYING ChangeLog NEWS README
102 %{_includedir}/ginac/*.h
104 %{_mandir}/man1/ginac-config.1*
105 %{_bindir}/ginac-config
106 %{_datadir}/aclocal/*
109 %defattr(-,root,root)
112 %{_mandir}/man1/ginsh.1*
113 %{_mandir}/man1/viewgar.1*
116 * Thu Nov 1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
117 - moved ginsh and viewgar to "utils" package
119 * Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
122 * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
123 - split into user and devel packages
125 * Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
126 - aclocal macros get installed