%define major 0 %define libname lib%{name}%{major} Summary: The GNU Scientific Library for numerical analysis Name: gsl Version: 1.3 Release: 1mdk URL: http://sourceware.redhat.com/gsl/ Source: ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/gsl/gsl-%{version}.tar.bz2 License: GPL Group: Sciences/Mathematics BuildRoot: %_tmppath/%name-%version-%release-root Requires: %libname = %version-%release %description The gsl package includes the GNU Scientific Library (GSL). The GSL is a collection of routines for numerical analysis, written in C. The GSL is in alpha development. It now includes a random number suite, an FFT package, simulated annealing and root finding. In the future, it will include numerical and Monte Carlo integration and special functions. Linking against the GSL allows programs to access functions which can handle many of the problems encountered in scientific computing. Install the gsl package if you need a library for high-level scientific numerical analysis. %package progs Summary: Programs of the Scientific Library Group: Sciences/Mathematics Requires: %libname >= 1.1.1-2mdk %description progs Here're the GNU Scientific Library (GSL) programs: - gsl-config: get information about the installed version of gsl and compilation and linking flags - gsl-histogram: computes a histogram of the data on stdin using n bins from xmin to xmax. - gsl-randist: generates n samples from a given distribution DIST with given parameters %package doc Summary: Documentation of the Scientific Library Group: Books/Computer books Requires: %libname >= 1.1.1-2mdk %description doc This is the documentation in info format of the GNU Scientific Library (GSL). This doc can be viewed through info, pinfo, konqueror, gnome yelp, ... %package -n %{libname} Summary: Shared librairies for Scientific Library Group: System/Libraries Provides: lib%name, %name Obsoletes: %name %description -n %{libname} The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It contains over 1000 mathematical routines written in ANSI C. The library follows modern coding conventions, and lends itself to being used in very high level languages (VHLLs). The library covers the following subject 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 Approximation Series Acceleration Discrete Hankel Transforms Root-Finding Minimization Least-Squares Fitting Physical Constants IEEE Floating-Point Further information can be found in the GSL Reference Manual. %package -n %{libname}-devel Summary: Development files for Scientific Library Group: Development/C Requires: %libname = %version-%release Provides: %name-devel, lib%name-devel %description -n %{libname}-devel The gsl package includes the GNU Scientific Library (GSL). The GSL is a collection of routines for numerical analysis, written in C. It now includes a random number suite, an FFT package, simulated annealing and root finding. In the future, it will include numerical and Monte Carlo integration and special functions. Linking against the GSL allows programs to access functions which can handle many of the problems encountered in scientific computing. These are the static libs and include headers for developpers. %prep %setup -q %build %configure --prefix=%buildroot/%_prefix touch doc/gsl-ref.info %make %install install -d %buildroot/%_libdir %buildroot/%_infodir %buildroot/%_includedir %makeinstall %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %post doc %_install_info gsl-ref.info %postun doc %_remove_install_info gsl-ref.info %clean rm -fr %buildroot %files progs %defattr(-,root,root,-) %doc COPYING %_bindir/* %_mandir/man1/gsl-histogram.1.* %_mandir/man1/gsl-randist.1.* %_mandir/man1/gsl-config.1.* %files doc %defattr(-,root,root,-) %doc COPYING %_infodir/*info* %files -n %{libname} %defattr(-,root,root,0755) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %_libdir/*.so.* %files -n %{libname}-devel %defattr(-,root,root,0755) %doc COPYING %_datadir/aclocal/gsl.m4 %_libdir/pkgconfig/gsl.pc %_libdir/*.a %_libdir/*la %_libdir/*.so %_mandir/man3/gsl.3.* %dir %_includedir/%name/ %_includedir/%name/*.h %changelog * Fri Jan 03 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.3-1mdk - new release * Thu Jan 02 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-4mdk - build release - add missing files (man pages, pkg-config file) * Mon Oct 14 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-3mdk - fix groups & summaries * Sat Aug 17 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-2mdk - gsl-progs and gsl-doc Requires: %libname >= 1.1.1-2mdk to ease update from mdk8.2 * Fri Jul 26 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.2-1mdk - new release - gcc-3.2 build * Thu Jul 04 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.1-2mdk - gsl is no more in alpha development (Jordi Burguet Castel) - remove the gsl package which is splitted between - gsl-doc where the doc is moved - gsl-progs: * Fri Mar 22 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1.1-1mdk - new release * Fri Nov 30 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0-2mdk - update description (Brian Gough <bjg@network-theory.co.uk>) * Sun Nov 04 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0-1mdk - new release * Wed Oct 10 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9.3-1mdk - new release * Wed Jul 11 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9-3mdk - use -p for %post and the like for lord rpmlint - move *.la to -devel * Mon Jul 09 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.9-1mdk - new bersion * Tue Mar 27 2001 David BAUDENS <baudens@mandresoft.com> 0.7-1mdk - O.7 (allow build on PPC) - Add missing files - Fix Provides and Requires * Mon Mar 05 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.6-3mdk - remove my ppc patch, we don't need it anymore. * Fri Jan 26 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.6-2mdk - fix PPC build for lords ppc_letmeplay * Wed Dec 06 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.6-1mdk - new release - fix build on PPC - new lib scheme * Fri Jul 28 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.5-3mdk - BM - split out devel * Tue Apr 18 2000 John Buswell <johnb@mandrakesoft.com> 0.5-2mdk - Fixed distribution tag * Thu Mar 30 2000 John Buswell <johnb@mandrakesoft.com> 0.5-1mdk - 0.5 - Fixed groups - spec-helper * Mon Nov 24 1999 Camille Begnis <camille@mandrakesoft.com> - added %defattr and SMP compilation - updated url and ftp source * Tue Aug 16 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - 0.4.1 * Tue Jul 06 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Build for new environment (Rel: 5mdk). * Wed May 19 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Remove the ldconfig hack of bero. * Tue May 11 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com> - Mandrake adaptions - make ldconfig in %post and %preun -p * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 2) * Thu Mar 11 1999 Bill Nottingham <notting@redhat.com> - update to 0.3f - add patches to fix glibc-2.1 compilation, doc oddity * Thu Feb 25 1999 Bill Nottingham <notting@redhat.com> - new summary/description, work around automake oddity * Tue Jan 12 1999 Michael K. Johnson <johnsonm@redhat.com> - libtoolize for arm * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com> - spec file fixups * Sat May 9 1998 Michael Fulbright <msf@redhat.com> - started with package for gmp from Toshio Kuratomi <toshiok@cats.ucsc.edu> - cleaned up file list - fixed up install-info support