1 |
Name: perl-Role-Tiny |
2 |
Version: 2.000006 |
3 |
Release: 1%{?org_tag}%{?dist} |
4 |
Summary: Roles. Like a nouvelle cuisine portion size slice of Moose |
5 |
License: GPL+ or Artistic |
6 |
Group: Development/Libraries |
7 |
URL: http://search.cpan.org/dist/Role-Tiny/ |
8 |
Source0: http://localhost/cpan//authors/id/I/IL/ILMARI/Role-Tiny-%{version}.tar.gz |
9 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
BuildArch: noarch |
11 |
BuildRequires: perl(Exporter) >= 5.57 |
12 |
BuildRequires: perl(ExtUtils::MakeMaker) |
13 |
BuildRequires: perl(Test::Fatal) >= 0.003 |
14 |
BuildRequires: perl(Test::More) >= 0.96 |
15 |
BuildRequires: perl(Class::Method::Modifiers) >= 1.05 |
16 |
Requires: perl(Exporter) >= 5.57 |
17 |
Requires: perl(Class::Method::Modifiers) >= 1.05 |
18 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
19 |
Autoreq: no |
20 |
|
21 |
%description |
22 |
Role::Tiny is a minimalist role composition tool. |
23 |
|
24 |
%prep |
25 |
%setup -q -n Role-Tiny-%{version} |
26 |
|
27 |
%build |
28 |
%{__perl} Makefile.PL INSTALLDIRS=vendor |
29 |
make %{?_smp_mflags} |
30 |
|
31 |
%install |
32 |
rm -rf %{buildroot} |
33 |
|
34 |
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
35 |
|
36 |
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
37 |
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
38 |
|
39 |
%{_fixperms} %{buildroot}/* |
40 |
|
41 |
%check |
42 |
make test |
43 |
|
44 |
%clean |
45 |
rm -rf %{buildroot} |
46 |
|
47 |
%files |
48 |
%defattr(-,root,root,-) |
49 |
%doc Changes META.json README |
50 |
%{perl_vendorlib}/* |
51 |
%{_mandir}/man3/* |
52 |
|
53 |
%changelog |
54 |
* Wed Apr 04 2018 Gavin Carr <gavin@openfusion.com.au> 2.000006-1 |
55 |
- Update to version 2.000006. |
56 |
|
57 |
* Tue Apr 19 2016 Gavin Carr <gavin@openfusion.com.au> 2.000001-1 |
58 |
- Update to version 2.000001. |
59 |
|
60 |
* Fri Mar 06 2015 Gavin Carr <gavin@openfusion.com.au> 2.000000-1 |
61 |
- Update to version 2.000000. |
62 |
|
63 |
* Fri Sep 20 2013 Gavin Carr <gavin@openfusion.com.au> 1.003002-1 |
64 |
- Update to version 1.003002. |
65 |
|
66 |
* Wed Dec 12 2012 Gavin Carr <gavin@openfusion.com.au> 1.002004-1 |
67 |
- Specfile autogenerated by cpanspec 1.79. |