2 %define version @VERSION@
5 Summary: C++ library for symbolic calculations
10 Group: System Environment/Libraries
11 Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.bz2
12 URL: http://www.ginac.de/
13 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
16 Requires(post): /sbin/install-info
17 Requires(preun): /sbin/install-info
19 BuildRequires: cln-devel >= 1.1 gcc-c++ readline-devel
23 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
24 open framework for symbolic computation within the C++ programming language.
28 Summary: GiNaC development libraries and header files
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release} cln-devel
31 Obsoletes: GiNaC-devel
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 package contains the libraries, include files and other resources you
38 use to develop GiNaC applications.
42 Summary: GiNaC-related utilities
43 Group: System Environment/Libraries
44 Requires: %{name} = %{version}-%{release}
45 Obsoletes: GiNaC-utils
48 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
49 open framework for symbolic computation within the C++ programming language.
51 This package includes the ginsh ("GiNaC interactive shell") which provides a
52 simple and easy-to-use CAS-like interface to GiNaC for non-programmers, and
53 the tool "viewgar" which displays the contents of GiNaC archives.
64 rm -rf ${RPM_BUILD_ROOT}
68 rm -rf ${RPM_BUILD_ROOT}
70 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 /sbin/install-info --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
79 /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/ginac.info.gz 2>/dev/null || :
84 %doc AUTHORS COPYING ChangeLog NEWS README
92 %{_libdir}/pkgconfig/ginac.pc
100 %{_mandir}/man1/ginsh.1*
101 %{_mandir}/man1/viewgar.1*
104 * Mon Jul 11 2005 Christian Bauer <Christian.Bauer@uni-mainz.de>
105 - name of package changed from "GiNaC" to "ginac"; added "Obsoletes:"
108 * Thu Jun 30 2005 Christian Bauer <Christian.Bauer@uni-mainz.de>
109 - included some updates from the Fedora Extras spec file:
110 - "Copyright:" -> "License:"
111 - Fixed broken install-info command
112 - Added missing BuildRequires
113 - Added release to Requires for devel and utils
114 - Remove processing of info files (this is supposed to be automatic)
115 - Added cln-devel as dependency of GiNaC-devel
117 * Thu Nov 20 2003 Christian Bauer <Christian.Bauer@uni-mainz.de>
118 - added pkg-config metadata file to devel package
120 * Thu Nov 1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
121 - moved ginsh and viewgar to "utils" package
123 * Thu Oct 5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
126 * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
127 - split into user and devel packages
129 * Wed Dec 1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
130 - aclocal macros get installed