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

Diff of /GiNaC.spec.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by cbauer, Sat Nov 27 14:52:06 1999 UTC revision 1.15 by cbauer, Tue Feb 8 15:18:22 2000 UTC
# Line 1  Line 1 
1  # spec file for GiNaC (not relocatable)  %define name @PACKAGE@
2    %define version @VERSION@
3  %define ver @VERSION@  %define release 1
4  %define rel 1  
5  %define prefix /usr  Summary: C++ library for symbolic calculations
6    Name: %{name}
7  Summary: C++ library for symbolic mathematical calculations  Version: %{version}
8  Name: GiNaC  Release: %{release}
 Version: %ver  
 Release: %rel  
9  Copyright: GPL  Copyright: GPL
10  Group: Libraries  Group: System Environment/Libraries
11  Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/GiNaC-%{ver}.tar.gz  Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.gz
12  BuildRoot: /tmp/GiNaC-%{PACKAGE_VERSION}-root  BuildRoot: /tmp/%{name}-buildroot
13  Packager: Christian Bauer <Christian.Bauer@uni-mainz.de>  Packager: Christian Bauer <Christian.Bauer@uni-mainz.de>
14  URL: http://www.ginac.de/  URL: http://www.ginac.de/
15  Prereq: install-info  Prereq: /sbin/install-info
16    Prefix: %{_prefix}
17  Docdir: %{prefix}/doc  Docdir: %{prefix}/doc
18    
19  %description  %description
20  GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a  GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
21  C++ library for symbolic mathematical calculations. It is designed to allow  open framework for symbolic computation within the C++ programming language.
22  the creation of integrated systems that embed symbolic manipulations together  
23  with more established areas of computer science (like computation-intense  It includes the ginsh ("GiNaC interactive shell") which provides a simple and
24  numeric applications, graphical interfaces, etc.) under one roof.  easy-to-use CAS-like interface to GiNaC for non-programmers.
25    
26    
27    %package devel
28    Summary: Libraries, includes and more to develop GiNaC applications
29    Group: Development/Libraries
30    Requires: %{name}
31    
32    %description devel
33    GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
34    open framework for symbolic computation within the C++ programming language.
35    
36    This is the libraries, include files and other resources you can use to
37    develop GiNaC applications.
38    
39    
40  %prep  %prep
41  %setup  rm -rf $RPM_BUILD_ROOT
42    
43    %setup -q
44    
45  %build  %build
46  CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix  CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
47  if [ "$SMP" != "" ]; then  if [ "$SMP" != "" ]; then
48    (make "MAKE=make -k -j $SMP"; exit 0)    (make "MAKE=make -k -j $SMP"; exit 0)
49    make    make
# Line 38  fi Line 53  fi
53    
54  %install  %install
55  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
56  make prefix=$RPM_BUILD_ROOT%{prefix} install  make prefix=$RPM_BUILD_ROOT/%{prefix} install-strip
 gzip -9n $RPM_BUILD_ROOT%{prefix}/info/*  
57    
58  %clean  %clean
59  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
60    
61  %post -p /sbin/ldconfig  %post
62  install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir  /sbin/ldconfig
63    
64  %postun -p /sbin/ldconfig  %postun
65    /sbin/ldconfig
66    
67  %preun  %post devel
68  install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir  /sbin/install-info %{prefix}/info/ginac.info %{prefix}/info/dir
69    
70    %preun devel
71    /sbin/install-info --delete %{prefix}/info/ginac.info %{prefix}/info/dir
72    
73  %files  %files
74  %defattr(-, root, root)  %defattr(-, root, root)
75  %doc AUTHORS COPYING ChangeLog NEWS README  %doc AUTHORS COPYING ChangeLog NEWS README
76  %{prefix}/lib/lib*.so*  %{prefix}/lib/*.so.*
77  %{prefix}/lib/*a  %{prefix}/man/man1/ginsh.1
78    %{prefix}/man/man1/viewgar.1
79    %{prefix}/bin/ginsh
80    %{prefix}/bin/viewgar
81    
82    %files devel
83    %defattr(-, root, root)
84    %doc AUTHORS COPYING ChangeLog NEWS README
85    %{prefix}/lib/*.a
86    %{prefix}/lib/*.la
87    %{prefix}/lib/*.so
88  %{prefix}/include/*  %{prefix}/include/*
89  %{prefix}/info/ginac.info*  %{prefix}/info/*info*
90  %{prefix}/man/man1/*  %{prefix}/man/man1/*-config.1
91  %{prefix}/share/doc/GiNaC/*  %{prefix}/bin/*-config
92  %{prefix}/bin/*  %{prefix}/share/doc/%{name}/*
93    %{prefix}/share/aclocal/*
94    
95    %changelog
96    * Wed Jan 26 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
97    
98    - split into user and devel packages
99    
100    * Wed Dec  1 1999 Christian Bauer <Christian.Bauer@uni-mainz.de>
101    
102    - aclocal macros get installed

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.15

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