]> git.pld-linux.org Git - packages/perl-Role-Tiny.git/blame - perl-Role-Tiny.spec
- updated to 2.000005
[packages/perl-Role-Tiny.git] / perl-Role-Tiny.spec
CommitLineData
cdf1a69f
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Role
6%define pnam Tiny
7%include /usr/lib/rpm/macros.perl
1aff69f0
JB
8Summary: Role::Tiny - Roles; like a nouvelle cuisine portion size slice of Moose
9Summary(pl.UTF-8): Role::Tiny - role; podobnie jak nowy kuzyn o ułamku rozmiaru Moose
cdf1a69f 10Name: perl-Role-Tiny
90f6a983 11Version: 2.000005
cdf1a69f
JR
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
b58d1bba 16Source0: http://www.cpan.org/modules/by-authors/id/H/HA/HAARG/Role-Tiny-%{version}.tar.gz
90f6a983 17# Source0-md5: c8c5cf1e02d2e0a1ed22530b55b67d66
cdf1a69f 18URL: http://search.cpan.org/dist/Role-Tiny/
90f6a983
JB
19%if "%(rpm -q perl-devel --qf '%{VERSION}')" < "5.10"
20BuildRequires: perl-MRO-Compat
21%endif
cdf1a69f
JR
22BuildRequires: perl-devel >= 1:5.8.0
23BuildRequires: rpm-perlprov >= 4.1-13
24%if %{with tests}
90f6a983 25BuildRequires: perl(Exporter) >= 5.57
cdf1a69f 26BuildRequires: perl-Test-Fatal >= 0.003
1aff69f0 27BuildRequires: perl-Test-Simple >= 0.96
cdf1a69f
JR
28%endif
29BuildArch: noarch
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33Role::Tiny is a minimalist role composition tool.
34
1aff69f0
JB
35%description -l pl.UTF-8
36Role::Tiny to minimalistyczne narzędzie do kompozycji ról.
cdf1a69f
JR
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make}
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes README
1aff69f0 60%{perl_vendorlib}/Role/Tiny.pm
cdf1a69f 61%{perl_vendorlib}/Role/Tiny
1aff69f0
JB
62%{_mandir}/man3/Role::Tiny.3pm*
63%{_mandir}/man3/Role::Tiny::With.3pm*
This page took 0.09163 seconds and 4 git commands to generate.