Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 3cc6a2093146e896c0f9d22d51f9d054 > files > 2

perl-Math-BigInt-1.63-2mdk.src.rpm

%define module  Math-BigInt
%define version 1.63
%define release 2mdk
%define	pdir	Math

Summary: 	%{module} module for perl
Name: 		perl-%{module}
Version: 	%{version}
Release: 	%{release}
License: 	GPL or Artistic
Group: 		Development/Perl
Source0: 	ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{module}-%{version}.tar.bz2
Url:            http://search.cpan.org/search?dist=%{module}
BuildArch: 	noarch
BuildRoot: 	%{_tmppath}/%{name}-buildroot
Requires: 	perl, perl-base
BuildRequires:	perl-devel

%description
%{module} is an arbitrary size integer math package.

%prep
%setup -q -n %{module}-%{version}

%build

CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make PREFIX="$RPM_BUILD_ROOT%{_prefix}" install

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(444,root,root,755)
%doc BENCHMARK BUGS CHANGES CREDITS GOALS HISTORY INSTALL LICENSE NEW README TODO examples
%{perl_vendorlib}/Math/BigInt
%{perl_vendorlib}/Math/*.pm
%{_mandir}/*/*


%changelog
* Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 1.63-2mdk
- rebuild

* Mon Oct 14 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.63-1mdk
- fix file list & build
- from Peter Chen <petechen@netilla.com> :
	- 1.63