Name: perl-Math-GSL Version: 0.27 Release: 1%{?dist} Summary: Math::GSL Perl module License: OSI-Approved Group: Development/Libraries URL: http://search.cpan.org/dist/Math-GSL/ Source0: http://www.cpan.org/authors/id/L/LE/LETO/Math-GSL-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl >= 1:v5.8.0 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(Module::Build) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Test::Class) >= 0.12 BuildRequires: perl(Test::Exception) >= 0.21 BuildRequires: perl(Test::Most) BuildRequires: perl(version) >= 0.77 Requires: perl(ExtUtils::PkgConfig) >= 1.03 Requires: perl(Scalar::Util) Requires: perl(version) >= 0.77 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Math::GSL is an interface to the [GNU Scientific Library](http://www.gnu.org/software/gsl/), using [SWIG](http://swig.org). The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. It is free software under the GNU General Public License. Math::GSL uses SWIG to generate Perl bindings to *most* GSL functionality. %prep %setup -q -n Math-GSL-%{version} %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes CREDITS examples KNOWN_BUGS META.json pm pod README.md swig TODO xs xt %{perl_vendorarch}/auto/* %{perl_vendorarch}/Math* %{_mandir}/man3/* %changelog * Tue Jul 23 2013 Dave Cross 0.27-1 - Specfile autogenerated by cpanspec 1.78.