]> git.pld-linux.org Git - packages/perl-Getopt-Long-Descriptive.git/blob - perl-Getopt-Long-Descriptive.spec
Release 2 (by relup.sh)
[packages/perl-Getopt-Long-Descriptive.git] / perl-Getopt-Long-Descriptive.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Getopt
6 %define pnam    Long-Descriptive
7 Summary:        Getopt::Long::Descriptive - Getopt::Long with usage text
8 Summary(pl.UTF-8):      Getopt::Long::Descriptive - Getopt::Long z opisem użycia
9 Name:           perl-Getopt-Long-Descriptive
10 Version:        0.110
11 Release:        2
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  2eee85dd6f78671e101e10800c309cc7
16 URL:            https://metacpan.org/dist/Getopt-Long-Descriptive
17 BuildRequires:  perl-ExtUtils-MakeMaker >= 6.78
18 BuildRequires:  perl-devel >= 1:5.12.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 %if %{with tests}
22 BuildRequires:  perl-CPAN-Meta-Check >= 0.011
23 BuildRequires:  perl-CPAN-Meta-Requirements
24 BuildRequires:  perl-Getopt-Long >= 2.33
25 BuildRequires:  perl-IO-stringy
26 BuildRequires:  perl-Params-Validate >= 0.97
27 BuildRequires:  perl-Scalar-List-Utils
28 BuildRequires:  perl-Sub-Exporter >= 0.972
29 BuildRequires:  perl-Test-Fatal
30 BuildRequires:  perl-Test-Simple >= 0.96
31 BuildRequires:  perl-Test-Warnings >= 0.005
32 %endif
33 BuildArch:      noarch
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Convenient wrapper for Getopt::Long and program usage output.
38
39 %description -l pl.UTF-8
40 Wygodne opakowanie Getopt::Long i wyjścia o sposobie użycia programu.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48 %{__make}
49
50 %{?with_tests:%{__make} test}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} pure_install \
56         DESTDIR=$RPM_BUILD_ROOT
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc Changes README
64 %dir %{perl_vendorlib}/Getopt/Long
65 %{perl_vendorlib}/Getopt/Long/Descriptive.pm
66 %dir %{perl_vendorlib}/Getopt/Long/Descriptive
67 %{perl_vendorlib}/Getopt/Long/Descriptive/Opts.pm
68 %{perl_vendorlib}/Getopt/Long/Descriptive/Usage.pm
69 %{_mandir}/man3/Getopt::Long::Descriptive*.3pm*
This page took 0.142468 seconds and 4 git commands to generate.