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