]> git.pld-linux.org Git - packages/perl-Role-Basic.git/blame - perl-Role-Basic.spec
use generic url
[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
f8d07132 7%include /usr/lib/rpm/macros.perl
a84d7e80
AM
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
f8d07132 16URL: http://search.cpan.org/dist/Role-Basic/
a84d7e80
AM
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Role::Basic - Just roles. Nothing else.
24
25%prep
26%setup -q -n %{pdir}-%{pnam}-%{version}
27
28%build
29%{__perl} Makefile.PL \
30 INSTALLDIRS=vendor
31
32%{__make}
33
34%{?with_tests:%{__make} test}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 DESTDIR=$RPM_BUILD_ROOT
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%{perl_vendorlib}/Role/Basic.pm
48%{_mandir}/man3/*
This page took 0.091482 seconds and 4 git commands to generate.