2 Summary: GNU Scientific Library (GSL)
3 Packager: jungman@lanl.gov, rosalia@lanl.gov
4 %define version @VERSION@
10 Distribution: research software
11 Source: gsl-%{version}.tar.gz
12 Group: Libraries/Research
13 %define mybuildroot /var/tmp/%{name}-build
14 BuildRoot: %{mybuildroot}
17 The GNU Scientific Library (GSL) is a numerical library for C and
18 C++ programmers. It contains over 1000 mathematical routines written
19 in ANSI C. The library follows modern coding conventions, and lends
20 itself to being used in very high level languages (VHLLs).
22 The library covers the following subject areas:
24 Complex Numbers Roots of Polynomials Special Functions
25 Vectors and Matrices Permutations Sorting
26 BLAS Support Linear Algebra Eigensystems
27 Fast Fourier Transforms Quadrature Random Numbers
28 Quasi-Random Sequences Random Distributions Statistics
29 Histograms N-Tuples Monte Carlo Integration
30 Simulated Annealing Differential Equations Interpolation
31 Numerical Differentiation Chebyshev Approximation Series Acceleration
32 Discrete Hankel Transforms Root-Finding Minimization
33 Least-Squares Fitting Physical Constants IEEE Floating-Point
35 Further information can be found in the GSL Reference Manual.
36 Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
37 2006, 2007 The GSL Team.
39 Install the gsl package if you need a library for high-level
40 scientific numerical analysis.
43 %setup -q -n gsl-%{version}
46 CFLAGS="$RPM_OPT_FLAGS"
47 ./configure --prefix=%{_prefix} \
48 --bindir=%{_bindir} --mandir=%{_mandir} \
49 --localstatedir=%{_localstatedir} --libdir=%{_libdir} \
50 --datadir=%{_datadir} --includedir=%{_includedir} \
51 --sysconfdir=%{_sysconfdir}
55 rm -rf $RPM_BUILD_ROOT
57 make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
58 mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
59 localstatedir=$RPM_BUILD_ROOT%{_localstatedir} \
60 datadir=$RPM_BUILD_ROOT%{_datadir} \
61 includedir=$RPM_BUILD_ROOT%{_includedir} \
62 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
65 rm -rf $RPM_BUILD_ROOT
67 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 %doc {NEWS,ChangeLog,INSTALL,README,AUTHORS,THANKS,SUPPORT,BUGS}
75 /usr/bin/gsl-histogram
79 /usr/share/aclocal/gsl.m4