%define pkg_name Math-Pari %define pkg_version 2.010709 %define rpm_pkg_version 2.010709 %define rpm_pkg_release 1.n0i.14 %define pari_version %(%{__perl} -e 'printf "%%d.%%d.%%d", "%{pkg_version}" =~ /^(\\d+)\\.(\\d{2})(\\d{2})/') # '^ yes, still using the OLD version! RTFM Summary: Interface to the powerful PARI library Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/I/IL/ILYAZ/modules/%{pkg_name}-%{pkg_version}.tar.gz Source1: http://pari.math.u-bordeaux.fr/pub/pari/unix/OLD/pari-%{pari_version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %global perl_filter_prov 'perl\\(Math::Pari\\)$' %description This package is a Perl interface to library PARI for numerical/scientific/number-theoretic calculations. It allows use of most PARI functions as Perl functions, and (almost) seamless merging of PARI and Perl data. %prep %setup -q -n %{pkg_name}-%{pkg_version} -a 1 %build export DLCFLAGS="-fPIC" tmp="%{optflags}" %define optflags $tmp -fomit-frame-pointer %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %exclude %{perl_vendorarch}/Math/libPARI.dumb.pod %exclude %{_mandir}/man3/Math::libPARI.dumb.3pm* %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 2.010709-1.n0i.14 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 2.010709 * Fri Jun 02 2006 Marius Feraru - 2.010706-1.n0i.13 - version 2.010706 * Wed May 31 2006 Marius Feraru - 2.010705-1.n0i.12 - Math::Pari version 2.010705 - masked pari version 2.3.0, Math::Pari doesn't work with it yet :( * Mon Mar 06 2006 Marius Feraru - 2.010703-1.n0i.11 - Math::Pari version 2.010703 * Thu Nov 03 2005 Marius Feraru 2.010700-1.n0i.10 - pari version 2.1.7 - Math::Pari version 2.0107 * Sun Jul 24 2005 Marius Feraru 2.010603-2.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:2.010603-1.n0i.8 - automatic rebuild (perl 5.8.6) * Sat Jan 22 2005 Marius Feraru 0:2.010603-1.n0i.7 - version 2.010603 * Tue Jan 04 2005 Marius Feraru 0:2.010602-1.n0i.6 - version 2.010602 * Sat Dec 04 2004 Marius Feraru 0:2.010501-2.n0i.5 - pari update (2.1.6) - rebuild (perl 5.8.6) * Wed May 05 2004 Marius Feraru 0:2.010501-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401 - rebuild (perl 5.8.4) * Sun Feb 22 2004 Marius FERARU 0:2.010501-1.n0i.3 - version 2.010501 * Thu Jan 29 2004 Marius FERARU 0:2.010500-0.n0i.2 - spec file (re?)created using N0i::CPAN::RPMizer/2004011001 * Sun Jun 29 2003 Marius FERARU - updated Math::Pari and pari versions - cleaned up spec file * Sun Jan 19 2003 root - 2.010304-1 - Specfile autogenerated.