summaryrefslogtreecommitdiffstats
path: root/perl-MooX-Roles-Pluggable.spec
blob: fce324a76e9c0170b26e9186297301f518b057a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Name:           perl-MooX-Roles-Pluggable
Version:        0.003
Release:        3%{?dist}
Summary:        Moo eXtension for pluggable roles
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/MooX-Roles-Pluggable/
Source0:        http://www.cpan.org/authors/id/R/RE/REHSACK/MooX-Roles-Pluggable-%{version}.tar.gz
BuildArch:      noarch
# Build:
BuildRequires:  make
BuildRequires:  perl
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires:  perl(strict)
BuildRequires:  perl(warnings)
# Run-time:
BuildRequires:  perl(Module::Pluggable) >= 4.8
BuildRequires:  perl(Module::Pluggable::Object)
BuildRequires:  perl(Moo::Role) >= 1.003000
# Tests:
BuildRequires:  perl(File::Basename)
BuildRequires:  perl(File::Spec)
BuildRequires:  perl(lib)
BuildRequires:  perl(Moo)
BuildRequires:  perl(Test::More) >= 0.9
Requires:       perl(Module::Pluggable) >= 4.8
Requires:       perl(Moo::Role) >= 1.003000
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
This module allows a class consuming several roles based on rules passed to
Module::Pluggable::Object.

%prep
%setup -q -n MooX-Roles-Pluggable-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}

%install
make pure_install DESTDIR=$RPM_BUILD_ROOT

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%files
%doc Changes README.md
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Wed Aug 12 2015 Tim Orling <ticotimo@gmail.com> - 0.003-3
- Drop EPEL support, too many missing dependencies
- Add additional dependencies for review (#1242727)

* Wed Aug 05 2015 Tim Orling <ticotimo@gmail.com> - 0.003-2
- Clean up spec file for review (#1242727)

* Sun Jul 12 2015 Tim Orling 0.003-1
- Update to 0.003 version
- Build is now with ExtUtils::MakeMaker
- Merge specfile autogenerated by cpanspec 1.78 for 0.003

* Thu Apr 02 2015 Tim Orling 0.002-1
- Specfile autogenerated by cpanspec 1.78.