]> git.pld-linux.org Git - packages/perl-Role-Basic.git/blame - perl-Role-Basic.spec
- initial
[packages/perl-Role-Basic.git] / perl-Role-Basic.spec
CommitLineData
a84d7e80
AM
1#
2# Conditional build:
3%bcond_without tests # do perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Role
7%define pnam Basic
8Summary: Role::Basic - Just roles
9Name: perl-Role-Basic
10Version: 0.13
11Release: 1
12License: GPL or Artistic
13Group: Development/Languages/Perl
14Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Role-Basic-%{version}.tar.gz
15# Source0-md5: 2985fbb47bd0a862bd56bc7cbba6e673
16BuildRequires: perl-devel >= 1:5.8.0
17BuildRequires: rpm-perlprov >= 4.1-13
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Role::Basic - Just roles. Nothing else.
23
24%prep
25%setup -q -n %{pdir}-%{pnam}-%{version}
26
27%build
28%{__perl} Makefile.PL \
29 INSTALLDIRS=vendor
30
31%{__make}
32
33%{?with_tests:%{__make} test}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38%{__make} install \
39 DESTDIR=$RPM_BUILD_ROOT
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%files
45%defattr(644,root,root,755)
46%{perl_vendorlib}/Role/Basic.pm
47%{_mandir}/man3/*
This page took 0.100269 seconds and 4 git commands to generate.