%define realname App-CLI Name: perl-%{realname} Version: 0.01 Release: %mkrel 1 License: GPL or Artistic Group: Development/Perl Summary: Dispatcher module for command line interface programs Source0: http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/%{realname}-%{version}.tar.bz2 Url: http://search.cpan.org/~clkao/%{realname} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel BuildArch: noarch %description App::CLI dispatches CLI (command line interface) based commands into command classes. It also supports subcommand and per-command options. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Sep 21 2005 Michael Scherer <misc@mandriva.org> 0.01-1mdk - First mandriva package