rpms/perl-Math-GMP/devel perl-Math-GMP.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Tue Feb 7 11:53:18 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Math-GMP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv526/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Math-GMP.spec 
Log Message:
auto-import perl-Math-GMP-2.04-1 on branch devel from perl-Math-GMP-2.04-1.src.rpm


--- NEW FILE perl-Math-GMP.spec ---
Summary:	High speed arbitrary size integer math
Name:		perl-Math-GMP
Version:	2.04
Release:	1%{?dist}
License:	LGPL
Group:		Development/Libraries
Url:		http://search.cpan.org/dist/Math-GMP/
Source0:	http://search.cpan.org/CPAN/authors/id/C/CH/CHIPT/Math-GMP-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires:	gmp-devel

%description
Math::GMP was designed to be a drop-in replacement both for Math::BigInt and
for regular integer arithmetic. Unlike BigInt, though, Math::GMP uses the GNU
gmp library for all of its calculations, as opposed to straight Perl functions.
This can result in speed improvements.

%prep
%setup -q -n Math-GMP-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}

%check
%{__make} test

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type f -name '*.bs' -a -size 0 -exec %{__rm} -f {} ';'
/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,0755)
%doc README Changes LICENSE
%{perl_vendorarch}/Math/
%{perl_vendorarch}/auto/Math/
%{_mandir}/man3/Math::GMP.3pm*

%changelog
* Tue Nov 29 2005 Paul Howarth <paul at city-fan.org> 2.04-1
- Initial build


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-GMP/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Feb 2006 11:51:16 -0000	1.1
+++ .cvsignore	7 Feb 2006 11:53:18 -0000	1.2
@@ -0,0 +1 @@
+Math-GMP-2.04.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Math-GMP/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Feb 2006 11:51:16 -0000	1.1
+++ sources	7 Feb 2006 11:53:18 -0000	1.2
@@ -0,0 +1 @@
+291e5847986c7591cd70c1788c979a98  Math-GMP-2.04.tar.gz




More information about the scm-commits mailing list