forked from pool/perl-Math-BigInt-GMP
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Math-BigInt-GMP?expand=0&rev=3
47 lines
993 B
RPMSpec
47 lines
993 B
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}
|
|
BuildRequires: perl gmp-devel
|
|
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
|
|
%{perl_vendorarch}/auto/Math/BigInt
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
%changelog
|
|
|
|
* Wed Jan 02 2008 - James Oakley <jfunk@funktronics.ca> - 1.24-1
|
|
- Initial release
|