5a51f0
Summary: The GNU Scientific Library for numerical analysis
5a51f0
Name: gsl
5a51f0
Version: 1.15
060da1
Release: 13%{?dist}
5a51f0
URL: http://www.gnu.org/software/gsl/
5a51f0
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
5a51f0
Patch0: gsl-1.10-lib64.patch
5a51f0
Patch1: gsl-1.14-link.patch
5a51f0
Patch2: gsl-1.15-atlas.patch
5a51f0
#ode-initval2 upstream patches up to revision 4788
5a51f0
Patch3: gsl-1.15-odeinitval2_upstream_rev4788.patch
5a51f0
# info part of this package is under GFDL license
5a51f0
# eigen/nonsymmv.c and eigen/schur.c
5a51f0
# contains rutiens which are part of LAPACK - under BSD style license
5a51f0
License: GPLv3 and GFDL and BSD
5a51f0
Group: System Environment/Libraries
5a51f0
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5a51f0
BuildRequires: pkgconfig
5a51f0
BuildRequires: atlas-devel
5a51f0
5a51f0
%description
5a51f0
The GNU Scientific Library (GSL) is a collection of routines for
5a51f0
numerical analysis, written in C.
5a51f0
5a51f0
%package devel
5a51f0
Summary: Libraries and the header files for GSL development
5a51f0
Group: Development/Libraries
5a51f0
Requires: %{name} = %{version}-%{release}
5a51f0
Requires(post): /sbin/install-info
5a51f0
Requires(preun): /sbin/install-info 
5a51f0
Requires: pkgconfig, automake
5a51f0
5a51f0
%description devel
5a51f0
The gsl-devel package contains the header files necessary for 
5a51f0
developing programs using the GSL (GNU Scientific Library).
5a51f0
5a51f0
%prep
5a51f0
%setup -q
5a51f0
%patch0 -p1 -b .lib64
5a51f0
%patch1 -p1 -b .libs
5a51f0
%patch2 -p1 -b .atlas
5a51f0
%patch3 -p1 -b .ode
5a51f0
iconv -f windows-1252 -t utf-8 THANKS  > THANKS.aux
5a51f0
touch -r THANKS THANKS.aux
5a51f0
mv THANKS.aux THANKS
5a51f0
5a51f0
%build
5a51f0
%configure CFLAGS="$CFLAGS -fgnu89-inline"
5a51f0
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
5a51f0
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
5a51f0
make %{?_smp_mflags} LDFLAGS="$LDFLAGS -L%{_libdir}/atlas/"
5a51f0
5a51f0
%check
5a51f0
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}:$LD_LIBRARY_PATH
5a51f0
make check
5a51f0
5a51f0
%install
5a51f0
make install DESTDIR=$RPM_BUILD_ROOT install='install -p'
5a51f0
# remove unpackaged files from the buildroot
5a51f0
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
5a51f0
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
5a51f0
# remove static libraries
5a51f0
rm -r $RPM_BUILD_ROOT%{_libdir}/*.a
5a51f0
5a51f0
5a51f0
%post -p /sbin/ldconfig
5a51f0
5a51f0
%postun -p /sbin/ldconfig
5a51f0
5a51f0
%post devel
5a51f0
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
5a51f0
    /sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
5a51f0
fi
5a51f0
5a51f0
%preun devel
5a51f0
if [ "$1" = 0 ]; then
5a51f0
    if [ -f %{_infodir}/gsl-ref.info.gz ]; then
5a51f0
	/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
5a51f0
    fi
5a51f0
fi
5a51f0
5a51f0
%files
5a51f0
%defattr(-,root,root,-)
5a51f0
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
5a51f0
%{_libdir}/*so.*
5a51f0
%{_bindir}/gsl-histogram
5a51f0
%{_bindir}/gsl-randist
5a51f0
%{_mandir}/man1/gsl-histogram.1*
5a51f0
%{_mandir}/man1/gsl-randist.1*
5a51f0
5a51f0
%files devel
5a51f0
%defattr(-,root,root,-)
5a51f0
%doc AUTHORS COPYING
5a51f0
%{_bindir}/gsl-config*
5a51f0
%{_datadir}/aclocal/*
5a51f0
%{_includedir}/*
5a51f0
%{_infodir}/*info*
5a51f0
%{_libdir}/*.so
5a51f0
%{_libdir}/pkgconfig/gsl.pc
5a51f0
%{_mandir}/man1/gsl-config.1*
5a51f0
%{_mandir}/man3/*.3*
5a51f0
5a51f0
%changelog
060da1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.15-13
060da1
- Mass rebuild 2014-01-24
060da1
060da1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.15-12
060da1
- Mass rebuild 2013-12-27
060da1
5a51f0
* Tue Sep 24 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-11
5a51f0
- resolves: #1009067
5a51f0
- linked against atlas 3.10.1
5a51f0
5a51f0
* Wed Jan 30 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-8
5a51f0
- self test moved to %%check section
5a51f0
5a51f0
* Tue Jan 29 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-7
5a51f0
- run self-tests after build
5a51f0
- updated ode-initval2 to upstream revision 4788
5a51f0
5a51f0
* Mon Nov 19 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-6
5a51f0
- minor cleanup of gsl.spec
5a51f0
5a51f0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
5a51f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5a51f0
5a51f0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-4
5a51f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5a51f0
5a51f0
* Tue Sep 27 2011 Peter Schiffer <pschiffe@redhat.com> - 1.15-3
5a51f0
- resolves: #741138
5a51f0
  removed unnecessary Requires: atlas
5a51f0
5a51f0
* Mon May  9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-2
5a51f0
- resolves: #695148
5a51f0
  link gsl against atlas package for blas operations
5a51f0
5a51f0
* Mon May  9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-1
5a51f0
- update to 1.15
5a51f0
5a51f0
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
5a51f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5a51f0
5a51f0
* Wed May  5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.14-1
5a51f0
- update to 1.14
5a51f0
- Resolves: #560219
5a51f0
             Library not linked correctly
5a51f0
5a51f0
* Wed Mar  3 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.13-2
5a51f0
- remove the static subpackage
5a51f0
5a51f0
* Tue Sep 15 2009 Ivana Varekova <varekova@redhat.com> - 1.13-1
5a51f0
- update to 1.13
5a51f0
5a51f0
* Mon Aug 17 2009 Ivana Varekova <varekova@redhat.com> - 1.12-6
5a51f0
- fix preun and post scripts (#517568)
5a51f0
5a51f0
* Mon Aug 10 2009 Ivana Varekova <varekova@redhat.com> - 1.12-5
5a51f0
- fix installation with --excludedocs option (#515971)
5a51f0
5a51f0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
5a51f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5a51f0
5a51f0
* Sat Mar 07 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 1.12-3
5a51f0
- Remove rpaths (fix BZ#487823).
5a51f0
5a51f0
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
5a51f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5a51f0
5a51f0
* Mon Jan 19 2009 Ivana Varekova <varekova@redhat.com> - 1.12-1
5a51f0
- update to 1.12
5a51f0
5a51f0
* Tue Sep 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-4
5a51f0
- Resolves: #462369 - remove %%{_datadir}/aclocal
5a51f0
- add automake dependency
5a51f0
5a51f0
* Mon Jul 28 2008 Ivana Varekova <varekova@redhat.com> - 1.11-3
5a51f0
- add -fgnu89-inline flag to solve gcc4.3 problem 
5a51f0
  remove gcc43 patch
5a51f0
5a51f0
* Wed Jun 18 2008 Ivana Varekova <varekova@redhat.com> - 1.11-2
5a51f0
- Resolves: #451006
5a51f0
  programs build with gcc 4.3 based on gsl require -fgnu89-inline 
5a51f0
5a51f0
* Mon Jun 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-1
5a51f0
- update to 1.11
5a51f0
5a51f0
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.10-10
5a51f0
- Autorebuild for GCC 4.3
5a51f0
5a51f0
* Thu Nov  1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-9
5a51f0
- source file change
5a51f0
- spec cleanup
5a51f0
5a51f0
* Thu Nov  1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-8
5a51f0
- fix man-pages directories
5a51f0
5a51f0
* Tue Oct 30 2007 Ivana Varekova <varekova@redhat.com> - 1.10-7
5a51f0
- add man pages
5a51f0
5a51f0
* Fri Oct 26 2007 Ivana Varekova <varekova@redhat.com> - 1.10-6
5a51f0
- minor spec changes
5a51f0
5a51f0
* Thu Oct 25 2007 Ivana Varekova <varekova@redhat.com> - 1.10-5
5a51f0
- minor spec changes
5a51f0
5a51f0
* Wed Oct 24 2007 Ivana Varekova <varekova@redhat.com> - 1.10-4
5a51f0
- add pkgconfig dependency
5a51f0
- separate static libraries to -static subpackage
5a51f0
- fix gsl-config script - thanks Patrice Dumas
5a51f0
5a51f0
* Tue Sep 23 2007 Ivana Varekova <varekova@redhat.com> - 1.10-3
5a51f0
- remove *.la files
5a51f0
- add pkgconfig configure file
5a51f0
- change source
5a51f0
- spec file cleanup
5a51f0
5a51f0
* Wed Sep 19 2007 Ivana Varekova <varekova@redhat.com> - 1.10-2
5a51f0
- update license tag
5a51f0
5a51f0
* Wed Sep 19 2007 Ivana Varekova <varekova@redhat.com> - 1.10-1
5a51f0
- update to 1.10
5a51f0
- change license tag
5a51f0
5a51f0
* Tue May 22 2007 Ivana Varekova <varekova@redhat.com> - 1.9-1
5a51f0
- update  to 1.9
5a51f0
5a51f0
* Wed Mar 14 2007 Ivana Varekova <varekova@redhat.com> - 1.8-3
5a51f0
- incorporate the package review feedback
5a51f0
5a51f0
* Mon Jan 22 2007 Ivana Varekova <varekova@redhat.com> - 1.8-2
5a51f0
- Resolves: 223700
5a51f0
  fix non-failsafe install-info problem
5a51f0
- spec file cleanup
5a51f0
5a51f0
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8-1.1
5a51f0
- rebuild
5a51f0
5a51f0
* Fri May  5 2006 Ivana Varekova <varekova@redhat.com> - 1.8-1
5a51f0
- update to 1.8
5a51f0
5a51f0
* Fri Mar  3 2006 Ivana Varekova <varekova@redhat.com> - 1.7-2
5a51f0
- fix multilib problem
5a51f0
5a51f0
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.7-1.2.1
5a51f0
- bump again for double-long bug on ppc(64)
5a51f0
5a51f0
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.7-1.2
5a51f0
- rebuilt for new gcc4.1 snapshot and glibc changes
5a51f0
5a51f0
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Thu Nov 10 2005 Ivana Varekova <varekova@redhat.com> 1.7-1
5a51f0
- update to 1.7
5a51f0
5a51f0
* Mon Mar  7 2005 Ivana Varekova <varekova@redhat.com> 1.6-2
5a51f0
- rebuilt
5a51f0
5a51f0
* Thu Jan  6 2005 Ivana Varekova <varekova@redhat.com> 1.6-1
5a51f0
- update to 1.6 
5a51f0
5a51f0
* Wed Dec 15 2004 Ivana Varekova <varekova@redhat.com>
5a51f0
- fix bug #142696 gsl-config outputs invalid flags on multilib 64-bit 
5a51f0
architectures
5a51f0
5a51f0
* Fri Jul 02 2004 Florian La Roche <Florian.LaRoche@redhat.de>
5a51f0
- 1.5
5a51f0
5a51f0
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Thu Aug 21 2003 Florian La Roche <Florian.LaRoche@redhat.de>
5a51f0
- update to 1.4
5a51f0
5a51f0
* Wed Jun 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
5a51f0
- update to 1.3
5a51f0
5a51f0
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
5a51f0
- rebuilt
5a51f0
5a51f0
* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 1.1.1-4
5a51f0
- remove unpackaged files from the buildroot
5a51f0
5a51f0
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
5a51f0
- automated rebuild
5a51f0
5a51f0
* Thu May 23 2002 Tim Powers <timp@redhat.com>
5a51f0
- automated rebuild
5a51f0
5a51f0
* Thu Mar 21 2002 Trond Eivind Glomsrød <teg@redhat.com>
5a51f0
- 1.1.1 bugfix release
5a51f0
- Stop the gsl-config script from printing -I/usr/include 
5a51f0
  and -L/usr/lib (#59500)
5a51f0
5a51f0
5a51f0
* Wed Feb 27 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1-1
5a51f0
- 1.1
5a51f0
- Update URL and location
5a51f0
5a51f0
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
5a51f0
- automated rebuild
5a51f0
5a51f0
* Thu Dec 13 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.0-1
5a51f0
- 1.0
5a51f0
- Split into gsl and gsl-devel
5a51f0
- update description (#56926)
5a51f0
5a51f0
* Thu Jul 19 2001 Preston Brown <pbrown@redhat.com>
5a51f0
- upgrade to 0.9
5a51f0
5a51f0
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
5a51f0
- Bump release + rebuild.
5a51f0
5a51f0
* Thu Jan 18 2001 Preston Brown <pbrown@redhat.com>
5a51f0
- prereq install-info (#24250)
5a51f0
5a51f0
* Mon Dec 11 2000 Preston Brown <pbrown@redhat.com>
5a51f0
- 0.7, remove excludearch for ia64
5a51f0
5a51f0
* Sun Jul 30 2000 Florian La Roche <Florian.LaRoche@redhat.de>
5a51f0
- fix %%post to be a real shell and add ldconfig to %%post
5a51f0
5a51f0
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
5a51f0
- automatic rebuild
5a51f0
5a51f0
* Mon Jun 19 2000 Preston Brown <pbrown@redhat.com>
5a51f0
- don't include the info dir file...
5a51f0
5a51f0
* Sat Jun 17 2000 Bill Nottingham <notting@redhat.com>
5a51f0
- add %%defattr
5a51f0
5a51f0
* Mon Jun 12 2000 Preston Brown <pbrown@redhat.com>
5a51f0
- 0.6, FHS paths
5a51f0
- exclude ia64, it is having issues
5a51f0
5a51f0
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
5a51f0
- auto rebuild in the new build environment (release 2)
5a51f0
5a51f0
* Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
5a51f0
- update to 0.3f
5a51f0
- add patches to fix glibc-2.1 compilation, doc oddity
5a51f0
5a51f0
* Thu Feb 25 1999 Bill Nottingham <notting@redhat.com>
5a51f0
- new summary/description, work around automake oddity
5a51f0
5a51f0
* Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com>
5a51f0
- libtoolize for arm
5a51f0
5a51f0
* Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com>
5a51f0
- spec file fixups
5a51f0
5a51f0
* Sat May 9 1998 Michael Fulbright <msf@redhat.com>
5a51f0
- started with package for gmp from Toshio Kuratomi <toshiok@cats.ucsc.edu>
5a51f0
- cleaned up file list
5a51f0
- fixed up install-info support