Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / gsl.spec.in
1 Name: gsl
2 Summary: GNU Scientific Library (GSL)
3 Packager: jungman@lanl.gov, rosalia@lanl.gov
4 %define version @VERSION@
5 %define release 0
6 Version: %{version}
7 Release: %{release}
8 License: GPL
9 Vendor: The GSL Team
10 Distribution: research software
11 Source: gsl-%{version}.tar.gz
12 Group: Libraries/Research
13 %define mybuildroot /var/tmp/%{name}-build
14 BuildRoot: %{mybuildroot}
15
16 %description
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).
21
22 The library covers the following subject areas:
23
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
34
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.
38
39 Install the gsl package if you need a library for high-level
40 scientific numerical analysis.
41
42 %prep
43 %setup -q -n gsl-%{version}
44
45 %build
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}
52 make
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
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
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %post -p /sbin/ldconfig
68
69 %postun -p /sbin/ldconfig
70
71 %files
72 %doc {NEWS,ChangeLog,INSTALL,README,AUTHORS,THANKS,SUPPORT,BUGS}
73 %doc /usr/info/*
74 /usr/bin/gsl-config
75 /usr/bin/gsl-histogram
76 /usr/bin/gsl-randist
77 /usr/lib
78 /usr/include/gsl
79 /usr/share/aclocal/gsl.m4
80 /usr/share/man