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