1 |
Name: perl-Module-Runtime |
2 |
Version: 0.014 |
3 |
Release: 1%{?org_tag}%{?dist} |
4 |
Summary: Runtime module handling |
5 |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/Module-Runtime/ |
8 |
Source0: http://localhost/cpan//authors/id/Z/ZE/ZEFRAM/Module-Runtime-%{version}.tar.gz |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
BuildArch: noarch |
11 |
BuildRequires: perl >= 0:5.006 |
12 |
BuildRequires: perl(Module::Build) |
13 |
BuildRequires: perl(Params::Classify) |
14 |
BuildRequires: perl(parent) |
15 |
BuildRequires: perl(Test::More) |
16 |
Requires: perl(Params::Classify) |
17 |
Requires: perl(parent) |
18 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
19 |
Autoreq: no |
20 |
|
21 |
%description |
22 |
The functions exported by this module deal with runtime handling of Perl |
23 |
modules, which are normally handled at compile time. |
24 |
|
25 |
%prep |
26 |
%setup -q -n Module-Runtime-%{version} |
27 |
|
28 |
%build |
29 |
%{__perl} Build.PL installdirs=vendor |
30 |
./Build |
31 |
|
32 |
%install |
33 |
rm -rf %{buildroot} |
34 |
|
35 |
./Build install destdir=%{buildroot} create_packlist=0 |
36 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
37 |
|
38 |
%{_fixperms} %{buildroot}/* |
39 |
|
40 |
%check |
41 |
./Build test |
42 |
|
43 |
%clean |
44 |
rm -rf %{buildroot} |
45 |
|
46 |
%files |
47 |
%defattr(-,root,root,-) |
48 |
%doc Changes META.json README |
49 |
%{perl_vendorlib}/* |
50 |
%{_mandir}/man3/* |
51 |
|
52 |
%changelog |
53 |
* Wed Jul 23 2014 Gavin Carr <gavin@openfusion.com.au> 0.014-1 |
54 |
- Update to version 0.014. |
55 |
|
56 |
* Thu Apr 26 2012 Gavin Carr <gavin@openfusion.com.au> 0.013-1 |
57 |
- Update to version 0.013. |
58 |
|
59 |
* Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 0.011-1 |
60 |
- Specfile autogenerated by cpanspec 1.79. |