1 |
Name: perl-File-Find-Rule |
2 |
Version: 0.34 |
3 |
Release: 1%{?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 |
* Sun Feb 26 2015 Jean-Philippe Pialasse <tests@pialasse.com> - 0.34-1.sme |
54 |
- updated to 0.34 |
55 |
|
56 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.30-9 |
57 |
- rebuild against perl 5.10.1 |
58 |
|
59 |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-8 |
60 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
61 |
|
62 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-7 |
63 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
64 |
|
65 |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-6 |
66 |
- Rebuild for perl 5.10 (again) |
67 |
|
68 |
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5 |
69 |
- rebuild for new perl |
70 |
|
71 |
* Tue Dec 11 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-4 |
72 |
- Add BR: perl(Test::More) (BZ 419631). |
73 |
|
74 |
* Mon Sep 03 2007 Ralf Corsépius <rc040203@freenet.de> - 0.30-3 |
75 |
- Update license tag. |
76 |
- Add BR: perl(ExtUtils::MakeMaker). |
77 |
|
78 |
* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-2 |
79 |
- Mass rebuild. |
80 |
|
81 |
* Mon Jun 05 2006 Ralf Corsépius <rc040203@freenet.de> - 0.30-1 |
82 |
- Upstream update. |
83 |
|
84 |
* Sun May 21 2006 Ralf Corsépius <rc040203@freenet.de> - 0.29-1 |
85 |
- Upstream update. |
86 |
|
87 |
* Tue Feb 28 2006 Ralf Corsépius <rc040203@freenet.de> - 0.28-4 |
88 |
- Rebuild for perl-5.8.8. |
89 |
|
90 |
* Tue Aug 16 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-3 |
91 |
- Spec cleanup. |
92 |
|
93 |
* Wed Aug 10 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-2 |
94 |
- FE re-submission. |
95 |
|
96 |
* Mon Mar 21 2005 Ralf Corsepius <ralf@links2linux.de> - 0.28-1 |
97 |
- FE submission. |