| 1 | %global perl_bootstrap 1 |
|---|
| 2 | |
|---|
| 3 | Name: perl-File-Find-Rule-Perl |
|---|
| 4 | Version: 1.15 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | Summary: Common rules for searching for Perl things |
|---|
| 7 | License: GPL+ or Artistic |
|---|
| 8 | Group: Development/Libraries |
|---|
| 9 | URL: http://search.cpan.org/dist/File-Find-Rule-Perl/ |
|---|
| 10 | Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz |
|---|
| 11 | |
|---|
| 12 | BuildArch: noarch |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 14 | BuildRequires: perl(File::Find::Rule) |
|---|
| 15 | BuildRequires: perl(File::Spec) |
|---|
| 16 | BuildRequires: perl(Test::More) |
|---|
| 17 | BuildRequires: perl(Params::Util) |
|---|
| 18 | BuildRequires: perl(Parse::CPAN::Meta) |
|---|
| 19 | |
|---|
| 20 | # For improved tests |
|---|
| 21 | %if !%{defined perl_bootstrap} |
|---|
| 22 | BuildRequires: perl(Perl::MinimumVersion) |
|---|
| 23 | BuildRequires: perl(Test::MinimumVersion) |
|---|
| 24 | BuildRequires: perl(Test::Pod) |
|---|
| 25 | BuildRequires: perl(Test::CPAN::Meta) |
|---|
| 26 | %endif |
|---|
| 27 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
|---|
| 28 | |
|---|
| 29 | Vendor: Project Vine |
|---|
| 30 | Distribution: Vine Linux |
|---|
| 31 | Packager: shaolin |
|---|
| 32 | |
|---|
| 33 | %description |
|---|
| 34 | Common rules for searching for Perl things. |
|---|
| 35 | |
|---|
| 36 | %prep |
|---|
| 37 | %setup -q -T -c |
|---|
| 38 | %setup -q -T -D -a0 |
|---|
| 39 | |
|---|
| 40 | %build |
|---|
| 41 | cd File-Find-Rule-Perl-%{version} |
|---|
| 42 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
|---|
| 43 | make %{?_smp_mflags} |
|---|
| 44 | cd .. |
|---|
| 45 | |
|---|
| 46 | %install |
|---|
| 47 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 48 | cd File-Find-Rule-Perl-%{version} |
|---|
| 49 | make pure_install PERL_INSTALL_ROOT=${RPM_BUILD_ROOT} |
|---|
| 50 | cd .. |
|---|
| 51 | find ${RPM_BUILD_ROOT} -type f -name .packlist -exec rm -f {} ';' |
|---|
| 52 | find ${RPM_BUILD_ROOT} -type d -depth -exec rmdir {} 2>/dev/null ';' |
|---|
| 53 | chmod -R u+w ${RPM_BUILD_ROOT}/* |
|---|
| 54 | |
|---|
| 55 | %clean |
|---|
| 56 | rm -rf ${RPM_BUILD_ROOT} |
|---|
| 57 | |
|---|
| 58 | %check |
|---|
| 59 | %if !%{defined perl_bootstrap} |
|---|
| 60 | cd File-Find-Rule-Perl-%{version} |
|---|
| 61 | make test AUTOMATED_TESTING=1 |
|---|
| 62 | cd .. |
|---|
| 63 | %endif |
|---|
| 64 | |
|---|
| 65 | %files |
|---|
| 66 | %defattr(-,root,root,-) |
|---|
| 67 | %license File-Find-Rule-Perl-%{version}/LICENSE |
|---|
| 68 | %doc File-Find-Rule-Perl-%{version}/Changes |
|---|
| 69 | %{perl_vendorlib}/File |
|---|
| 70 | %{_mandir}/man3/* |
|---|
| 71 | |
|---|
| 72 | %changelog |
|---|
| 73 | * Sat May 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.15-1 |
|---|
| 74 | - new upstream release. |
|---|
| 75 | - rebuilt with perl-5.26. |
|---|
| 76 | |
|---|
| 77 | * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.13-1 |
|---|
| 78 | - updated to 1.13 |
|---|
| 79 | - built with perl 5.16.3 |
|---|
| 80 | |
|---|
| 81 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-2 |
|---|
| 82 | - rebuild |
|---|
| 83 | |
|---|
| 84 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.12-1 |
|---|
| 85 | - initial build for Vine Linux |
|---|
| 86 | - define perl_boostrap until things get done... |
|---|
| 87 | |
|---|
| 88 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12-2 |
|---|
| 89 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
|---|
| 90 | |
|---|
| 91 | * Fri Nov 25 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12-1 |
|---|
| 92 | - Upstream update. |
|---|
| 93 | - Update BRs. |
|---|
| 94 | - Spec file cleanup. |
|---|
| 95 | |
|---|
| 96 | * Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3 |
|---|
| 97 | - rebuild with Perl 5.14.1 |
|---|
| 98 | - add perl_bootstrap macro for test BR |
|---|
| 99 | |
|---|
| 100 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2 |
|---|
| 101 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 102 | |
|---|
| 103 | * Wed Nov 03 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.10-1 |
|---|
| 104 | - Upstream update. |
|---|
| 105 | |
|---|
| 106 | * Sun May 09 2010 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-5 |
|---|
| 107 | - Re-enable pmv-test. |
|---|
| 108 | |
|---|
| 109 | * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-4 |
|---|
| 110 | - Mass rebuild with perl-5.12.0 |
|---|
| 111 | |
|---|
| 112 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.09-3 |
|---|
| 113 | - Mass rebuild with perl-5.12.0 |
|---|
| 114 | |
|---|
| 115 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.09-2 |
|---|
| 116 | - rebuild against perl 5.10.1 |
|---|
| 117 | |
|---|
| 118 | * Fri Aug 07 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.09-1 |
|---|
| 119 | - Upstream update. |
|---|
| 120 | |
|---|
| 121 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2 |
|---|
| 122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 123 | |
|---|
| 124 | * Mon Jul 20 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.08-1 |
|---|
| 125 | - Upstream update. |
|---|
| 126 | |
|---|
| 127 | * Wed Jun 17 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.06-1 |
|---|
| 128 | - Upstream update. |
|---|
| 129 | - Build in subdir to work-around rpm disturbing testsuite. |
|---|
| 130 | - Rework BRs. |
|---|
| 131 | |
|---|
| 132 | * Fri Feb 27 2009 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.04-4 |
|---|
| 133 | - Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff). |
|---|
| 134 | |
|---|
| 135 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.04-3 |
|---|
| 136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
|---|
| 137 | |
|---|
| 138 | * Tue Jun 24 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-2 |
|---|
| 139 | - Unconditionally BR: perl(Test::CPAN::Meta). |
|---|
| 140 | |
|---|
| 141 | * Tue Jun 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.04-1 |
|---|
| 142 | - Upstream update. |
|---|
| 143 | |
|---|
| 144 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-3 |
|---|
| 145 | - Rebuild for perl 5.10 (again) |
|---|
| 146 | |
|---|
| 147 | * Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.03-2 |
|---|
| 148 | - rebuild for new perl |
|---|
| 149 | |
|---|
| 150 | * Mon Nov 19 2007 Ralf Corsépius <rc040203@freenet.de> - 0.03-1 |
|---|
| 151 | - Initial version. |
|---|