]> git.pld-linux.org Git - packages/perl-MooseX-Role-Parameterized.git/blob - perl-MooseX-Role-Parameterized.spec
- pl, updated dependencies
[packages/perl-MooseX-Role-Parameterized.git] / perl-MooseX-Role-Parameterized.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # unit tests
4
5 %define         pdir    MooseX
6 %define         pnam    Role-Parameterized
7 Summary:        MooseX::Role::Parameterized - Moose roles with composition parameters
8 Summary(pl.UTF-8):      MooseX::Role::Parameterized - role Moose z parametrami skÅ‚adania
9 Name:           perl-MooseX-Role-Parameterized
10 Version:        1.11
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/MooseX/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  a326fd9fb065dafc75fc0211797968e8
17 URL:            https://metacpan.org/dist/MooseX-Role-Parameterized
18 BuildRequires:  perl-devel >= 1:5.8.1
19 BuildRequires:  perl-ExtUtils-MakeMaker
20 BuildRequires:  perl-Module-Build-Tiny >= 0.034
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRequires:  rpmbuild(macros) >= 1.745
23 %if %{with tests}
24 BuildRequires:  perl-CPAN-Meta-Check >= 0.011
25 BuildRequires:  perl-CPAN-Meta-Requirements
26 BuildRequires:  perl-Module-Runtime
27 BuildRequires:  perl-Moose >= 2.0300
28 BuildRequires:  perl-Test-Fatal
29 BuildRequires:  perl-Test-Needs
30 BuildRequires:  perl-Test-Simple >= 0.96
31 BuildRequires:  perl-namespace-autoclean
32 BuildRequires:  perl-namespace-clean >= 0.19
33 %endif
34 BuildArch:      noarch
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %description
38 MooseX::Role::Parameterized - Moose roles with composition parameters.
39
40 %description -l pl.UTF-8
41 MooseX::Role::Parameterized - role Moose z parametrami skÅ‚adania.
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} pure_install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes README
65 %dir %{perl_vendorlib}/MooseX/Role
66 %{perl_vendorlib}/MooseX/Role/Parameterised.pm
67 %{perl_vendorlib}/MooseX/Role/Parameterized.pm
68 %{perl_vendorlib}/MooseX/Role/Parameterized
69 %{_mandir}/man3/MooseX::Role::Parameterised.3pm*
70 %{_mandir}/man3/MooseX::Role::Parameterized*.3pm*
This page took 0.138369 seconds and 4 git commands to generate.