%define upstream_name Text-Shellwords %define upstream_version 1.08 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Thin wrapper around shellwords.pl License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Text/%{upstream_name}-%{upstream_version}.tar.bz2 BuildArch: noarch %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 %{upstream_name}-%{upstream_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 * Sun Jan 13 2013 umeabot <umeabot> 1.80.0-2.mga3 + Revision: 374166 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 22 2011 jquelin <jquelin> 1.80.0-1.mga1 + Revision: 31344 - mageia rebuild - imported package perl-Text-Shellwords