]> www.ginac.de Git - ginac.git/blob - GiNaC.spec.in
- tutorial now built with texinfo
[ginac.git] / GiNaC.spec.in
1 # spec file for GiNaC (not relocatable)
2
3 %define ver @VERSION@
4 %define rel 1
5 %define prefix /usr
6
7 Summary: C++ library for symbolic mathematical calculations
8 Name: GiNaC
9 Version: %ver
10 Release: %rel
11 Copyright: GPL
12 Group: Libraries
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/
17 Docdir: %{prefix}/doc
18
19 %description
20 GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a
21 C++ library for symbolic mathematical calculations. It is designed to allow
22 the creation of integrated systems that embed symbolic manipulations together
23 with more established areas of computer science (like computation-intense
24 numeric applications, graphical interfaces, etc.) under one roof.
25
26 %prep
27 %setup
28
29 %build
30 ./configure --prefix=%prefix
31 make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 make prefix=$RPM_BUILD_ROOT%{prefix} install
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %post -p /sbin/ldconfig
41
42 %postun -p /sbin/ldconfig
43
44 %files
45 %defattr(-, root, root)
46 %doc AUTHORS COPYING ChangeLog NEWS README
47 %{prefix}/lib/lib*.so
48 %{prefix}/lib/*a
49 %{prefix}/include/*
50 %{prefix}/man/man1/*
51 %{prefix}/share/doc/GiNaC/*
52 %{prefix}/bin/*