1
0
Files
perl-Math-Pari/perl-Math-Pari.spec

54 lines
1.3 KiB
RPMSpec

%define modname Math-Pari
Name: perl-%{modname}
Version: 2.010800
Release: 1
Summary: Perl interface to PARI
Requires: perl = %{perl_version}
BuildRequires: perl
License: GPL/Artistic
Group: Development/Libraries/Perl
Source: %{modname}-%{version}.tar.bz2
Source1: pari-2.1.7.tar.bz2
Patch1: pari-2.1.7.diff
BuildRoot: %{_tmppath}/%{name}-root
%description
This package is a Perl interface to famous 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.
Authors:
--------
Ilya Zakharevich L<ilya@math.ohio-state.edu>
%prep
%setup -q -n %{modname}-%{version} -a 1
%patch1 -p0
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
# 1 test fails. It's a known bug and I really don't care
#make test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc README Changes TODO
%doc %{_mandir}/man?/*
%{perl_vendorarch}/Math
%{perl_vendorarch}/auto/Math
/var/adm/perl-modules/%{name}
%changelog
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 2.010706-1
- Initial release