From 0b82e8ecacbf5a55c621e1e6a1f2841b1ec68765 Mon Sep 17 00:00:00 2001 From: corsepiu Date: Wed, 21 Nov 2007 22:55:58 +0000 Subject: [PATCH] auto-import perl-File-Find-Rule-Perl-0.03-1.fc8 on branch devel from perl-File-Find-Rule-Perl-0.03-1.fc8.src.rpm --- .cvsignore | 1 + perl-File-Find-Rule-Perl.spec | 52 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+) create mode 100644 perl-File-Find-Rule-Perl.spec diff --git a/.cvsignore b/.cvsignore index e69de29..b8cbefb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +File-Find-Rule-Perl-0.03.tar.gz diff --git a/perl-File-Find-Rule-Perl.spec b/perl-File-Find-Rule-Perl.spec new file mode 100644 index 0000000..41c5fe9 --- /dev/null +++ b/perl-File-Find-Rule-Perl.spec @@ -0,0 +1,52 @@ +Name: perl-File-Find-Rule-Perl +Version: 0.03 +Release: 1%{?dist} +Summary: Common rules for searching for Perl things +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-Find-Rule-Perl/ +Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(File::Find::Rule) >= 0.20 +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(Test::More) >= 0.47 + +# For improved tests +BuildRequires: perl(Test::Pod) >= 1.00 + +%description +Common rules for searching for Perl things. + +%prep +%setup -q -n File-Find-Rule-Perl-%{version} + +%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 -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +%clean +rm -rf $RPM_BUILD_ROOT + +%check +make test AUTOMATED_TESTING=1 + +%files +%defattr(-,root,root,-) +%doc Changes LICENSE +%{perl_vendorlib}/File +%{_mandir}/man3/* + +%changelog +* Mon Nov 19 2007 Ralf Corsépius - 0.03-1 +- Initial version. diff --git a/sources b/sources index e69de29..018c1ca 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a5fda6d6bc952336c2ef6275120a1df6 File-Find-Rule-Perl-0.03.tar.gz