]> git.pld-linux.org Git - packages/perl-Modern-Perl.git/blame - perl-Modern-Perl.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Modern-Perl.git] / perl-Modern-Perl.spec
CommitLineData
00f35a45
JR
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir Modern
6%define pnam Perl
00f35a45 7Summary: Modern::Perl - enable all of the features of Modern Perl with one command
726eaedc 8#Summary(pl.UTF-8):
00f35a45
JR
9Name: perl-Modern-Perl
10Version: 1.03
7b4d899d 11Release: 2
00f35a45
JR
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
726eaedc 15Source0: http://www.cpan.org/modules/by-authors/id/C/CH/CHROMATIC/Modern-Perl-%{version}.tar.gz
00f35a45
JR
16# Source0-md5: 1338c29f86b109280f8c723ece49299e
17URL: http://search.cpan.org/dist/Modern-Perl/
18BuildRequires: perl-Module-Build
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22%endif
23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27
28
726eaedc 29# %description -l pl.UTF-8 # TODO
00f35a45
JR
30
31%prep
32%setup -q -n %{pdir}-%{pnam}-%{version}
33
34%build
35%{__perl} Build.PL \
36 destdir=$RPM_BUILD_ROOT \
37 installdirs=vendor
38./Build
39
40%{?with_tests:./Build test}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45./Build install
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc Changes README
7b4d899d 53%dir %{perl_vendorlib}/Modern
00f35a45
JR
54%{perl_vendorlib}/Modern/*.pm
55%{_mandir}/man3/*
This page took 0.09024 seconds and 4 git commands to generate.