]> git.pld-linux.org Git - packages/gsl.git/commitdiff
- spec adapterized.
authorkloczek <kloczek@pld-linux.org>
Sat, 20 May 2000 13:53:44 +0000 (13:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gsl.spec -> 1.12

gsl.spec

index 93e5fc5de9c9da51ab2beeb36f01a69912f68c63..374fea5a051c9f733ae0931b28c806b249e48f71 100644 (file)
--- a/gsl.spec
+++ b/gsl.spec
@@ -1,31 +1,32 @@
-Summary:       The GNU Scientific Library for numerical analysis.
+Summary:       The GNU Scientific Library for numerical analysis
 Name:          gsl
 Version:       0.5
 Release:       1
-URL:           http://www.gnu.org
-#Source:       ftp://nis-ftp.lanl.gov/pub/users/rosalia/%{name}-%{version}.tar.gz
-Source:                ftp://sourceware.cygnus.com/pub/gsl/%{name}-%{version}.tar.gz
-Source2:       ftp://sourceware.cygnus.com/pub/gsl/%{name}-ref.ps.gz
-#Patch:                gsl-0.3b-errlib.patch
-#Patch1:               gsl-glibc21.patch
-#Patch2:               gsl-foo.patch
 License:       GPL
-Group:         System Environment/Libraries
+Group:         Libraries
 Group(pl):     Biblioteki
+Source0:       ftp://nis-ftp.lanl.gov/pub/users/rosalia/%{name}-%{version}.tar.gz
+Source0:       ftp://sourceware.cygnus.com/pub/gsl/%{name}-%{version}.tar.gz
+Source2:       ftp://sourceware.cygnus.com/pub/gsl/%{name}-ref.ps.gz
+Patch0:                gsl-0.3b-errlib.patch
+#Patch1:       gsl-glibc21.patch
+#Patch2:       gsl-foo.patch
+URL:           http://www.gnu.org/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _prefix /usr
 
 %description
-The gsl package includes the GNU Scientific Library (GSL).  The GSL is a 
-collection of routines for numerical analysis, written in C.  The GSL is in 
-alpha development.  It now includes a random number suite, an FFT package, 
-simulated annealing and root finding.  In the future, it will include 
-numerical and Monte Carlo integration and special functions. Linking 
-against the GSL allows programs to access functions which can handle many 
-of the problems encountered in scientific computing.  Install the gsl 
-package if you need a library for high-level scientific numerical analysis. 
-  
+The gsl package includes the GNU Scientific Library (GSL). The GSL is
+a collection of routines for numerical analysis, written in C. The GSL
+is in alpha development. It now includes a random number suite, an FFT
+package, simulated annealing and root finding. In the future, it will
+include numerical and Monte Carlo integration and special functions.
+Linking against the GSL allows programs to access functions which can
+handle many of the problems encountered in scientific computing.
+Install the gsl package if you need a library for high-level
+scientific numerical analysis.
+
 %prep
 %setup -q
 #%patch -p1
@@ -40,27 +41,26 @@ make CFLAGS="${RPM_OPT_FLAGS}"
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d ${RPM_BUILD_ROOT}{%{_libdir},%{_infodir},%{_includedir}}
-install -d $RPM_BUILD_ROOT%{_docdir}/%name-%version
+install -d ${RPM_BUILD_ROOT}{%{_libdir},%{_infodir},%{_includedir}} \
+       $RPM_BUILD_ROOT%{_docdir}/%name-%version
 
-make DESTDIR=$RPM_BUILD_ROOT CFLAGS="${RPM_OPT_FLAGS}" \
-    infodir=%{_datadir}/info install
+make install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       infodir=%{_infodir}
 
 strip $RPM_BUILD_ROOT%{_bindir}/{gsl-h*,gsl-r*}
 
 install %{SOURCE2} $RPM_BUILD_DIR/%name-%version
 
-gzip -9 {AUTHORS,ChangeLog,NEWS,README,KNOWN-PROBLEMS,THANKS,TODO}
-gzip -9 $RPM_BUILD_ROOT%{_infodir}/*.inf*
+gzip -9nf {AUTHORS,ChangeLog,NEWS,README,KNOWN-PROBLEMS,THANKS,TODO} \
+       $RPM_BUILD_ROOT%{_infodir}/*.inf*
 
 %post
 /sbin/ldconfig
-
 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
 /sbin/ldconfig
-
 [ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
@@ -70,7 +70,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc {AUTHORS,ChangeLog,KNOWN-PROBLEMS,README,NEWS,THANKS,gsl-ref.ps}.gz 
 %attr(755,root,root) %{_bindir}/gsl-*
-%attr(644,root,root) %{_includedir}/gsl/*.h
-%attr(644,root,root) %{_libdir}/gsl/libgsl*.a
-%attr(644,root,root) %{_libdir}/gsl/libutils.a
-%attr(644,root,root) %{_infodir}/gsl*.gz
+%{_includedir}/gsl/*.h
+%{_libdir}/gsl/libgsl*.a
+%{_libdir}/gsl/libutils.a
+%{_infodir}/gsl*.gz
This page took 0.061529 seconds and 4 git commands to generate.