3 %bcond_without tests # do not perform "make test"
7 Summary: App::CLI - Dispatcher module for command line interface programs
8 Summary(pl.UTF-8): App:CLI - Moduł obsługi programów z interfejsem CLI
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/C/CL/CLKAO/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: efa1b227460477c2141c691fa7824170
17 URL: http://search.cpan.org/dist/App-CLI/
18 BuildRequires: perl-Locale-Maketext-Simple
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl(Getopt::Long) >= 2.35
23 BuildRequires: perl(Pod::Simple::Text)
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 App::CLI dispatches CLI (command line interface) based commands into
30 command classes. It also supports subcommand and per-command options.
32 %description -l pl.UTF-8
33 App::CLI przekazuje komendy wydawane z linii poleceń do klas je
34 obsługujących. Obsługuje także podkomendy oraz opcje dla każdej z
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
59 %{perl_vendorlib}/App/*.pm
60 %{perl_vendorlib}/App/CLI