]> git.pld-linux.org Git - packages/perl-ExtUtils-PerlPP.git/blob - perl-ExtUtils-PerlPP.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-ExtUtils-PerlPP.git] / perl-ExtUtils-PerlPP.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    ExtUtils
6 %define         pnam    PerlPP
7 Summary:        ExtUtils::PerlPP - a Perl preprocessor
8 Summary(pl.UTF-8):      ExtUtils::PerlPP - preprocesor Perla
9 Name:           perl-ExtUtils-PerlPP
10 Version:        0.03
11 Release:        9
12 License:        GPL or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  374a4aea0e190061ff4e21b903752ee4
16 URL:            http://search.cpan.org/dist/ExtUtils-PerlPP/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 ExtUtils::PerlPP module contains a Perl preprocessor.
24
25 %description -l pl.UTF-8
26 ModuĊ‚ ExtUtils::PerlPP zawiera preprocesor Perla.
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README
50 %{perl_vendorlib}/ExtUtils/PerlPP.pm
51 %{_mandir}/man3/*
This page took 0.088441 seconds and 4 git commands to generate.