%define real_name Term-Shell Summary: Write command-line shells in Perl Name: perl-%{real_name} Version: 0.02 Release: %mkrel 3 License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Term/%{real_name}-%{version}.tar.bz2 BuildRequires: perl-devel BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Term::Shell makes it joyfully easy to write command-line interfaces in Perl. All the boring details like command-line parsing and terminal handling are done for you. %prep %setup -q -n %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Term/Shell* %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.02-3mdv2009.0 + Revision: 241963 - rebuild - kill re-definition of %%buildroot on Pixel's request - fix summary + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu May 03 2007 Olivier Thauvin <nanardon@mandriva.org> 0.02-1mdv2008.0 + Revision: 22102 - 0.02 * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.01-2mdk - Fix SPEC according to Perl Policy - Source URL - use mkrel * Thu Jul 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0.01-1mdk - initial Mandriva package