3 %bcond_without tests # do not perform "make test"
7 Summary: perlindex - a program to index and search the Perl documentation
8 Summary(pl.UTF-8): perlindex - program do indeksowania i przeszukiwania dokumentacji Perla
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/Text/%{pnam}-%{version}.tar.gz
15 # Source0-md5: a46ad625934bab8cbb1d7d20b1d5e131
16 URL: http://search.cpan.org/dist/perlindex/
17 BuildRequires: perl-Term-ReadKey
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 perlindex - a program to index and search the Perl documentation.
26 %description -l pl.UTF-8
27 perlindex - program do indeksowania i przeszukiwania dokumentacji
31 %setup -q -n %{pnam}-%{version}
34 %{__perl} Makefile.PL \
38 %{?with_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/*
53 %{perl_vendorlib}/Text/English.pm