%define module Text-Shellwords %define name perl-%{module} %define version 1.08 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Thin wrapper around shellwords.pl License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Text/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description This used to be a wrapper around shellwords.pl, but has now been superseded by Text::ParseWords. Use that module instead. If you use this module, it will simply report the shellwords() function from Text::ParseWords. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %{makeinstall_std} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Text %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.08-6mdv2009.0 + Revision: 242050 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.08-4mdv2008.0 + Revision: 87030 - rebuild * Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.08-3mdv2007.0 - Rebuild * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.08-2mdk - Fix SPEC according to Perl Policy - Source URL * Fri Nov 18 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.08-1mdk - New release 1.08 - %%mkrel * Tue Jun 07 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.07-3mdk - better url - spec cleanup - don't ship useless empty directories - make test in %%check * Mon Dec 20 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.07-2mdk - fix buildrequires in a backward compatible way * Thu Jun 03 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 1.07-1mdk - 1.07 * Wed Apr 21 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.08-1mdk - new version - rpmbuildupdate aware * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.02-2mdk - %%makeinstall_std macro - no more exception * Wed Feb 25 2004 Guillaume Rousse <guillomovitch@mandrake.org> 1.02-2mdk - fixed dir ownership (distlint)