3 %bcond_without tests # do not perform "make test"
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 tekstem użycia
9 Name: perl-Getopt-Long-Descriptive
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: 78708f771a8a5e43824591758e2f5325
16 URL: http://search.cpan.org/dist/Getopt-Long-Descriptive/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-IO-stringy
21 BuildRequires: perl-Params-Validate >= 0.74
22 BuildRequires: perl-Test-Warnings >= 0.005
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Convenient wrapper for Getopt::Long and program usage output
30 %description -l pl.UTF-8
31 Wygodne opakowanie Getopt::Long i wyjścia o użyciu programu
34 %setup -q -n %{pdir}-%{pnam}-%{version}
37 %{__perl} Makefile.PL \
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 %{__make} pure_install \
47 DESTDIR=$RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
55 %dir %{perl_vendorlib}/Getopt/Long
56 %{perl_vendorlib}/Getopt/Long/*.pm
57 %dir %{perl_vendorlib}/Getopt/Long/Descriptive
58 %{perl_vendorlib}/Getopt/Long/Descriptive/Opts.pm
59 %{perl_vendorlib}/Getopt/Long/Descriptive/Usage.pm