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
65 (make -k -j $NCPU; exit 0)
69 rm -rf ${RPM_BUILD_ROOT}
70 make DESTDIR=${RPM_BUILD_ROOT} install
71 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
72 rm ${RPM_BUILD_ROOT}%{_infodir}/dir
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 %{_libdir}/pkgconfig/ginac.pc
104 %{_mandir}/man1/ginac-config.1*
105 %{_bindir}/ginac-config
106 %{_datadir}/aclocal/ginac.m4
109 %defattr(-,root,root)
112 %{_mandir}/man1/ginsh.1*
113 %{_mandir}/man1/viewgar.1*
116 * Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
117 - added pkg-config metadata file to devel package
119 * Thu Nov 1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
120 - moved ginsh and viewgar to "utils" package
122 * Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
125 * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
126 - split into user and devel packages
128 * Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
129 - aclocal macros get installed