]> git.pld-linux.org Git - packages/perl-Module-Find.git/blame - perl-Module-Find.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Module-Find.git] / perl-Module-Find.spec
CommitLineData
53ed26fa 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
5bfba7fa 4
53ed26fa 5%define pdir Module
6%define pnam Find
7Summary: Module::Find - Find and use installed modules in a (sub)category
e7199195 8Summary(pl.UTF-8): Module::Find - wyszukiwanie i używanie modułów w (pod)kategorii
53ed26fa 9Name: perl-Module-Find
9fb410a5 10Version: 0.13
53ed26fa 11Release: 1
cf1d8268 12# same as perl
53ed26fa 13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
9fb410a5
JB
15Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: 28a11699901c2b07795ad59827d6ee66
09d3d3f0 17URL: http://search.cpan.org/dist/Module-Find/
53ed26fa 18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
cf1d8268
JB
20%if %{with tests}
21BuildRequires: perl-Test-Pod >= 1.14
22BuildRequires: perl-Test-Pod-Coverage >= 1.04
23BuildRequires: perl-Test-Simple
24%endif
53ed26fa 25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
4f7bbbad
JB
29Module::Find lets you find and use modules in categories. This can be
30very useful for auto-detecting driver or plugin modules. You can
31differentiate between looking in the category itself or in all
32subcategories.
33
edf85d76
JR
34%description -l pl.UTF-8
35Module::Find pozwala odnaleźć i używać moduly w kategoriach. Może to
36być bardzo przydatne do automatycznego wykrywania modułów sterowników
37lub wtyczek. Można rozróżnić pomiędzy szukaniem w ramach samej
09d3d3f0 38kategorii lub we wszystkich podkategoriach.
53ed26fa 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44%{__perl} Makefile.PL \
45 INSTALLDIRS=vendor
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
09d3d3f0 62%{perl_vendorlib}/Module/Find.pm
cf1d8268 63%{_mandir}/man3/Module::Find.3pm*
This page took 0.095975 seconds and 4 git commands to generate.