175b60
Summary: The GNU Scientific Library for numerical analysis
175b60
Name: gsl
175b60
Version: 2.6
401201
Release: 7%{?dist}
175b60
URL: http://www.gnu.org/software/gsl/
175b60
License: GPLv3+
175b60
Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
175b60
Patch0: gsl-1.10-lib64.patch
175b60
# http://lists.gnu.org/archive/html/bug-gsl/2015-12/msg00012.html
175b60
Patch1: gsl-tol.patch
175b60
Patch2: gsl-test.patch
175b60
175b60
BuildRequires: gcc
175b60
BuildRequires: pkgconfig
175b60
BuildRequires: make
175b60
175b60
%description
175b60
The GNU Scientific Library (GSL) is a collection of routines for
175b60
numerical analysis, written in C.
175b60
175b60
%package devel
175b60
Summary: Libraries and the header files for GSL development
175b60
Requires: %{name}%{?_isa} = %{version}-%{release}
175b60
Requires: pkgconfig
175b60
Requires: automake
175b60
175b60
%description devel
175b60
The gsl-devel package contains the header files necessary for 
175b60
developing programs using the GSL (GNU Scientific Library).
175b60
175b60
%prep
175b60
%setup -q
175b60
%patch0 -p1 -b .lib64
175b60
%patch1 -p1 -b .tol
175b60
%patch2 -p1 -b .test
175b60
175b60
iconv -f windows-1252 -t utf-8 THANKS  > THANKS.aux
175b60
touch -r THANKS THANKS.aux
175b60
mv THANKS.aux THANKS
175b60
175b60
%build
175b60
# disable FMA
175b60
%ifarch aarch64 ppc64 ppc64le s390 s390x
175b60
export CFLAGS="%{optflags} -ffp-contract=off"
175b60
%endif
175b60
%configure
175b60
%make_build
175b60
175b60
%check
175b60
make check || ( cat */test-suite.log && exit 1 )
175b60
175b60
%install
175b60
%make_install
175b60
# remove unpackaged files from the buildroot
175b60
rm -rf %{buildroot}%{_infodir}/dir
175b60
rm -f %{buildroot}%{_libdir}/*.la
175b60
# remove static libraries
175b60
rm -r %{buildroot}%{_libdir}/*.a
175b60
175b60
%ldconfig_scriptlets
175b60
175b60
%files
175b60
%license COPYING
175b60
%doc AUTHORS ChangeLog NEWS README THANKS TODO
175b60
%{_bindir}/gsl-histogram
175b60
%{_bindir}/gsl-randist
175b60
%{_libdir}/libgsl.so.25*
175b60
%{_libdir}/libgslcblas.so.0*
175b60
%{_mandir}/man1/gsl-histogram.1*
175b60
%{_mandir}/man1/gsl-randist.1*
175b60
175b60
%files devel
175b60
%{_bindir}/gsl-config
175b60
%{_libdir}/libgsl.so
175b60
%{_libdir}/libgslcblas.so
175b60
%{_libdir}/pkgconfig/gsl.pc
175b60
%{_mandir}/man1/gsl-config.1*
175b60
%{_mandir}/man3/gsl.3*
175b60
%{_infodir}/gsl-ref.info*
175b60
%{_datadir}/aclocal/gsl.m4
175b60
%{_includedir}/gsl/
175b60
175b60
%changelog
401201
* Thu Feb  3 2022 Pavel Cahyna <pcahyna@redhat.com> - 2.6-7
401201
- Rebuilt with no changes to get the -devel package to CRB.
401201
  Resolves: rhbz#2035401
401201
175b60
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.6-6
175b60
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
175b60
  Related: rhbz#1991688
175b60
175b60
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6-5
175b60
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
175b60
175b60
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
175b60
175b60
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
175b60
175b60
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
175b60
175b60
* Tue Aug 20 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.6-1
175b60
- Update to 2.6.
175b60
175b60
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
175b60
175b60
* Tue Jun 11 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.5-1
175b60
- Update to 2.5.
175b60
- Updated license tag (the license that applies to the binaries) to GPLv3+.
175b60
- Bring spec file up to date by relying on recommended macros in build phase.
175b60
- Arched requires for base package in gsl-devel.
175b60
175b60
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-8
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
175b60
175b60
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
175b60
175b60
* Sat Jun 30 2018 Christian Dersch <lupinix@mailbox.org> - 2.4-6
175b60
- Rebuilt, next try
175b60
175b60
* Wed Feb 28 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.4-5
175b60
- Added gcc buildrequires.
175b60
175b60
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-4
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
175b60
175b60
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-3
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
175b60
175b60
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
175b60
175b60
* Wed Jul 12 2017 Arthur Mello <amello@redhat.com> - 2.4-1
175b60
- Update to 2.4
175b60
175b60
* Tue Feb 14 2017 Frantisek Kluknavsky <fkluknav@redhat.com> - 2.3-1
175b60
- rebase to 2.3
175b60
175b60
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-5
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
175b60
175b60
* Thu Mar 10 2016 Than Ngo <than@redhat.com> - 2.1-4
175b60
- fix build failure on powerpc
175b60
175b60
* Fri Feb 26 2016 Dan Horák <dan[at]danny.cz> - 2.1-3
175b60
- Disable FMA also on ppc64(le) and s390(x)
175b60
175b60
* Tue Feb 23 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.1-2
175b60
- Disable FMA on AArch64 to lower precision so tests do not fail.
175b60
175b60
* Sun Feb 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-1
175b60
- Update to 2.1
175b60
175b60
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-18
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
175b60
175b60
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-17
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
175b60
175b60
* Mon Dec 08 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-16
175b60
- Drop linkage patch: libgsl should not link to libgslcblas,
175b60
  so that more efficient libraries can be used (BZ #1007058).
175b60
175b60
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-15
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
175b60
175b60
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-14
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
175b60
175b60
* Mon Apr 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.16-13
175b60
- Add upstream patch which fixes FTBFS on aarch64
175b60
175b60
* Sat Feb 15 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-12
175b60
- Drop ATLAS linkage patch: by design, the CBLAS library must be
175b60
  defined at link time to allow use of more optimized implementations.
175b60
  (BZ #1007058).
175b60
175b60
* Tue Oct 1 2013 Orion Poplawski <orion@cora.nwra.com> - 1.16-11
175b60
- Update to 1.16
175b60
- Rebase atlas patch
175b60
- Drop upstreamed ode patch
175b60
175b60
* Sat Sep 21 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-10
175b60
- linked against atlas 3.10
175b60
175b60
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-9
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
175b60
175b60
* Wed Jan 30 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-8
175b60
- self test moved to %%check section
175b60
175b60
* Tue Jan 29 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-7
175b60
- run self-tests after build
175b60
- updated ode-initval2 to upstream revision 4788
175b60
175b60
* Mon Nov 19 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-6
175b60
- minor cleanup of gsl.spec
175b60
175b60
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
175b60
175b60
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-4
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
175b60
175b60
* Tue Sep 27 2011 Peter Schiffer <pschiffe@redhat.com> - 1.15-3
175b60
- resolves: #741138
175b60
  removed unnecessary Requires: atlas
175b60
175b60
* Mon May  9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-2
175b60
- resolves: #695148
175b60
  link gsl against atlas package for blas operations
175b60
175b60
* Mon May  9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-1
175b60
- update to 1.15
175b60
175b60
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
175b60
175b60
* Wed May  5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.14-1
175b60
- update to 1.14
175b60
- Resolves: #560219
175b60
             Library not linked correctly
175b60
175b60
* Wed Mar  3 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.13-2
175b60
- remove the static subpackage
175b60
175b60
* Tue Sep 15 2009 Ivana Varekova <varekova@redhat.com> - 1.13-1
175b60
- update to 1.13
175b60
175b60
* Mon Aug 17 2009 Ivana Varekova <varekova@redhat.com> - 1.12-6
175b60
- fix preun and post scripts (#517568)
175b60
175b60
* Mon Aug 10 2009 Ivana Varekova <varekova@redhat.com> - 1.12-5
175b60
- fix installation with --excludedocs option (#515971)
175b60
175b60
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
175b60
175b60
* Sat Mar 07 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 1.12-3
175b60
- Remove rpaths (fix BZ#487823).
175b60
175b60
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
175b60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
175b60
175b60
* Mon Jan 19 2009 Ivana Varekova <varekova@redhat.com> - 1.12-1
175b60
- update to 1.12
175b60
175b60
* Tue Sep 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-4
175b60
- Resolves: #462369 - remove %%{_datadir}/aclocal
175b60
- add automake dependency
175b60
175b60
* Mon Jul 28 2008 Ivana Varekova <varekova@redhat.com> - 1.11-3
175b60
- add -fgnu89-inline flag to solve gcc4.3 problem 
175b60
  remove gcc43 patch
175b60
175b60
* Wed Jun 18 2008 Ivana Varekova <varekova@redhat.com> - 1.11-2
175b60
- Resolves: #451006
175b60
  programs build with gcc 4.3 based on gsl require -fgnu89-inline 
175b60
175b60
* Mon Jun 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-1
175b60
- update to 1.11
175b60
175b60
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.10-10
175b60
- Autorebuild for GCC 4.3
175b60
175b60
* Thu Nov  1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-9
175b60
- source file change
175b60
- spec cleanup
175b60
175b60
* Thu Nov  1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-8
175b60
- fix man-pages directories
175b60
175b60
* Tue Oct 30 2007 Ivana Varekova <varekova@redhat.com> - 1.10-7
175b60
- add man pages
175b60
175b60
* Fri Oct 26 2007 Ivana Varekova <varekova@redhat.com> - 1.10-6
175b60
- minor spec changes
175b60
175b60
* Thu Oct 25 2007 Ivana Varekova <varekova@redhat.com> - 1.10-5
175b60
- minor spec changes
175b60
175b60
* Wed Oct 24 2007 Ivana Varekova <varekova@redhat.com> - 1.10-4
175b60
- add pkgconfig dependency
175b60
- separate static libraries to -static subpackage
175b60
- fix gsl-config script - thanks Patrice Dumas
175b60