%define dist hepx Summary: The GNU Scientific Library for numerical analysis Name: gsl1 Version: 1.16 Release: 10.12%{?dist}1b URL: http://www.gnu.org/software/gsl/ Source: ftp://ftp.gnu.org/gnu/gsl/gsl-%{version}.tar.gz Patch0: gsl-1.16-macosx.patch # 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: pkgconfig Prefix: /opt/gsl/%{version} %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): /usr/bin/install-info Requires(preun): /usr/bin/install-info Requires: pkgconfig, automake Obsoletes: gsl < 2.0 %description devel The gsl-devel package contains the header files necessary for developing programs using the GSL (GNU Scientific Library). %package static Summary: Static libraries of the GSL package Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static The gsl-static package includes static libraries of GSL. %prep %setup -n gsl-%{version} -q %patch0 -p1 -b .osx iconv -f windows-1252 -t utf-8 THANKS > THANKS.aux touch -r THANKS THANKS.aux mv THANKS.aux THANKS %build %ifnos darwin ./configure --prefix=%{prefix} CFLAGS="$CFLAGS -fgnu89-inline" %else ./configure --prefix=%{prefix} %endif make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT install='install -p' # remove unpackaged files from the buildroot rm -rf $RPM_BUILD_ROOT%{prefix}/share/info/dir rm -f $RPM_BUILD_ROOT/%{prefix}/lib/*.la %ifnos darwin %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %endif %post devel /usr/bin/install-info %{prefix}/share/info/gsl-ref.info %{prefix}/share/info/dir || : %preun devel if [ "$1" = 0 ]; then /usr/bin/install-info --delete %{prefix}/share/info/gsl-ref.info %{prefix}/share/info/dir || : fi %clean rm -rf $RPM_BUILD_ROOT %files %ifnos darwin %defattr(-,root,root,-) %else %defattr(-,root,wheel,-) %endif %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO %ifnos darwin %{prefix}/lib/*so.* %else %{prefix}/lib/*.*.dylib %endif %{prefix}/bin/gsl-histogram %{prefix}/bin/gsl-randist %{prefix}/share/man/man1/gsl-histogram.1* %{prefix}/share/man/man1/gsl-randist.1* %files devel %ifnos darwin %defattr(-,root,root,-) %else %defattr(-,root,wheel,-) %endif %doc AUTHORS COPYING %{prefix}/bin/gsl-config* %{prefix}/share/aclocal/* %{prefix}/include/* %{prefix}/share/info/*info* %ifnos darwin %{prefix}/lib/*.so %else %{prefix}/lib/*.dylib %exclude %{prefix}/lib/*.*.dylib %endif %{prefix}/lib/pkgconfig/gsl.pc %{prefix}/share/man/man1/gsl-config.1* %{prefix}/share/man/man3/*.3* %files static %ifnos darwin %defattr(-,root,root,-) %else %defattr(-,root,wheel,-) %endif %doc AUTHORS COPYING %{prefix}/lib/*.a %changelog * Mon Dec 26 2016 Keisuke Fujii - 1.16-10.12hepx1b - 2nd build and release on MacOS X 10.12 - built with OSXWS 10.12 * Sun Dec 18 2016 Keisuke Fujii - 1.16-10.12hepx1a - 1st build and release on MacOS X 10.12 - built with OSXWS 10.11 * Fri Oct 21 2016 Keisuke Fujii - 1.16-10.10hepx1a - 1st build and release on MacOS X 10.10 - Renamed to gsl1 to allow coexistence with gsl-2. * Wed Dec 24 2014 Keisuke Fujii - 1.16-10.10hepx1a - 1st build and release on MacOS X 10.10 * Wed Aug 06 2014 Keisuke Fujii - 1.16-10.9hepx1b - 2nd build and release on MacOS X 10.9 * Tue Nov 19 2013 Keisuke Fujii - 1.16-10.9hepx1a - 1st build and release on MacOS X 10.9 * Wed May 02 2012 Keisuke Fujii - 1.15-10.7hepx1a - 1st build on MacOS X 10.7 - now built for x86_64 * Sat Sep 24 2011 Keisuke Fujii - 1.15-10.6hepx1a - 1st build on MacOS X 10.6 - rebuilt with gcc4.5.1 and libstdc++.dylib * Wed Jan 26 2011 Keisuke Fujii - 1.13-10.6hepx1d - 4th build on MacOS X 10.6 - rebuilt with gcc4.5.1 and libstdc++.dylib * Sun Nov 14 2010 Keisuke Fujii - 1.13-10.6hepx1c - 3rd build on MacOS X 10.6 - rebuilt with gcc4.5.1 * Fri Oct 01 2010 Keisuke Fujii - 1.13-10.6hepx1b - 2nd build on MacOS X 10.6 - rebuilt with gcc4.5.1 * Mon Mar 08 2010 Keisuke Fujii - 1.13-10.6hepx1a - 1st build on MacOS X 10.6 * Tue Feb 24 2009 Keisuke Fujii - 1.12-10.5hepx1a - 1st build on MacOS X 10.5 * Mon Jan 19 2009 Ivana Varekova - 1.12-1 - update to 1.12 * Tue Sep 16 2008 Ivana Varekova - 1.11-4 - Resolves: #462369 - remove %%{_datadir}/aclocal - add automake dependency * Mon Jul 28 2008 Ivana Varekova - 1.11-3 - add -fgnu89-inline flag to solve gcc4.3 problem remove gcc43 patch * Wed Jun 18 2008 Ivana Varekova - 1.11-2 - Resolves: #451006 programs build with gcc 4.3 based on gsl require -fgnu89-inline * Mon Jun 16 2008 Ivana Varekova - 1.11-1 - update to 1.11 * Wed Feb 20 2008 Fedora Release Engineering - 1.10-10 - Autorebuild for GCC 4.3 * Thu Nov 1 2007 Ivana Varekova - 1.10-9 - source file change - spec cleanup * Thu Nov 1 2007 Ivana Varekova - 1.10-8 - fix man-pages directories * Tue Oct 30 2007 Ivana Varekova - 1.10-7 - add man pages * Fri Oct 26 2007 Ivana Varekova - 1.10-6 - minor spec changes * Thu Oct 25 2007 Ivana Varekova - 1.10-5 - minor spec changes * Wed Oct 24 2007 Ivana Varekova - 1.10-4 - add pkgconfig dependency - separate static libraries to -static subpackage - fix gsl-config script - thanks Patrice Dumas * Tue Sep 23 2007 Ivana Varekova - 1.10-3 - remove *.la files - add pkgconfig configure file - change source - spec file cleanup * Wed Sep 19 2007 Ivana Varekova - 1.10-2 - update license tag * Wed Sep 19 2007 Ivana Varekova - 1.10-1 - update to 1.10 - change license tag * Tue May 22 2007 Ivana Varekova - 1.9-1 - update to 1.9 * Wed Mar 14 2007 Ivana Varekova - 1.8-3 - incorporate the package review feedback * Mon Jan 22 2007 Ivana Varekova - 1.8-2 - Resolves: 223700 fix non-failsafe install-info problem - spec file cleanup * Wed Jul 12 2006 Jesse Keating - 1.8-1.1 - rebuild * Fri May 5 2006 Ivana Varekova - 1.8-1 - update to 1.8 * Fri Mar 3 2006 Ivana Varekova - 1.7-2 - fix multilib problem * Fri Feb 10 2006 Jesse Keating - 1.7-1.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 1.7-1.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Thu Nov 10 2005 Ivana Varekova 1.7-1 - update to 1.7 * Mon Mar 7 2005 Ivana Varekova 1.6-2 - rebuilt * Thu Jan 6 2005 Ivana Varekova 1.6-1 - update to 1.6 * Wed Dec 15 2004 Ivana Varekova - fix bug #142696 gsl-config outputs invalid flags on multilib 64-bit architectures * Fri Jul 02 2004 Florian La Roche - 1.5 * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Aug 21 2003 Florian La Roche - update to 1.4 * Wed Jun 25 2003 Florian La Roche - update to 1.3 * Wed Jun 04 2003 Elliot Lee - rebuilt * Wed Jan 22 2003 Tim Powers - rebuilt * Fri Nov 29 2002 Tim Powers 1.1.1-4 - remove unpackaged files from the buildroot * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Thu Mar 21 2002 Trond Eivind Glomsrød - 1.1.1 bugfix release - Stop the gsl-config script from printing -I/usr/include and -L/usr/lib (#59500) * Wed Feb 27 2002 Trond Eivind Glomsrød 1.1-1 - 1.1 - Update URL and location * Wed Jan 09 2002 Tim Powers - automated rebuild * Thu Dec 13 2001 Trond Eivind Glomsrød 1.0-1 - 1.0 - Split into gsl and gsl-devel - update description (#56926) * Thu Jul 19 2001 Preston Brown - upgrade to 0.9 * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Thu Jan 18 2001 Preston Brown - prereq install-info (#24250) * Mon Dec 11 2000 Preston Brown - 0.7, remove excludearch for ia64 * Sun Jul 30 2000 Florian La Roche - fix %%post to be a real shell and add ldconfig to %%post * Thu Jul 13 2000 Prospector - automatic rebuild * Mon Jun 19 2000 Preston Brown - don't include the info dir file... * Sat Jun 17 2000 Bill Nottingham - add %%defattr * Mon Jun 12 2000 Preston Brown - 0.6, FHS paths - exclude ia64, it is having issues * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Thu Mar 11 1999 Bill Nottingham - update to 0.3f - add patches to fix glibc-2.1 compilation, doc oddity * Thu Feb 25 1999 Bill Nottingham - new summary/description, work around automake oddity * Tue Jan 12 1999 Michael K. Johnson - libtoolize for arm * Thu Sep 10 1998 Cristian Gafton - spec file fixups * Sat May 9 1998 Michael Fulbright - started with package for gmp from Toshio Kuratomi - cleaned up file list - fixed up install-info support