1 | # Run optional test |
---|
2 | %bcond_with perl_Module_Pluggable_enables_optional_test |
---|
3 | |
---|
4 | Name: perl-Module-Pluggable |
---|
5 | Version: 5.2 |
---|
6 | Release: 11%{?_dist_release} |
---|
7 | Summary: Automatically give your module the ability to have plugins |
---|
8 | License: GPL+ or Artistic |
---|
9 | URL: https://metacpan.org/release/Module-Pluggable |
---|
10 | Source0: https://cpan.metacpan.org/authors/id/S/SI/SIMONW/Module-Pluggable-%{version}.tar.gz |
---|
11 | |
---|
12 | Vendor: Project Vine |
---|
13 | Distribution: Vine Linux |
---|
14 | |
---|
15 | BuildArch: noarch |
---|
16 | BuildRequires: coreutils |
---|
17 | BuildRequires: findutils |
---|
18 | BuildRequires: make |
---|
19 | BuildRequires: perl >= 2:5.26.2 |
---|
20 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
21 | BuildRequires: perl(File::Spec::Functions) |
---|
22 | BuildRequires: perl(strict) |
---|
23 | BuildRequires: perl(warnings) |
---|
24 | # Run-time: |
---|
25 | BuildRequires: perl(Carp) |
---|
26 | BuildRequires: perl(deprecate) |
---|
27 | BuildRequires: perl(Exporter) |
---|
28 | BuildRequires: perl(File::Basename) |
---|
29 | BuildRequires: perl(File::Find) |
---|
30 | BuildRequires: perl(if) |
---|
31 | BuildRequires: perl(vars) |
---|
32 | # Recommended run-time: |
---|
33 | BuildRequires: perl(Module::Runtime) |
---|
34 | # Tests: |
---|
35 | BuildRequires: perl(base) |
---|
36 | BuildRequires: perl(Data::Dumper) |
---|
37 | BuildRequires: perl(FindBin) |
---|
38 | BuildRequires: perl(lib) |
---|
39 | BuildRequires: perl(Test::More) |
---|
40 | # IncTest is a locally overloaded module in t/lib/Text/Abbrev.pm |
---|
41 | %if %{with perl_Module_Pluggable_enables_optional_test} |
---|
42 | # Optional tests: |
---|
43 | BuildRequires: perl(App::FatPacker) |
---|
44 | BuildRequires: perl(Cwd) |
---|
45 | BuildRequires: perl(File::Copy) |
---|
46 | BuildRequires: perl(File::Path) |
---|
47 | BuildRequires: perl(File::Temp) |
---|
48 | %endif |
---|
49 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
50 | Requires: perl(File::Spec::Functions) |
---|
51 | Requires: perl(deprecate) |
---|
52 | # Recommended run-time: |
---|
53 | Recommends: perl(Module::Runtime) |
---|
54 | |
---|
55 | # Filter under-specified dependencies |
---|
56 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec::Functions\\)$ |
---|
57 | |
---|
58 | %description |
---|
59 | This package provides a simple but, hopefully, extensible way of having |
---|
60 | 'plugins' for your module. Essentially all it does is export a method into |
---|
61 | your name space that looks through a search path for .pm files and turn those |
---|
62 | into class names. Optionally it instantiates those classes for you. |
---|
63 | |
---|
64 | %prep |
---|
65 | %setup -q -n Module-Pluggable-%{version} |
---|
66 | find -type f -exec chmod -x {} + |
---|
67 | |
---|
68 | %build |
---|
69 | perl Makefile.PL INSTALLDIRS=vendor |
---|
70 | make %{?_smp_mflags} |
---|
71 | |
---|
72 | %install |
---|
73 | make pure_install DESTDIR=%{buildroot} |
---|
74 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
75 | %{_fixperms} %{buildroot}/* |
---|
76 | |
---|
77 | %check |
---|
78 | make test |
---|
79 | |
---|
80 | %files |
---|
81 | %doc Changes README |
---|
82 | %{perl_vendorlib}/* |
---|
83 | %{_mandir}/man3/* |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 5.2-11 |
---|
87 | - initial build for Vine Linux. |
---|
88 | |
---|
89 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-10 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
91 | |
---|
92 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-9 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
94 | |
---|
95 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-8 |
---|
96 | - Perl 5.28 rebuild |
---|
97 | |
---|
98 | * Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-7 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
100 | |
---|
101 | * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-6 |
---|
102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
103 | |
---|
104 | * Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-5 |
---|
105 | - Perl 5.26 rebuild |
---|
106 | |
---|
107 | * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-4 |
---|
108 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
109 | |
---|
110 | * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2:5.2-3 |
---|
111 | - Perl 5.24 rebuild |
---|
112 | |
---|
113 | * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:5.2-2 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
---|
115 | |
---|
116 | * Mon Aug 31 2015 Petr Pisar <ppisar@redhat.com> - 2:5.2-1 |
---|
117 | - 5.2 bump |
---|
118 | |
---|
119 | * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-6 |
---|
120 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
---|
121 | |
---|
122 | * Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-5 |
---|
123 | - Perl 5.22 re-rebuild of bootstrapped packages |
---|
124 | |
---|
125 | * Fri Jun 05 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-4 |
---|
126 | - Perl 5.22 rebuild |
---|
127 | |
---|
128 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:5.10-3 |
---|
129 | - Perl 5.20 rebuild |
---|
130 | |
---|
131 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:5.10-2 |
---|
132 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
133 | |
---|
134 | * Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.10-1 |
---|
135 | - 5.1 bump |
---|
136 | |
---|
137 | * Mon Jan 06 2014 Petr Pisar <ppisar@redhat.com> - 1:5.00-1 |
---|
138 | - 5.0 bump |
---|
139 | |
---|
140 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:4.80-291 |
---|
141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
142 | |
---|
143 | * Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1:4.80-290 |
---|
144 | - Increase release to favour standalone package |
---|
145 | |
---|
146 | * Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-2 |
---|
147 | - Perl 5.18 rebuild |
---|
148 | |
---|
149 | * Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.8-1 |
---|
150 | - 4.8 bump |
---|
151 | |
---|
152 | * Thu Feb 28 2013 Petr Pisar <ppisar@redhat.com> - 1:4.7-1 |
---|
153 | - 4.7 bump |
---|
154 | |
---|
155 | * Thu Jan 24 2013 Petr Pisar <ppisar@redhat.com> 1:4.6-1 |
---|
156 | - Specfile autogenerated by cpanspec 1.78. |
---|