|
|
|
@ -1,18 +1,20 @@
|
|
|
|
|
Summary: The GNU Scientific Library for numerical analysis
|
|
|
|
|
Name: gsl
|
|
|
|
|
Version: 2.6
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 2.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
URL: http://www.gnu.org/software/gsl/
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Source: http://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
|
|
|
|
# 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
|
|
|
|
|
License: GPLv3 and GFDL and BSD
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/gsl/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: gsl-1.10-lib64.patch
|
|
|
|
|
# http://lists.gnu.org/archive/html/bug-gsl/2015-12/msg00012.html
|
|
|
|
|
Patch1: gsl-tol.patch
|
|
|
|
|
Patch2: gsl-test.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The GNU Scientific Library (GSL) is a collection of routines for
|
|
|
|
@ -20,9 +22,11 @@ numerical analysis, written in C.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Libraries and the header files for GSL development
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
Requires: automake
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
Requires: pkgconfig, automake
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The gsl-devel package contains the header files necessary for
|
|
|
|
@ -41,92 +45,62 @@ mv THANKS.aux THANKS
|
|
|
|
|
%build
|
|
|
|
|
# disable FMA
|
|
|
|
|
%ifarch aarch64 ppc64 ppc64le s390 s390x
|
|
|
|
|
export CFLAGS="%{optflags} -ffp-contract=off"
|
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
|
|
|
|
|
%endif
|
|
|
|
|
%configure
|
|
|
|
|
%make_build
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check || ( cat */test-suite.log && exit 1 )
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT install='install -p'
|
|
|
|
|
# remove unpackaged files from the buildroot
|
|
|
|
|
rm -rf %{buildroot}%{_infodir}/dir
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
# remove static libraries
|
|
|
|
|
rm -r %{buildroot}%{_libdir}/*.a
|
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
|
|
|
|
/sbin/install-info %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%preun devel
|
|
|
|
|
if [ "$1" = 0 ]; then
|
|
|
|
|
if [ -f %{_infodir}/gsl-ref.info.gz ]; then
|
|
|
|
|
/sbin/install-info --delete %{_infodir}/gsl-ref.info %{_infodir}/dir || :
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
|
|
|
|
%{_libdir}/libgsl.so.23*
|
|
|
|
|
%{_libdir}/libgslcblas.so.0*
|
|
|
|
|
%{_bindir}/gsl-histogram
|
|
|
|
|
%{_bindir}/gsl-randist
|
|
|
|
|
%{_libdir}/libgsl.so.25*
|
|
|
|
|
%{_libdir}/libgslcblas.so.0*
|
|
|
|
|
%{_mandir}/man1/gsl-histogram.1*
|
|
|
|
|
%{_mandir}/man1/gsl-randist.1*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_bindir}/gsl-config
|
|
|
|
|
%{_libdir}/libgsl.so
|
|
|
|
|
%{_libdir}/libgslcblas.so
|
|
|
|
|
%{_bindir}/gsl-config*
|
|
|
|
|
%{_datadir}/aclocal/*
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_infodir}/*info*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/gsl.pc
|
|
|
|
|
%{_mandir}/man1/gsl-config.1*
|
|
|
|
|
%{_mandir}/man3/gsl.3*
|
|
|
|
|
%{_infodir}/gsl-ref.info*
|
|
|
|
|
%{_datadir}/aclocal/gsl.m4
|
|
|
|
|
%{_includedir}/gsl/
|
|
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Feb 3 2022 Pavel Cahyna <pcahyna@redhat.com> - 2.6-7
|
|
|
|
|
- Rebuilt with no changes to get the -devel package to CRB.
|
|
|
|
|
Resolves: rhbz#2035401
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.6-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.6-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.6-1
|
|
|
|
|
- Update to 2.6.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 11 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.5-1
|
|
|
|
|
- Update to 2.5.
|
|
|
|
|
- Updated license tag (the license that applies to the binaries) to GPLv3+.
|
|
|
|
|
- Bring spec file up to date by relying on recommended macros in build phase.
|
|
|
|
|
- Arched requires for base package in gsl-devel.
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jun 30 2018 Christian Dersch <lupinix@mailbox.org> - 2.4-6
|
|
|
|
|
- Rebuilt, next try
|
|
|
|
|
|
|
|
|
|
* Wed Feb 28 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 2.4-5
|
|
|
|
|
- Added gcc buildrequires.
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
* Mon Aug 13 2018 Pavel Cahyna <pcahyna@redhat.com> - 2.5-1
|
|
|
|
|
- Update to 2.5
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|