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