/[GiNaC]/GiNaC.spec.in
ViewVC logotype

Contents of /GiNaC.spec.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations)
Fri Nov 26 17:08:46 1999 UTC (13 years, 5 months ago) by cbauer
Branch: MAIN
Changes since 1.4: +9 -2 lines
- requires autoconf 2.12 and automake 1.4
- .info files included in GiNaC.spec

1 cbauer 1.2 # spec file for GiNaC (not relocatable)
2 cbauer 1.1
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 cbauer 1.4 URL: http://www.ginac.de/
17 cbauer 1.5 Prereq: install-info
18 cbauer 1.1 Docdir: %{prefix}/doc
19    
20     %description
21 kreckel 1.3 GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a
22 cbauer 1.2 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.
26 cbauer 1.1
27     %prep
28     %setup
29    
30     %build
31     ./configure --prefix=%prefix
32     make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
33    
34     %install
35     rm -rf $RPM_BUILD_ROOT
36 cbauer 1.5 make prefix=$RPM_BUILD_ROOT%{prefix} install-strip
37     gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*
38 cbauer 1.1
39     %clean
40     rm -rf $RPM_BUILD_ROOT
41    
42     %post -p /sbin/ldconfig
43 cbauer 1.5 install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir
44 cbauer 1.1
45     %postun -p /sbin/ldconfig
46    
47 cbauer 1.5 %preun
48     install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir
49    
50 cbauer 1.1 %files
51     %defattr(-, root, root)
52     %doc AUTHORS COPYING ChangeLog NEWS README
53 cbauer 1.5 %{prefix}/lib/lib*.so*
54 cbauer 1.1 %{prefix}/lib/*a
55     %{prefix}/include/*
56 cbauer 1.5 %{prefix}/info/*
57 cbauer 1.1 %{prefix}/man/man1/*
58     %{prefix}/share/doc/GiNaC/*
59     %{prefix}/bin/*

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15