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