1 |
jpp |
1.1 |
Name: perl-Moo |
2 |
|
|
Version: 2.003004 |
3 |
|
|
Release: 1%{?org_tag}%{?dist} |
4 |
|
|
Summary: Minimalist Object Orientation (with Moose compatiblity) |
5 |
|
|
License: GPL+ or Artistic |
6 |
|
|
Group: Development/Libraries |
7 |
|
|
URL: http://search.cpan.org/dist/Moo/ |
8 |
|
|
Source0: http://localhost/cpan//authors/id/M/MS/MSTROUT/Moo-%{version}.tar.gz |
9 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
10 |
|
|
BuildArch: noarch |
11 |
|
|
BuildRequires: perl(Class::Method::Modifiers) >= 1.1 |
12 |
|
|
BuildRequires: perl(Class::XSAccessor) >= 1.18 |
13 |
|
|
BuildRequires: perl(CPAN::Meta) |
14 |
|
|
BuildRequires: perl(CPAN::Meta::Requirements) |
15 |
|
|
BuildRequires: perl(Devel::GlobalDestruction) >= 0.11 |
16 |
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 |
17 |
|
|
BuildRequires: perl(Module::Runtime) >= 0.014 |
18 |
|
|
BuildRequires: perl(Role::Tiny) >= 2.000004 |
19 |
|
|
BuildRequires: perl(strictures) >= 2 |
20 |
|
|
BuildRequires: perl(Sub::Defer) >= 2.003001 |
21 |
|
|
BuildRequires: perl(Sub::Name) >= 0.08 |
22 |
|
|
BuildRequires: perl(Sub::Quote) >= 2.003001 |
23 |
|
|
BuildRequires: perl(Test::Fatal) >= 0.003 |
24 |
|
|
BuildRequires: perl(Test::More) >= 0.96 |
25 |
|
|
%if %rhel < 6 |
26 |
|
|
BuildRequires: perl(MRO::Compat) |
27 |
|
|
%endif |
28 |
|
|
Requires: perl(Class::Method::Modifiers) >= 1.1 |
29 |
|
|
Requires: perl(Class::XSAccessor) >= 1.18 |
30 |
|
|
Requires: perl(Devel::GlobalDestruction) >= 0.11 |
31 |
|
|
Requires: perl(Module::Runtime) >= 0.014 |
32 |
|
|
Requires: perl(Role::Tiny) >= 2.000004 |
33 |
|
|
BuildRequires: perl(Sub::Defer) >= 2.003001 |
34 |
|
|
Requires: perl(Sub::Name) >= 0.08 |
35 |
|
|
BuildRequires: perl(Sub::Quote) >= 2.003001 |
36 |
|
|
BuildRequires: perl(Sub::Name) >= 0.08 |
37 |
|
|
Requires: perl(strictures) >= 2 |
38 |
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
39 |
|
|
%if %rhel < 6 |
40 |
|
|
Requires: perl(MRO::Compat) |
41 |
|
|
%endif |
42 |
|
|
Autoreq: no |
43 |
|
|
|
44 |
|
|
%description |
45 |
|
|
This module is an extremely light-weight, high-performance Moose |
46 |
|
|
replacement. It also avoids depending on any XS modules to allow simple |
47 |
|
|
deployments. The name Moo is based on the idea that it provides almost -but |
48 |
|
|
not quite- two thirds of Moose. |
49 |
|
|
|
50 |
|
|
%prep |
51 |
|
|
%setup -q -n Moo-%{version} |
52 |
|
|
|
53 |
|
|
%build |
54 |
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor |
55 |
|
|
make %{?_smp_mflags} |
56 |
|
|
|
57 |
|
|
%install |
58 |
|
|
rm -rf %{buildroot} |
59 |
|
|
|
60 |
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot} |
61 |
|
|
|
62 |
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
63 |
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
64 |
|
|
|
65 |
|
|
%{_fixperms} %{buildroot}/* |
66 |
|
|
|
67 |
|
|
%check |
68 |
|
|
make test |
69 |
|
|
|
70 |
|
|
%clean |
71 |
|
|
rm -rf %{buildroot} |
72 |
|
|
|
73 |
|
|
%files |
74 |
|
|
%defattr(-,root,root,-) |
75 |
|
|
%doc Changes META.json README |
76 |
|
|
%{perl_vendorlib}/* |
77 |
|
|
%{_mandir}/man3/* |
78 |
|
|
#%{_bindir}/* |
79 |
|
|
|
80 |
|
|
%changelog |
81 |
|
|
* Wed Apr 04 2018 Gavin Carr <gavin@openfusion.com.au> 2.003004-1 |
82 |
|
|
- Update to version 2.003004. |
83 |
|
|
|
84 |
|
|
* Wed Oct 28 2015 Gavin Carr <gavin@openfusion.com.au> 2.000002-1 |
85 |
|
|
- Update to version 2.000002. |
86 |
|
|
|
87 |
|
|
* Wed Jan 15 2014 Gavin Carr <gavin@openfusion.com.au> 1.004002-1 |
88 |
|
|
- Update to version 1.004002. |
89 |
|
|
|
90 |
|
|
* Fri Sep 20 2013 Gavin Carr <gavin@openfusion.com.au> 1.003001-1 |
91 |
|
|
- Update to version 1.003001. |
92 |
|
|
|
93 |
|
|
* Wed Dec 12 2012 Gavin Carr <gavin@openfusion.com.au> 1.000006-1 |
94 |
|
|
- Update to version 1.000006. |
95 |
|
|
|
96 |
|
|
* Tue Jan 03 2012 Gavin Carr <gavin@openfusion.com.au> 0.009013-1 |
97 |
|
|
- Updated to 0.009013. |
98 |
|
|
|
99 |
|
|
* Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 0.009012-1 |
100 |
|
|
- Specfile autogenerated by cpanspec 1.79. |