]> www.ginac.de Git - ginac.git/blobdiff - GiNaC.spec.in
fderivative wasn't printed correctly
[ginac.git] / GiNaC.spec.in
index 7f87be65ac423b4416c0ddfe7d72ad80fe061860..4fef8ab71e9884c659e7f7d93e2f22647e73e84c 100644 (file)
@@ -21,12 +21,9 @@ Requires: cln >= 1.1
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
-It includes the ginsh ("GiNaC interactive shell") which provides a simple and
-easy-to-use CAS-like interface to GiNaC for non-programmers.
-
 
 %package devel
 
 %package devel
-Summary: Libraries, includes and more to develop GiNaC applications
+Summary: GiNaC development libraries and header files
 Group: Development/Libraries
 Requires: %{name} = %{version}
 
 Group: Development/Libraries
 Requires: %{name} = %{version}
 
@@ -34,8 +31,22 @@ Requires: %{name} = %{version}
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
 GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
 open framework for symbolic computation within the C++ programming language.
 
-This is the libraries, include files and other resources you can use to
-develop GiNaC applications.
+This package contains the libraries, include files and other resources you
+use to develop GiNaC applications.
+
+
+%package utils
+Summary: GiNaC-related utilities
+Group: System Environment/Libraries
+Requires: %{name} = %{version}
+
+%description utils
+GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
+open framework for symbolic computation within the C++ programming language.
+
+This package includes the ginsh ("GiNaC interactive shell") which provides a
+simple and easy-to-use CAS-like interface to GiNaC for non-programmers, and
+the tool "viewgar" which displays the contents of GiNaC archives.
 
 
 %prep
 
 
 %prep
@@ -51,14 +62,14 @@ if [ -x /usr/bin/getconf ] ; then
 else  
   NCPU=1
 fi
 else  
   NCPU=1
 fi
-PARL=$[ $NCPU + 1 ]
-(make -k -j $PARL; exit 0)
+(make -k -j $NCPU; exit 0)
 make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
 make DESTDIR=${RPM_BUILD_ROOT} install
 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
 make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
 make DESTDIR=${RPM_BUILD_ROOT} install
 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
+rm ${RPM_BUILD_ROOT}%{_infodir}/dir
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}
@@ -81,10 +92,6 @@ fi
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_libdir}/*.so.*
 %defattr(-,root,root)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %{_libdir}/*.so.*
-%{_bindir}/ginsh
-%{_bindir}/viewgar
-%{_mandir}/man1/ginsh.1*
-%{_mandir}/man1/viewgar.1*
 
 %files devel
 %defattr(-,root,root)
 
 %files devel
 %defattr(-,root,root)
@@ -97,7 +104,17 @@ fi
 %{_bindir}/ginac-config
 %{_datadir}/aclocal/*
 
 %{_bindir}/ginac-config
 %{_datadir}/aclocal/*
 
+%files utils
+%defattr(-,root,root)
+%{_bindir}/ginsh
+%{_bindir}/viewgar
+%{_mandir}/man1/ginsh.1*
+%{_mandir}/man1/viewgar.1*
+
 %changelog
 %changelog
+* Thu Nov  1 2001 Christian Bauer <Christian.Bauer@uni-mainz.de>
+- moved ginsh and viewgar to "utils" package
+
 * Thu Oct  5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
 - cleaned up a bit
 
 * Thu Oct  5 2000 Christian Bauer <Christian.Bauer@uni-mainz.de>
 - cleaned up a bit