1 # spec file for GiNaC (not relocatable)
7 Summary: C++ library for symbolic mathematical calculations
13 Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/GiNaC-%{ver}.tar.gz
14 BuildRoot: /tmp/GiNaC-%{PACKAGE_VERSION}-root
15 Packager: Christian Bauer <Christian.Bauer@uni-mainz.de>
16 URL: http://www.ginac.de/
21 GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a
22 C++ library for symbolic mathematical calculations. It is designed to allow
23 the creation of integrated systems that embed symbolic manipulations together
24 with more established areas of computer science (like computation-intense
25 numeric applications, graphical interfaces, etc.) under one roof.
31 CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
32 if [ "$SMP" != "" ]; then
33 (make "MAKE=make -k -j $SMP"; exit 0)
40 rm -rf $RPM_BUILD_ROOT
41 make prefix=$RPM_BUILD_ROOT%{prefix} install
42 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
45 rm -rf $RPM_BUILD_ROOT
47 %post -p /sbin/ldconfig
48 install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir
50 %postun -p /sbin/ldconfig
53 install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir
56 %defattr(-, root, root)
57 %doc AUTHORS COPYING ChangeLog NEWS README
58 %{prefix}/lib/lib*.so*
61 %{prefix}/info/ginac.info*
63 %{prefix}/share/doc/GiNaC/*