]> git.pld-linux.org Git - packages/perl-Role-Basic.git/blob - perl-Role-Basic.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Role-Basic.git] / perl-Role-Basic.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do perform "make test"
4
5 %define         pdir    Role
6 %define         pnam    Basic
7 Summary:        Role::Basic - Just roles
8 Name:           perl-Role-Basic
9 Version:        0.13
10 Release:        1
11 License:        GPL or Artistic
12 Group:          Development/Languages/Perl
13 Source0:        http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Role-Basic-%{version}.tar.gz
14 # Source0-md5:  2985fbb47bd0a862bd56bc7cbba6e673
15 URL:            http://search.cpan.org/dist/Role-Basic/
16 BuildRequires:  perl-devel >= 1:5.8.0
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Role::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
36 rm -rf $RPM_BUILD_ROOT
37
38 %{__make} install \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -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.107761 seconds and 4 git commands to generate.