Name: gsl Version: 1.15 Release: 1ark Summary: GNU Scientific Library URL: http://gsl.sf.net/ Source: ftp://sunsite.cnlab-switch.ch/mirror/gnu/gsl/%name-%version.tar.gz License: GPL Group: System Environment/Libraries BuildRoot: %_tmppath/%name-root %track prog %name = { url = http://www.gnu.org/software/gsl/ regex = "The current version is GSL-(__VER__)\. It was released" version = %version } %description The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. The library provides a wide range of mathematical routines such as random number generators, special functions and least-squares fitting. There are over 1000 functions in total. %package devel Summary: Development files for %name Group: Development/Libraries Requires: %name = %version-%release %description devel Development files (Headers etc.) for %name. %package static Summary: Static libraries for linking to %name Group: Development/Libraries Requires: %name-devel = %version-%release %description static Static libraries for linking to %name. Install this package if you wish to develop or compile applications using %name statically (users of the resulting binary won't need %name installed with static linking). %prep %setup export RPM_OPT_FLAGS="${RPM_OPT_FLAGS/-fgraphite-identity/}" %configure %build make %?_smp_mflags %install rm -rf $RPM_BUILD_ROOT make %?_smp_mflags install DESTDIR="$RPM_BUILD_ROOT" %files %defattr(-,root,root) %_libdir/*.so* %_bindir/* %_infodir/*.info* %_mandir/man1/* %files devel %defattr(-,root,root) %_includedir/* %_libdir/pkgconfig/* %_datadir/aclocal/* %_mandir/man3/* %files static %defattr(-,root,root) %_libdir/*.a %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%name-%version %changelog * Wed May 18 2011 Bernhard Rosenkraenzer <bero@arklinux.org> 1.15-1ark - 1.15 * Sat Apr 9 2010 Bernhard Rosenkraenzer <bero@arklinux.org> 1.14-1ark - 1.14 * Thu May 8 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 1.11-1ark - 1.11 - Remove libtool mess * Tue Mar 28 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 1.7-1ark - initial RPM