]> git.pld-linux.org Git - packages/perl-Module-ScanDeps.git/blame - perl-Module-ScanDeps.spec
- release 3 (by relup.sh)
[packages/perl-Module-ScanDeps.git] / perl-Module-ScanDeps.spec
CommitLineData
e2c75aac 1#
c425e0e0 2# Conditional build:
589374fa 3%bcond_without tests # do not perform "make test"
e2c75aac 4#
c425e0e0 5%include /usr/lib/rpm/macros.perl
f0bc6282 6%define pdir Module
7%define pnam ScanDeps
e48382fb 8Summary: Module::ScanDeps - recursively scan Perl programs for dependencies
d2e5230c 9Summary(pl.UTF-8): Module::ScanDeps - rekurencyjne wyszukiwanie zależności programów perlowych
4cf660b1 10Name: perl-Module-ScanDeps
bdc35576 11Version: 1.10
75932134 12Release: 3
f068f376 13# same as perl
e2c75aac 14License: GPL v1+ or Artistic
c425e0e0 15Group: Development/Languages/Perl
b08b4d19 16Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
bdc35576 17# Source0-md5: f01f36a25bf372712ff6b1e4aad8d89c
b08b4d19 18URL: http://search.cpan.org/dist/Module-ScanDeps/
bdc35576 19BuildRequires: perl-devel >= 1:5.8.1
c425e0e0 20BuildRequires: rpm-perlprov >= 4.1-13
bdc35576
JB
21%if %{with tests}
22BuildRequires: perl-File-Temp
23BuildRequires: perl-Module-Build
24BuildRequires: perl-PathTools
25BuildRequires: perl-Test-Simple
26BuildRequires: perl-version
27%endif
c425e0e0 28BuildArch: noarch
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32An application of Module::ScanDeps is to generate executables from
33scripts that contains necessary modules; this module supports two such
34projects, PAR and App::Packer. Please see their respective
35documentations on CPAN for further information.
36
ef56eba3
JR
37%description -l pl.UTF-8
38Zastosowanie Module::ScanDeps to generowanie ze skryptów plików
39wykonywalnych zawierających wszelkie potrzebne skryptowi moduły. Ten
40moduł wspiera dwa takie projekty: PAR i App::Packer. Więcej informacji
41można znaleźć w ich dokumentacji w CPAN.
f068f376 42
c425e0e0 43%prep
44%setup -q -n %{pdir}-%{pnam}-%{version}
45
46%build
47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
49%{__make}
e2c75aac 50
589374fa 51%{?with_tests:%{__make} test}
c425e0e0 52
53%install
54rm -rf $RPM_BUILD_ROOT
55
56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
bdc35576
JB
64%doc AUTHORS Changes README
65%attr(755,root,root) %{_bindir}/scandeps.pl
66%{perl_vendorlib}/Module/ScanDeps.pm
67%{perl_vendorlib}/Module/ScanDeps
68%{_mandir}/man1/scandeps.pl.1p*
69%{_mandir}/man3/Module::ScanDeps.3pm*
This page took 0.067225 seconds and 4 git commands to generate.