rpms/perl-Best/F-10 import.log, NONE, 1.1 perl-Best.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Wed Mar 18 22:52:15 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-Best/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20481/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-Best.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-Best-0_12-1_fc10:F-10:perl-Best-0.12-1.fc10.src.rpm:1237416700


--- NEW FILE perl-Best.spec ---
Name:       perl-Best 
Version:    0.12 
Release:    1%{?dist}
# note that README says "perl", but the actual source says "MIT"
# lib/Best.pm -> MIT
License:    MIT 
Group:      Development/Libraries
Summary:    Fallbackable module loader 
Source:     http://search.cpan.org/CPAN/authors/id/G/GA/GAAL/Best-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/Best
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
# optional
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)

%description
Often there are several possible providers of some functionality your
program needs, but you don't know which is available at the run site.
For example, one of the modules may be implemented with XS, or not in
the core Perl distribution and thus not necessarily installed.*Best*
attempts to load modules from a list, stopping at the first successful
load and failing only if no alternative was found.

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

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

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes README 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Mon Mar 09 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.12-1
- submission

* Tue Mar 03 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.12-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Best/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	17 Mar 2009 05:26:55 -0000	1.1
+++ .cvsignore	18 Mar 2009 22:51:44 -0000	1.2
@@ -0,0 +1 @@
+Best-0.12.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Best/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	17 Mar 2009 05:26:55 -0000	1.1
+++ sources	18 Mar 2009 22:51:45 -0000	1.2
@@ -0,0 +1 @@
+0af7afb378e3f8cac5c7af0bf75cfffa  Best-0.12.tar.gz




More information about the Fedora-perl-devel-list mailing list