forked from pool/perl-Math-BigInt-GMP
47 lines
1.0 KiB
RPMSpec
47 lines
1.0 KiB
RPMSpec
|
|
%define modname Math-BigInt-GMP
|
||
|
|
Name: perl-%{modname}
|
||
|
|
Version: 1.24
|
||
|
|
Release: 1
|
||
|
|
Summary: Use the GMP library for Math::BigInt Routines
|
||
|
|
Requires: perl = %{perl_version} perl-Math-BigInt
|
||
|
|
BuildRequires: perl gmp-devel perl-Math-BigInt
|
||
|
|
License: GPL/Artistic
|
||
|
|
Group: Development/Libraries/Perl
|
||
|
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
|
||
|
|
%description
|
||
|
|
Provides support for big integer calculations via means of the GMP c-library.
|
||
|
|
|
||
|
|
Authors:
|
||
|
|
--------
|
||
|
|
Tels <http://bloodgate.com/>
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q -n %{modname}-%{version}
|
||
|
|
|
||
|
|
%build
|
||
|
|
perl Makefile.PL
|
||
|
|
make
|
||
|
|
make test
|
||
|
|
|
||
|
|
%install
|
||
|
|
%perl_make_install
|
||
|
|
%perl_process_packlist
|
||
|
|
|
||
|
|
%clean
|
||
|
|
rm -rf %{buildroot}
|
||
|
|
|
||
|
|
%files
|
||
|
|
%defattr(-, root, root)
|
||
|
|
%doc BUGS CHANGES CREDITS LICENSE README TODO
|
||
|
|
%doc %{_mandir}/man?/*
|
||
|
|
%{perl_vendorlib}/Math/BigInt/GMP.pm
|
||
|
|
%{perl_vendorarch}/auto/Math/BigInt/GMP
|
||
|
|
/var/adm/perl-modules/%{name}
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
|
||
|
|
* Wed Jan 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.24-1
|
||
|
|
- Initial release
|