]> git.pld-linux.org Git - packages/perl-Role-Basic.git/blame - perl-Role-Basic.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Role-Basic.git] / perl-Role-Basic.spec
CommitLineData
a84d7e80
AM
1#
2# Conditional build:
3%bcond_without tests # do perform "make test"
f8d07132 4
a84d7e80
AM
5%define pdir Role
6%define pnam Basic
7Summary: Role::Basic - Just roles
8Name: perl-Role-Basic
9Version: 0.13
10Release: 1
11License: GPL or Artistic
12Group: Development/Languages/Perl
13Source0: http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Role-Basic-%{version}.tar.gz
14# Source0-md5: 2985fbb47bd0a862bd56bc7cbba6e673
f8d07132 15URL: http://search.cpan.org/dist/Role-Basic/
a84d7e80
AM
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.117543 seconds and 4 git commands to generate.