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

Diff of /GiNaC.spec.in

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

revision 1.16 by cbauer, Thu Oct 5 15:48:34 2000 UTC revision 1.17 by cbauer, Tue Oct 10 20:40:48 2000 UTC
# Line 10  Copyright: GPL Line 10  Copyright: GPL
10  Group: System Environment/Libraries  Group: System Environment/Libraries
11  Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.gz  Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.gz
12  URL: http://www.ginac.de/  URL: http://www.ginac.de/
13    Packager: Christian Bauer <cbauer@ginac.de>
14  Prereq: /sbin/install-info  Prereq: /sbin/install-info
 #Requires: cln  
15  BuildRoot: %{_tmppath}/%{name}-root  BuildRoot: %{_tmppath}/%{name}-root
16  Prefix: %{_prefix}  Prefix: %{_prefix}
17    
18    Requires: cln >= 1.0.3
19    
20  %description  %description
21  GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an  GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
22  open framework for symbolic computation within the C++ programming language.  open framework for symbolic computation within the C++ programming language.
# Line 26  easy-to-use CAS-like interface to GiNaC Line 28  easy-to-use CAS-like interface to GiNaC
28  %package devel  %package devel
29  Summary: Libraries, includes and more to develop GiNaC applications  Summary: Libraries, includes and more to develop GiNaC applications
30  Group: Development/Libraries  Group: Development/Libraries
31  Requires: %{name}  Requires: %{name} = %{version}
32    
33  %description devel  %description devel
34  GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an  GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra System)") is an
# Line 40  develop GiNaC applications. Line 42  develop GiNaC applications.
42  %setup -q  %setup -q
43    
44  %build  %build
45  ./configure --prefix=%{_prefix}  CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir}
46  if [ -x /usr/bin/getconf ] ; then  if [ -x /usr/bin/getconf ] ; then
47    NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)    NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
48    if [ $NCPU -eq 0 ] ; then    if [ $NCPU -eq 0 ] ; then
# Line 55  make Line 57  make
57    
58  %install  %install
59  rm -rf ${RPM_BUILD_ROOT}  rm -rf ${RPM_BUILD_ROOT}
60  mkdir -p ${RPM_BUILD_ROOT}%{_infodir}  make DESTDIR=${RPM_BUILD_ROOT} install-strip
 make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install  
61  gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*  gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
62    
63  %clean  %clean
# Line 73  rm -rf ${RPM_BUILD_ROOT} Line 74  rm -rf ${RPM_BUILD_ROOT}
74    
75  %preun devel  %preun devel
76  if [ "$1" = 0 ]; then  if [ "$1" = 0 ]; then
77    /sbin/install-info --del %{_infodir}/ginac.info.gz %{_infodir}/dir    /sbin/install-info --delete %{_infodir}/ginac.info.gz %{_infodir}/dir
78  fi  fi
79    
80  %files  %files
# Line 90  fi Line 91  fi
91  %{_libdir}/*.a  %{_libdir}/*.a
92  %{_libdir}/*.la  %{_libdir}/*.la
93  %{_libdir}/*.so  %{_libdir}/*.so
94  %{_includedir}/*  %{_includedir}/*.h
95  %{_infodir}/*.info*  %{_infodir}/*.info*
96  %{_mandir}/man1/ginac-config.1  %{_mandir}/man1/ginac-config.1
97  %{_bindir}/ginac-config  %{_bindir}/ginac-config

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

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