auto-import perl-File-Find-Rule-0.28-2 on branch devel from
perl-File-Find-Rule-0.28-2.src.rpm
This commit is contained in:
parent
a5e805f927
commit
d5163f545e
@ -0,0 +1 @@
|
||||
File-Find-Rule-0.28.tar.gz
|
||||
56
perl-File-Find-Rule.spec
Normal file
56
perl-File-Find-Rule.spec
Normal file
@ -0,0 +1,56 @@
|
||||
Name: perl-File-Find-Rule
|
||||
Version: 0.28
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl module implementing an alternative interface to File::Find
|
||||
License: Artistic or GPL
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/File-Find-Rule/
|
||||
Source0: http://www.cpan.org/modules/by-module/File/File-Find-Rule-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Number::Compare)
|
||||
BuildRequires: perl(Text::Glob)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
File::Find::Rule is a friendlier interface to File::Find. It allows
|
||||
you to build rules which specify the desired files and directories.
|
||||
|
||||
%prep
|
||||
%setup -q -n File-Find-Rule-%{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 f -name '*.bs' -a -size 0 -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
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{_bindir}/findrule
|
||||
%{_mandir}/man1/*
|
||||
%{perl_vendorlib}/File
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2
|
||||
- FE re-submission.
|
||||
|
||||
* Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-1
|
||||
- FE submission.
|
||||
Loading…
Reference in New Issue
Block a user