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