This commit is contained in:
241
gsl.spec
Normal file
241
gsl.spec
Normal file
@@ -0,0 +1,241 @@
|
||||
#
|
||||
# spec file for package gsl (Version 1.8)
|
||||
#
|
||||
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: gsl
|
||||
BuildRequires: blas
|
||||
Version: 1.8
|
||||
Release: 21
|
||||
License: GNU General Public License (GPL), Other License(s), see package
|
||||
Group: Development/Libraries/C and C++
|
||||
#Provides:
|
||||
Autoreqprov: on
|
||||
Summary: GNU Scientific Library
|
||||
Source: ftp://ftp.gnu.org/pub/gnu/gsl/gsl-%{version}.tar.bz2
|
||||
Patch: gsl-1.6-initvars.diff
|
||||
Patch3: gsl-1.6-deps.dif
|
||||
Patch4: gsl-check-prec.diff
|
||||
Patch5: log1p-no-fast-math.diff
|
||||
Patch6: ieee-div-by-zero
|
||||
URL: http://sources.redhat.com/gsl/
|
||||
Prefix: /usr
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
The GNU Scientific Library (GSL) is a collection of routines for
|
||||
numerical computing. The routines are written from scratch by the GSL
|
||||
team in ANSI C and present a modern Applications Programming Interface
|
||||
(API) for C programmers, while allowing wrappers to be written for very
|
||||
high level languages.
|
||||
|
||||
The library covers the following areas:
|
||||
|
||||
Complex Numbers Roots of Polynomials Special Functions
|
||||
Vectors and Matrices Permutations Sorting BLAS Support
|
||||
Linear Algebra Eigensystems Fast Fourier Transforms
|
||||
Quadrature Random Numbers Quasi-Random Sequences Random
|
||||
Distributions Statistics Histograms N-Tuples
|
||||
Monte Carlo Integration Simulated Annealing Differential
|
||||
Equations Interpolation Numerical Differentiation Chebyshev
|
||||
Series Acceleration Approximation Discrete Hankel
|
||||
Root-Finding Minimization Transforms Least-Squares Fitting
|
||||
Physical Constants IEEE Floating-Point
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mark Galassi <rosalia@lanl.gov>
|
||||
Jim Davies <jimmyd@nis.lanl.gov>
|
||||
James Theiler <jt@nis.lanl.gov>
|
||||
Brian Gough <bjg@network-theory.co.uk>
|
||||
Reid Priedhorsky <rp@lanl.gov>
|
||||
Gerard Jungman <jungman@lanl.gov>
|
||||
Michael Booth <booth@debian.org>
|
||||
Fabrice Rossi <rossi@ufrmd.dauphine.fr>
|
||||
|
||||
%package devel
|
||||
Summary: GNU Scientific Library - development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gsl
|
||||
|
||||
%description devel
|
||||
This package contains the headers, static libraries and some
|
||||
documentation for GSL.
|
||||
|
||||
The GNU Scientific Library (GSL) is a collection of routines for
|
||||
numerical computing. The routines are written from scratch by the GSL
|
||||
team in ANSI C, and present a modern Applications Programming Interface
|
||||
(API) for C programmers, while allowing wrappers to be written for very
|
||||
high level languages.
|
||||
|
||||
The library covers the following areas,
|
||||
|
||||
Complex Numbers Roots of Polynomials Special Functions
|
||||
Vectors and Matrices Permutations Sorting BLAS Support
|
||||
Linear Algebra Eigensystems Fast Fourier Transforms
|
||||
Quadrature Random Numbers Quasi-Random Sequences Random
|
||||
Distributions Statistics Histograms N-Tuples
|
||||
Monte Carlo Integration Simulated Annealing Differential
|
||||
Equations Interpolation Numerical Differentiation Chebyshev
|
||||
Series Acceleration Approximation Discrete Hankel
|
||||
Root-Finding Minimization Transforms Least-Squares Fitting
|
||||
Physical Constants IEEE Floating-Point
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Mark Galassi <rosalia@lanl.gov>
|
||||
Jim Davies <jimmyd@nis.lanl.gov>
|
||||
James Theiler <jt@nis.lanl.gov>
|
||||
Brian Gough <bjg@network-theory.co.uk>
|
||||
Reid Priedhorsky <rp@lanl.gov>
|
||||
Gerard Jungman <jungman@lanl.gov>
|
||||
Michael Booth <booth@debian.org>
|
||||
Fabrice Rossi <rossi@ufrmd.dauphine.fr>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch -p1
|
||||
%patch3 -p0
|
||||
%patch4 -p0
|
||||
#%patch5 -p1
|
||||
#%patch6 -p1
|
||||
|
||||
%build
|
||||
%ifarch %ix86 x86_64
|
||||
# We could add -msse2 -mpfmath=sse here ...
|
||||
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize -momit-leaf-frame-pointer" \
|
||||
./configure --enable-shared --with-gnu-ld \
|
||||
--prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} --libdir=%{_libdir}
|
||||
%else
|
||||
CFLAGS="$RPM_OPT_FLAGS -O3 -finline-limit=720 --param max-inline-insns-auto=160 -funroll-loops -fno-strict-aliasing -funit-at-a-time -ftree-vectorize" \
|
||||
./configure --enable-shared --with-gnu-ld \
|
||||
--prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} --libdir=%{_libdir}
|
||||
%endif
|
||||
make %{?jobs:-j%jobs}
|
||||
make check
|
||||
cd doc
|
||||
texi2html -menu -split_chapter -glossary gsl-ref.texi
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libgsl*.so.*
|
||||
/usr/bin/gsl-histogram
|
||||
/usr/bin/gsl-randist
|
||||
%doc %{_mandir}/man1/gsl-histogram.1.gz
|
||||
%doc %{_mandir}/man1/gsl-randist.1.gz
|
||||
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
/usr/include/gsl
|
||||
%{_libdir}/libgsl*.la
|
||||
%{_libdir}/libgsl*.so
|
||||
%{_libdir}/libgsl*.a
|
||||
%{_libdir}/pkgconfig/gsl.pc
|
||||
/usr/bin/gsl-config
|
||||
%doc doc/gsl-ref/gsl-ref*.html
|
||||
/usr/share/aclocal/gsl.m4
|
||||
%doc %{_infodir}/gsl-ref*
|
||||
%doc %{_mandir}/man1/gsl-config.1.gz
|
||||
%doc %{_mandir}/man3/gsl.3.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf $RPM_BUILD_DIR/gsl-%{version}
|
||||
|
||||
%changelog -n gsl
|
||||
* Fri Nov 24 2006 - garloff@suse.de
|
||||
- -momit-leaf-frame-pointer was only enabled on x86_64 and i386;
|
||||
however, it should have been enabled on all ix86. Fixed.
|
||||
* Mon Oct 16 2006 - garloff@suse.de
|
||||
- Don't use -ffast-math any more (-ffast-math was enabled on x86,
|
||||
x86-64) as otherwise we get inexact (8e-8) results with latest
|
||||
compiler for log1p(1e-10), div by zero, SVD.
|
||||
* Fri Aug 25 2006 - garloff@suse.de
|
||||
- Update to gsl-1.8.
|
||||
- Enable make check in build process.
|
||||
* Mon Feb 20 2006 - stbinner@suse.de
|
||||
- make gsl-devel depend on gsl
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Dec 19 2005 - garloff@suse.de
|
||||
- Split package into gsl and gsl-devel.
|
||||
- Update to gsl-1.7:
|
||||
* Various speedups, accuracy improvements and fixes.
|
||||
* Mon Apr 25 2005 - coolo@suse.de
|
||||
- fix library dependencies - at least needed for prelink
|
||||
* Mon Jan 31 2005 - ro@suse.de
|
||||
- adapted to texi2html changes
|
||||
* Thu Jan 20 2005 - garloff@suse.de
|
||||
- Remove -momit-frame-pointer from most archs, the compiler does
|
||||
not support it there.
|
||||
* Wed Jan 19 2005 - garloff@suse.de
|
||||
- Avoid uninitialized variables, and fix a size_t vs. unsigned
|
||||
int issue.
|
||||
- Update to gsl-1.6:
|
||||
* Wavelet functions
|
||||
* LQ decomposition
|
||||
* Various bugfixes and minor improvements (SYRK, HERK,
|
||||
swap_vectors, cheb_eval_n_err, sf_gamma_inc, cspline,
|
||||
akima, ode-initval, sf_psi_1, sf_expint_Ei_e, cdf_beta_X,
|
||||
eigen_jacobi, error stream flushes prior to abort).
|
||||
* Sat Aug 21 2004 - garloff@suse.de
|
||||
- Fix build on non-x86/x86-64 (no -monit-leaf-frame-pointer).
|
||||
- Allow parallel build.
|
||||
* Sun Aug 15 2004 - garloff@suse.de
|
||||
- Update to version 1.5.
|
||||
- More aggressive compiler optimization flags.
|
||||
* Tue May 18 2004 - ro@suse.de
|
||||
- use -fno-strict-aliasing
|
||||
* Wed Feb 25 2004 - stepan@suse.de
|
||||
- update to version 1.4
|
||||
* Sat Jan 10 2004 - adrian@suse.de
|
||||
- add %%defattr
|
||||
* Tue May 27 2003 - ro@suse.de
|
||||
- add pkgconfig file to filelist
|
||||
* Wed Jan 15 2003 - garloff@suse.de
|
||||
- bzip2 sources
|
||||
* Wed Jan 15 2003 - garloff@suse.de
|
||||
- Update to gsl-1.3:
|
||||
* Fixed gsl_sf_coupling
|
||||
* exponential integral exp(-x)*Ei(x)
|
||||
* many bugfixes
|
||||
- Update to gsl-1.2:
|
||||
* new functions for combining permutations etc.
|
||||
* multiroot functions
|
||||
* dflt error handler outputs message before aborting
|
||||
* gsl_linalg_SV_decomp handles exact zeros now
|
||||
* unsymmetric tridiagonal solvers added
|
||||
* bugfixes
|
||||
- Update to gsl-1.1.1:
|
||||
* bugfixes
|
||||
- Update to gsl-1.1:
|
||||
* permutation copy function
|
||||
* gsl_sf_gamma_inc improved
|
||||
* IEEE handling of FP numbers tested in configure
|
||||
* gsl_histogram_sum
|
||||
* More physical constants (r_B, eps_0)
|
||||
* Knuth's random number generators
|
||||
* bugfixes
|
||||
* Fri Jul 05 2002 - kukuk@suse.de
|
||||
- Use %%ix86 macro
|
||||
* Wed May 08 2002 - garloff@suse.de
|
||||
- Fix %%lib64 issues
|
||||
- Remove -freduce-all-givs from compiler flags.
|
||||
* Mon Dec 10 2001 - garloff@suse.de
|
||||
- Creation of gsl-1.0
|
||||
- Produce and install HTML docu
|
Reference in New Issue
Block a user