gsl/gsl.spec

247 lines
7.8 KiB
RPMSpec
Raw Permalink Normal View History

Summary: The GNU Scientific Library for numerical analysis
Name: gsl
2016-02-21 16:24:33 +00:00
Version: 2.1
2016-03-11 00:02:02 +00:00
Release: 4%{?dist}
URL: http://www.gnu.org/software/gsl/
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
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
2016-02-21 16:24:33 +00:00
# http://lists.gnu.org/archive/html/bug-gsl/2015-12/msg00012.html
Patch1: gsl-tol.patch
2016-03-11 00:02:02 +00:00
Patch2: gsl-test.patch
BuildRequires: pkgconfig
%description
The GNU Scientific Library (GSL) is a collection of routines for
numerical analysis, written in C.
%package devel
Summary: Libraries and the header files for GSL development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: pkgconfig, automake
%description devel
2007-11-02 08:21:47 +00:00
The gsl-devel package contains the header files necessary for
developing programs using the GSL (GNU Scientific Library).
%prep
%setup -q
%patch0 -p1 -b .lib64
2016-02-21 16:24:33 +00:00
%patch1 -p1 -b .tol
2016-03-11 00:02:02 +00:00
%patch2 -p1 -b .test
iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux
2007-11-02 08:21:47 +00:00
touch -r THANKS THANKS.aux
mv THANKS.aux THANKS
%build
# disable FMA
%ifarch aarch64 ppc64 ppc64le s390 s390x
export CFLAGS="$RPM_OPT_FLAGS -ffp-contract=off"
%endif
2016-02-21 16:24:33 +00:00
%configure
make %{?_smp_mflags}
2013-01-30 09:37:08 +00:00
%check
2016-02-21 16:24:33 +00:00
make check || ( cat */test-suite.log && exit 1 )
2013-01-30 09:37:08 +00:00
%install
make install DESTDIR=$RPM_BUILD_ROOT install='install -p'
# remove unpackaged files from the buildroot
2007-10-30 12:09:37 +00:00
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
2010-03-03 09:59:24 +00:00
# remove static libraries
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
%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
2016-02-21 16:24:33 +00:00
%license COPYING
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%{_libdir}/libgsl.so.19*
%{_libdir}/libgslcblas.so.0*
%{_bindir}/gsl-histogram
%{_bindir}/gsl-randist
2007-11-02 08:21:47 +00:00
%{_mandir}/man1/gsl-histogram.1*
%{_mandir}/man1/gsl-randist.1*
%files devel
2006-03-03 12:28:38 +00:00
%{_bindir}/gsl-config*
%{_datadir}/aclocal/*
%{_includedir}/*
%{_infodir}/*info*
%{_libdir}/*.so
%{_libdir}/pkgconfig/gsl.pc
2007-11-02 08:21:47 +00:00
%{_mandir}/man1/gsl-config.1*
2007-11-01 13:06:16 +00:00
%{_mandir}/man3/*.3*
%changelog
2016-03-11 00:02:02 +00:00
* Thu Mar 10 2016 Than Ngo <than@redhat.com> - 2.1-4
- fix build failure on powerpc
* Fri Feb 26 2016 Dan Horák <dan[at]danny.cz> - 2.1-3
- Disable FMA also on ppc64(le) and s390(x)
* Tue Feb 23 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 2.1-2
- Disable FMA on AArch64 to lower precision so tests do not fail.
2016-02-21 16:24:33 +00:00
* Sun Feb 21 2016 Orion Poplawski <orion@cora.nwra.com> - 2.1-1
- Update to 2.1
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2016-02-22 16:00:03 +00:00
* Mon Dec 08 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-16
- Drop linkage patch: libgsl should not link to libgslcblas,
so that more efficient libraries can be used (BZ #1007058).
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Mon Apr 28 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.16-13
- Add upstream patch which fixes FTBFS on aarch64
* Sat Feb 15 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 1.16-12
- Drop ATLAS linkage patch: by design, the CBLAS library must be
defined at link time to allow use of more optimized implementations.
(BZ #1007058).
* Tue Oct 1 2013 Orion Poplawski <orion@cora.nwra.com> - 1.16-11
- Update to 1.16
- Rebase atlas patch
- Drop upstreamed ode patch
2013-09-21 19:24:34 +00:00
* Sat Sep 21 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-10
- linked against atlas 3.10
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-01-30 09:37:08 +00:00
* Wed Jan 30 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-8
2013-06-04 08:34:25 +00:00
- self test moved to %%check section
2013-01-30 09:37:08 +00:00
* Tue Jan 29 2013 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-7
- run self-tests after build
- updated ode-initval2 to upstream revision 4788
2012-11-19 16:20:05 +00:00
* Mon Nov 19 2012 Frantisek Kluknavsky <fkluknav@redhat.com> - 1.15-6
- minor cleanup of gsl.spec
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.15-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Sep 27 2011 Peter Schiffer <pschiffe@redhat.com> - 1.15-3
- resolves: #741138
removed unnecessary Requires: atlas
* Mon May 9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-2
- resolves: #695148
link gsl against atlas package for blas operations
2011-05-09 07:04:42 +00:00
* Mon May 9 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.15-1
- update to 1.15
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Wed May 5 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.14-1
- update to 1.14
- Resolves: #560219
Library not linked correctly
2010-03-03 09:59:24 +00:00
* Wed Mar 3 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.13-2
- remove the static subpackage
2009-09-15 13:47:21 +00:00
* Tue Sep 15 2009 Ivana Varekova <varekova@redhat.com> - 1.13-1
- update to 1.13
* Mon Aug 17 2009 Ivana Varekova <varekova@redhat.com> - 1.12-6
- fix preun and post scripts (#517568)
* Mon Aug 10 2009 Ivana Varekova <varekova@redhat.com> - 1.12-5
- fix installation with --excludedocs option (#515971)
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2009-03-07 17:53:24 +00:00
* Sat Mar 07 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 1.12-3
- Remove rpaths (fix BZ#487823).
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2009-01-19 10:08:54 +00:00
* Mon Jan 19 2009 Ivana Varekova <varekova@redhat.com> - 1.12-1
2009-01-19 10:01:23 +00:00
- update to 1.12
* Tue Sep 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-4
- Resolves: #462369 - remove %%{_datadir}/aclocal
- add automake dependency
* Mon Jul 28 2008 Ivana Varekova <varekova@redhat.com> - 1.11-3
- add -fgnu89-inline flag to solve gcc4.3 problem
remove gcc43 patch
* Wed Jun 18 2008 Ivana Varekova <varekova@redhat.com> - 1.11-2
- Resolves: #451006
programs build with gcc 4.3 based on gsl require -fgnu89-inline
2008-06-16 13:31:15 +00:00
* Mon Jun 16 2008 Ivana Varekova <varekova@redhat.com> - 1.11-1
- update to 1.11
2008-02-20 06:34:50 +00:00
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.10-10
- Autorebuild for GCC 4.3
2007-11-02 08:21:47 +00:00
* Thu Nov 1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-9
- source file change
- spec cleanup
2007-11-01 13:06:16 +00:00
* Thu Nov 1 2007 Ivana Varekova <varekova@redhat.com> - 1.10-8
- fix man-pages directories
2007-10-30 12:09:37 +00:00
* Tue Oct 30 2007 Ivana Varekova <varekova@redhat.com> - 1.10-7
- add man pages
2007-10-26 10:55:15 +00:00
* Fri Oct 26 2007 Ivana Varekova <varekova@redhat.com> - 1.10-6
- minor spec changes
2007-10-25 10:59:12 +00:00
* Thu Oct 25 2007 Ivana Varekova <varekova@redhat.com> - 1.10-5
- minor spec changes
* Wed Oct 24 2007 Ivana Varekova <varekova@redhat.com> - 1.10-4
- add pkgconfig dependency
- separate static libraries to -static subpackage
- fix gsl-config script - thanks Patrice Dumas