]> git.pld-linux.org Git - packages/perl-Parse-RecDescent.git/blob - perl-Parse-RecDescent.spec
- massive attack: change CPAN URLs
[packages/perl-Parse-RecDescent.git] / perl-Parse-RecDescent.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Parse
7 %define         pnam    RecDescent
8 Summary:        Perl Parse::RecDescent module
9 Summary(pl):    Modu³ Perla Parse::RecDescent
10 Name:           perl-Parse-RecDescent
11 Version:        1.80
12 Release:        7
13 License:        Perl Artistic License
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 Patch0:         %{name}-paths.patch
17 BuildRequires:  rpm-perlprov >= 3.0.3-18
18 BuildRequires:  perl-devel >= 5.6.1
19 Requires:       perl
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      perl-Text-Balanced
23
24 %define         _noautoreq      "perl(Calc)"
25
26 %description
27 Perl Parse::RecDescent module.
28
29 %description -l pl
30 Modu³ Perla Parse::RecDescent.
31
32 %prep
33 %setup -q -n %{pdir}-%{pnam}-%{version}
34 %patch0 -p1
35
36 %build
37 perl Makefile.PL
38 %{__make}
39 %{!?_without_tests:%{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README Changes
52 %{perl_sitelib}/Parse/*.pm
53 %{perl_sitelib}/Text/*.pm
54 %{_mandir}/man3/*
This page took 0.025853 seconds and 3 git commands to generate.