rpms/perl-Math-BaseCnv/F-8 perl-Math-BaseCnv-makefile.patch, NONE, 1.1 perl-Math-BaseCnv.spec, NONE, 1.1 sources, 1.1, 1.2

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Tue Dec 25 16:52:23 UTC 2007


Author: xavierb

Update of /cvs/pkgs/rpms/perl-Math-BaseCnv/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25363

Modified Files:
	sources 
Added Files:
	perl-Math-BaseCnv-makefile.patch perl-Math-BaseCnv.spec 
Log Message:
Import to F-8 branch.


perl-Math-BaseCnv-makefile.patch:

--- NEW FILE perl-Math-BaseCnv-makefile.patch ---
--- Makefile.PL.orig	2007-08-30 14:19:34.000000000 +0200
+++ Makefile.PL	2007-08-30 14:20:01.000000000 +0200
@@ -8,6 +8,7 @@
   'AUTHOR'       => 'Pip Stuart <Pip at CPAN.Org>',
   'EXE_FILES'    => [ 
                     ],
+  'PL_FILES'     => {},
   'PREREQ_PM'    => {
     'Memoize'                        => 0,
     'Test'                           => 0,


--- NEW FILE perl-Math-BaseCnv.spec ---
Name:           perl-Math-BaseCnv 
Version:        1.4.75O6Pbr
Release:        2%{?dist}
Summary:        Fast functions to CoNVert between number Bases

Group:          Development/Libraries
License:        GPLv2
URL:            http://search.cpan.org/dist/Math-BaseCnv
Source0:        http://search.cpan.org/CPAN/authors/id/P/PI/PIP/Math-BaseCnv-%{version}.tgz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch1:         perl-Math-BaseCnv-makefile.patch

BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::Pod)
BuildRequires:  perl(Test::Pod::Coverage)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
BaseCnv provides a few simple functions for converting between arbitrary
number bases. It is as fast as I currently know how to make it (of course
relying only on the lovely Perl). If you would rather utilize an object syntax
for number-base conversion, please see Ken Williams's
<Ken at Forum.Swarthmore.Edu> fine Math::BaseCalc module.


%prep
%setup -q -n Math-BaseCnv-%{version}
%patch1 -p0

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGES README ex
%{perl_vendorlib}/*
%{_mandir}/man3/Math::BaseCnv.3pm.gz


%changelog
* Fri Dec 21 2007 Xavier Bachelot <xavier at bachelot.org> - 1.4.75O6Pbr-2
- Clean up spec.
* Thu Aug 30 2007 Xavier Bachelot <xavier at bachelot.org> - 1.4.75O6Pbr-1
- Initial build.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Math-BaseCnv/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Dec 2007 17:42:27 -0000	1.1
+++ sources	25 Dec 2007 16:51:45 -0000	1.2
@@ -0,0 +1 @@
+60d5fb31db63e3d7a9807b0df37c4a80  Math-BaseCnv-1.4.75O6Pbr.tgz




More information about the fedora-extras-commits mailing list