1 | # This file is licensed under the terms of GNU GPLv2+. |
---|
2 | Name: perl-Module-Runtime |
---|
3 | Version: 0.013 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | Summary: Runtime module handling |
---|
6 | License: GPL+ or Artistic |
---|
7 | Group: Development/Libraries |
---|
8 | URL: http://search.cpan.org/dist/Module-Runtime/ |
---|
9 | Source0: http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz |
---|
10 | BuildArch: noarch |
---|
11 | BuildRequires: perl(Module::Build) |
---|
12 | # Tests: |
---|
13 | BuildRequires: perl(Test::More) |
---|
14 | # Optional tests: |
---|
15 | BuildRequires: perl(Test::Pod) >= 1.00 |
---|
16 | BuildRequires: perl(Test::Pod::Coverage) |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | %description |
---|
20 | The functions exported by this module deal with runtime handling of Perl |
---|
21 | modules, which are normally handled at compile time. |
---|
22 | |
---|
23 | %prep |
---|
24 | %setup -q -n Module-Runtime-%{version} |
---|
25 | |
---|
26 | %build |
---|
27 | %{__perl} Build.PL installdirs=vendor |
---|
28 | ./Build |
---|
29 | |
---|
30 | %install |
---|
31 | rm -rf %{buildroot} |
---|
32 | ./Build install destdir=%{buildroot} create_packlist=0 |
---|
33 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
34 | %{_fixperms} %{buildroot}/* |
---|
35 | |
---|
36 | %check |
---|
37 | ./Build test |
---|
38 | |
---|
39 | %clean |
---|
40 | rm -rf %{buildroot} |
---|
41 | |
---|
42 | %files |
---|
43 | %doc Changes README |
---|
44 | %{perl_vendorlib}/* |
---|
45 | %{_mandir}/man3/* |
---|
46 | |
---|
47 | %changelog |
---|
48 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.013-1 |
---|
49 | - initial build for Vine Linux |
---|
50 | |
---|
51 | * Mon Feb 20 2012 Petr Pisar <ppisar@redhat.com> - 0.013-1 |
---|
52 | - 0.013 bump |
---|
53 | |
---|
54 | * Mon Feb 13 2012 Petr Pisar <ppisar@redhat.com> - 0.012-1 |
---|
55 | - 0.012 bump |
---|
56 | |
---|
57 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.011-2 |
---|
58 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
59 | |
---|
60 | * Tue Oct 25 2011 Petr Pisar <ppisar@redhat.com> - 0.011-1 |
---|
61 | - 0.011 bump |
---|
62 | |
---|
63 | * Fri Oct 07 2011 Petr Pisar <ppisar@redhat.com> - 0.010-1 |
---|
64 | - 0.010 bump |
---|
65 | |
---|
66 | * Wed Oct 05 2011 Petr Pisar <ppisar@redhat.com> - 0.009-1 |
---|
67 | - 0.009 bump |
---|
68 | - Remove defattr now |
---|
69 | |
---|
70 | * Fri Jul 22 2011 Petr Sabata <contyk@redhat.com> - 0.008-2 |
---|
71 | - Perl mass rebuild |
---|
72 | |
---|
73 | * Mon Jul 11 2011 Petr Pisar <ppisar@redhat.com> 0.008-1 |
---|
74 | - Specfile autogenerated by cpanspec 1.78. |
---|
75 | - Remove BuildRoot and defattr |
---|