Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 7d9675b8107ee48a1a544fc1328151d1 > files > 2

perl-App-CLI-0.01-1mdk.src.rpm

%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