3 %bcond_without tests # do not perform "make test"
7 Summary: Module::Find - Find and use installed modules in a (sub)category
8 Summary(pl.UTF-8): Module::Find - wyszukiwanie i używanie modułów w (pod)kategorii
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 28a11699901c2b07795ad59827d6ee66
17 URL: http://search.cpan.org/dist/Module-Find/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-Test-Pod >= 1.14
22 BuildRequires: perl-Test-Pod-Coverage >= 1.04
23 BuildRequires: perl-Test-Simple
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Module::Find lets you find and use modules in categories. This can be
30 very useful for auto-detecting driver or plugin modules. You can
31 differentiate between looking in the category itself or in all
34 %description -l pl.UTF-8
35 Module::Find pozwala odnaleźć i używać moduly w kategoriach. Może to
36 być bardzo przydatne do automatycznego wykrywania modułów sterowników
37 lub wtyczek. Można rozróżnić pomiędzy szukaniem w ramach samej
38 kategorii lub we wszystkich podkategoriach.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/Module/Find.pm
63 %{_mandir}/man3/Module::Find.3pm*