2007-01-22 14:35:59 +00:00
|
|
|
Summary: The GNU Scientific Library for numerical analysis
|
2004-09-09 05:53:04 +00:00
|
|
|
Name: gsl
|
2007-09-19 08:10:08 +00:00
|
|
|
Version: 1.10
|
2007-10-23 11:09:30 +00:00
|
|
|
Release: 3%{?dist}
|
|
|
|
URL: http://www.gnu.org/software/gsl/
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
2004-09-09 05:54:00 +00:00
|
|
|
Patch0: gsl-1.1-nousr.patch
|
2007-09-19 08:08:21 +00:00
|
|
|
Patch1: gsl-1.10-lib64.patch
|
2007-08-27 10:06:22 +00:00
|
|
|
# info part of this package is under GFDL license
|
|
|
|
# eigen/nonsymmv.c and eigen/schur.c
|
|
|
|
# contains rutiens which are part of LAPACK - under BSD style license
|
2007-09-19 10:32:50 +00:00
|
|
|
License: GPLv3 and GFDL and BSD license
|
2004-09-09 05:53:04 +00:00
|
|
|
Group: System Environment/Libraries
|
2007-03-14 14:57:17 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%description
|
2004-09-09 05:53:57 +00:00
|
|
|
The GNU Scientific Library (GSL) is a collection of routines for
|
2007-10-23 11:09:30 +00:00
|
|
|
numerical analysis, written in C.
|
2004-09-09 05:53:04 +00:00
|
|
|
|
2004-09-09 05:53:57 +00:00
|
|
|
%package devel
|
2007-03-14 14:57:17 +00:00
|
|
|
Summary: Static libraries and header files for GSL development
|
2004-09-09 05:53:57 +00:00
|
|
|
Group: Development/Libraries
|
2007-03-14 14:57:17 +00:00
|
|
|
Requires: gsl = %{version}-%{release}
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
2004-09-09 05:53:57 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
The gsl-devel package contains the header files and static libraries
|
|
|
|
necessary for developing programs using the GSL (GNU Scientific
|
|
|
|
Library).
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-12-15 12:33:48 +00:00
|
|
|
%patch0 -p1 -b .nousr
|
|
|
|
%patch1 -p1 -b .lib64
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2007-03-14 14:57:17 +00:00
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%install
|
2007-03-14 14:57:17 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 05:53:04 +00:00
|
|
|
|
2004-09-09 05:54:41 +00:00
|
|
|
# remove unpackaged files from the buildroot
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}
|
2007-10-23 11:09:30 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
|
2004-09-09 05:54:41 +00:00
|
|
|
|
2007-10-23 11:09:30 +00:00
|
|
|
gslcsuffix=`echo "%{_lib}" `
|
2006-03-03 12:28:38 +00:00
|
|
|
mv $RPM_BUILD_ROOT%{_bindir}/gsl-config $RPM_BUILD_ROOT%{_bindir}/gsl-config-$gslcsuffix
|
|
|
|
cat > $RPM_BUILD_ROOT%{_bindir}/gsl-config << EOF
|
|
|
|
#!/bin/sh
|
2007-10-23 11:09:30 +00:00
|
|
|
# this construction is necessary to avoid a multilib problem
|
|
|
|
# if a 64 bit version of gsl is installed, it will be used,
|
|
|
|
# otherwise a 32 bit version will be linked
|
2006-03-03 12:28:38 +00:00
|
|
|
if [ -e %{_bindir}/gsl-config-lib64 ]; then
|
|
|
|
exec %{_bindir}/gsl-config-lib64 "\$@"
|
|
|
|
elif [ -e %{_bindir}/gsl-config-* ]; then
|
|
|
|
gslcfile="\`ls %{_bindir}/gsl-config-* | head -n1\`"
|
|
|
|
exec \$gslcfile "\$@"
|
|
|
|
fi
|
|
|
|
EOF
|
|
|
|
chmod 755 $RPM_BUILD_ROOT%{_bindir}/gsl-config
|
|
|
|
|
|
|
|
|
2004-09-09 05:53:57 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2004-09-09 05:53:57 +00:00
|
|
|
%post devel
|
2007-01-22 14:35:59 +00:00
|
|
|
/sbin/install-info %{_infodir}/gsl-ref.info.gz %{_infodir}/dir || :
|
2004-09-09 05:53:57 +00:00
|
|
|
|
|
|
|
%preun devel
|
2004-09-09 05:53:04 +00:00
|
|
|
if [ "$1" = 0 ]; then
|
2007-01-22 14:35:59 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/gsl-ref.info.gz %{_infodir}/dir || :
|
2004-09-09 05:53:04 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
2007-10-23 11:09:30 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 05:55:04 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
2004-09-09 05:53:57 +00:00
|
|
|
%{_libdir}/*so.*
|
|
|
|
%{_bindir}/gsl-histogram
|
|
|
|
%{_bindir}/gsl-randist
|
|
|
|
|
|
|
|
%files devel
|
2007-03-14 14:57:17 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 05:53:57 +00:00
|
|
|
%doc AUTHORS COPYING
|
2006-03-03 12:28:38 +00:00
|
|
|
%{_bindir}/gsl-config*
|
2004-09-09 05:53:04 +00:00
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_infodir}/*info*
|
2004-09-09 05:53:57 +00:00
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.so
|
2007-10-23 11:09:30 +00:00
|
|
|
%{_libdir}/pkgconfig/gsl.pc
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-10-23 11:09:30 +00:00
|
|
|
* Tue Sep 23 2007 Ivana Varekova <varekova@redhat.com> - 1.10-3
|
|
|
|
- remove *.la files
|
|
|
|
- add pkgconfig configure file
|
|
|
|
- change source
|
|
|
|
- spec file cleanup
|
|
|
|
|
2007-09-19 10:32:50 +00:00
|
|
|
* Wed Sep 19 2007 Ivana Varekova <varekova@redhat.com> - 1.10-2
|
|
|
|
- update license tag
|
|
|
|
|
2007-09-19 08:08:21 +00:00
|
|
|
* Wed Sep 19 2007 Ivana Varekova <varekova@redhat.com> - 1.10-1
|
|
|
|
- update to 1.10
|
|
|
|
- change license tag
|
|
|
|
|
2007-05-22 10:29:33 +00:00
|
|
|
* Tue May 22 2007 Ivana Varekova <varekova@redhat.com> - 1.9-1
|
|
|
|
- update to 1.9
|
|
|
|
|
2007-03-14 14:57:17 +00:00
|
|
|
* Wed Mar 14 2007 Ivana Varekova <varekova@redhat.com> - 1.8-3
|
|
|
|
- incorporate the package review feedback
|
|
|
|
|
2007-01-22 14:35:59 +00:00
|
|
|
* Mon Jan 22 2007 Ivana Varekova <varekova@redhat.com> - 1.8-2
|
|
|
|
- Resolves: 223700
|
|
|
|
fix non-failsafe install-info problem
|
|
|
|
- spec file cleanup
|
|
|
|
|
2006-07-12 06:14:56 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8-1.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-05-05 13:54:23 +00:00
|
|
|
* Fri May 5 2006 Ivana Varekova <varekova@redhat.com> - 1.8-1
|
|
|
|
- update to 1.8
|
|
|
|
|
2006-03-03 12:28:38 +00:00
|
|
|
* Fri Mar 3 2006 Ivana Varekova <varekova@redhat.com> - 1.7-2
|
|
|
|
- fix multilib problem
|
|
|
|
|
2006-02-11 03:21:03 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:04:45 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:40:49 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-10 11:09:42 +00:00
|
|
|
* Thu Nov 10 2005 Ivana Varekova <varekova@redhat.com> 1.7-1
|
|
|
|
- update to 1.7
|
|
|
|
|
2005-03-07 10:02:55 +00:00
|
|
|
* Mon Mar 7 2005 Ivana Varekova <varekova@redhat.com> 1.6-2
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Jan 6 2005 Ivana Varekova <varekova@redhat.com> 1.6-1
|
2005-01-06 12:20:18 +00:00
|
|
|
- update to 1.6
|
|
|
|
|
2004-12-15 12:33:48 +00:00
|
|
|
* Wed Dec 15 2004 Ivana Varekova <varekova@redhat.com>
|
|
|
|
- fix bug #142696 gsl-config outputs invalid flags on multilib 64-bit
|
|
|
|
architectures
|
|
|
|
|
2004-09-09 05:55:58 +00:00
|
|
|
* Fri Jul 02 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- 1.5
|
|
|
|
|
2004-09-09 05:55:43 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:55:36 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:55:04 +00:00
|
|
|
* Thu Aug 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 1.4
|
|
|
|
|
|
|
|
* Wed Jun 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 1.3
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:54:41 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1.1.1-4
|
|
|
|
- remove unpackaged files from the buildroot
|
|
|
|
|
2004-09-09 05:54:13 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 05:54:09 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2007-01-22 14:35:59 +00:00
|
|
|
* Thu Mar 21 2002 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 05:54:00 +00:00
|
|
|
- 1.1.1 bugfix release
|
|
|
|
- Stop the gsl-config script from printing -I/usr/include
|
|
|
|
and -L/usr/lib (#59500)
|
|
|
|
|
|
|
|
|
2007-01-22 14:35:59 +00:00
|
|
|
* Wed Feb 27 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1-1
|
2004-09-09 05:53:57 +00:00
|
|
|
- 1.1
|
|
|
|
- Update URL and location
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2007-01-22 14:35:59 +00:00
|
|
|
* Thu Dec 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.0-1
|
2004-09-09 05:53:57 +00:00
|
|
|
- 1.0
|
|
|
|
- Split into gsl and gsl-devel
|
|
|
|
- update description (#56926)
|
|
|
|
|
2004-09-09 05:53:45 +00:00
|
|
|
* Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- upgrade to 0.9
|
|
|
|
|
2004-09-09 05:53:42 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 05:53:36 +00:00
|
|
|
* Thu Jan 18 2001 Preston Brown <pbrown@redhat.com>
|
|
|
|
- prereq install-info (#24250)
|
|
|
|
|
|
|
|
* Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- 0.7, remove excludearch for ia64
|
|
|
|
|
2004-09-09 05:53:04 +00:00
|
|
|
* Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
2004-09-09 05:54:41 +00:00
|
|
|
- fix %%post to be a real shell and add ldconfig to %%post
|
2004-09-09 05:53:04 +00:00
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- don't include the info dir file...
|
|
|
|
|
|
|
|
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- add %%defattr
|
|
|
|
|
|
|
|
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- 0.6, FHS paths
|
|
|
|
- exclude ia64, it is having issues
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 2)
|
|
|
|
|
|
|
|
* Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- update to 0.3f
|
|
|
|
- add patches to fix glibc-2.1 compilation, doc oddity
|
|
|
|
|
|
|
|
* Thu Feb 25 1999 Bill Nottingham <notting@redhat.com>
|
|
|
|
- new summary/description, work around automake oddity
|
|
|
|
|
|
|
|
* Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- libtoolize for arm
|
|
|
|
|
|
|
|
* Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- spec file fixups
|
|
|
|
|
|
|
|
* Sat May 9 1998 Michael Fulbright <msf@redhat.com>
|
|
|
|
- started with package for gmp from Toshio Kuratomi <toshiok@cats.ucsc.edu>
|
|
|
|
- cleaned up file list
|
|
|
|
- fixed up install-info support
|