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
This commit is contained in:
parent
3ad0564d7e
commit
0b82e8ecac
@ -0,0 +1 @@
|
|||||||
|
File-Find-Rule-Perl-0.03.tar.gz
|
52
perl-File-Find-Rule-Perl.spec
Normal file
52
perl-File-Find-Rule-Perl.spec
Normal file
@ -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 <rc040203@freenet.de> - 0.03-1
|
||||||
|
- Initial version.
|
Loading…
Reference in New Issue
Block a user