3 %bcond_without autodeps # don't BR packages needed only for resolving deps
4 %bcond_without tests # do not perform "make test"
8 Summary: Getopt::Euclid - Executable Uniform Command-Line Interface Descriptions
9 Summary(pl.UTF-8): Getopt::Euclid - ujednolicone opisy interfejsu linii poleceń
10 Name: perl-Getopt-Euclid
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 70de1b3351f52ba8a741c1e7d51049b0
18 URL: http://search.cpan.org/dist/Getopt-Euclid/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
21 %if %{with autodeps} || %{with tests}
22 BuildRequires: perl-version
23 BuildRequires: perltidy
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Getopt::Euclid uses your program's own documentation to create a
30 command-line argument parser. This ensures that your program's
31 documented interface and its actual interface always agree.
33 %description -l pl.UTF-8
34 Getopt::Euclid wykorzystuje dokumentację programu do utworzenia
35 analizatora argumentów linii poleceń. Daje to pewność, że
36 udokumentowany i faktyczny interfejs programu będą się zawsze zgadzać.
39 %setup -q -n %{pdir}-%{pnam}-%{version}
43 destdir=$RPM_BUILD_ROOT \
47 %{?with_tests:./Build test}
50 rm -rf $RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/Getopt/*.pm
61 %{perl_vendorlib}/Getopt/Euclid