]> git.pld-linux.org Git - packages/perl-Find-Lib.git/blame - perl-Find-Lib.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Find-Lib.git] / perl-Find-Lib.spec
CommitLineData
b11d6b41 1#
2# TODO: - fix "make test"
3# - pl
4#
5# Conditional build:
6%bcond_without autodeps # don't BR packages needed only for resolving deps
7%bcond_with tests # do not perform "make test"
8#
b11d6b41 9%define pdir Find
10%define pnam Lib
43acab13 11Summary: Find::Lib - helper to smartly find libs to use in the filesystem tree
b11d6b41 12Name: perl-Find-Lib
788da00f 13Version: 1.04
14Release: 1
b11d6b41 15# same as perl
16License: GPL v1+ or Artistic
17Group: Development/Languages/Perl
788da00f 18Source0: http://search.cpan.org/CPAN/authors/id/Y/YA/YANNK/%{pdir}-%{pnam}-%{version}.tar.gz
19# Source0-md5: bf5619b4ba1945320eccef69b028c453
b11d6b41 20URL: http://search.cpan.org/dist/Find-Lib/
21BuildRequires: perl-devel >= 1:5.8.0
22BuildRequires: rpm-perlprov >= 4.1-13
b11d6b41 23BuildArch: noarch
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
52cde11a 27Helper to smartly find libs to use in the filesystem tree.
b11d6b41 28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35
36%{__make}
37
38%{?with_tests:%{__make} test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} pure_install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc Changes README
52%{_mandir}/man3/Find::Lib.3pm*
53%dir %{perl_vendorlib}/Find
54%{perl_vendorlib}/Find/Lib.pm
This page took 0.142445 seconds and 4 git commands to generate.