1 |
Name: perl-File-Find-Rule |
2 |
Version: 0.30 |
3 |
Release: 9%{?dist} |
4 |
Summary: Perl module implementing an alternative interface to File::Find |
5 |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/File-Find-Rule/ |
8 |
Source0: http://www.cpan.org/modules/by-module/File/File-Find-Rule-%{version}.tar.gz |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
11 |
BuildArch: noarch |
12 |
BuildRequires: perl |
13 |
BuildRequires: perl(ExtUtils::MakeMaker) |
14 |
BuildRequires: perl(Number::Compare) |
15 |
BuildRequires: perl(Text::Glob) |
16 |
BuildRequires: perl(Test::More) |
17 |
|
18 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
19 |
|
20 |
%description |
21 |
File::Find::Rule is a friendlier interface to File::Find. It allows |
22 |
you to build rules which specify the desired files and directories. |
23 |
|
24 |
%prep |
25 |
%setup -q -n File-Find-Rule-%{version} |
26 |
|
27 |
%build |
28 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
29 |
make %{?_smp_mflags} |
30 |
|
31 |
%install |
32 |
rm -rf $RPM_BUILD_ROOT |
33 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
34 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
35 |
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
36 |
chmod -R u+w $RPM_BUILD_ROOT/* |
37 |
|
38 |
%clean |
39 |
rm -rf $RPM_BUILD_ROOT |
40 |
|
41 |
%check |
42 |
make test |
43 |
|
44 |
%files |
45 |
%defattr(-,root,root,-) |
46 |
%doc Changes README |
47 |
%{_bindir}/findrule |
48 |
%{_mandir}/man1/* |
49 |
%{perl_vendorlib}/File |
50 |
%{_mandir}/man3/* |
51 |
|
52 |
%changelog |
53 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-9 |
54 |
- rebuild against perl 5.10.1 |
55 |
|
56 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-8 |
57 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
58 |
|
59 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7 |
60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
61 |
|
62 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-6 |
63 |
- Rebuild for perl 5.10 (again) |
64 |
|
65 |
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5 |
66 |
- rebuild for new perl |
67 |
|
68 |
* Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-4 |
69 |
- Add BR: perl(Test::More) (BZ 419631). |
70 |
|
71 |
* Mon Sep 03 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-3 |
72 |
- Update license tag. |
73 |
- Add BR: perl(ExtUtils::MakeMaker). |
74 |
|
75 |
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-2 |
76 |
- Mass rebuild. |
77 |
|
78 |
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-1 |
79 |
- Upstream update. |
80 |
|
81 |
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.29-1 |
82 |
- Upstream update. |
83 |
|
84 |
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.28-4 |
85 |
- Rebuild for perl-5.8.8. |
86 |
|
87 |
* Tue Aug 16 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-3 |
88 |
- Spec cleanup. |
89 |
|
90 |
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2 |
91 |
- FE re-submission. |
92 |
|
93 |
* Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-1 |
94 |
- FE submission. |