%define upstream_name IPC-Cmd %define upstream_version 0.56 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Finding and running system commands made easy License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/IPC/%{upstream_name}-%{upstream_version}.tar.gz %if %{mdkversion} < 1010 Buildrequires: perl-devel %endif Buildrequires: perl(Module::Load::Conditional) Buildrequires: perl(version) Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description IPC::Cmd allows you to run commands, interactively if desired, platform independent but have them still work. The can_run function can tell you if a certain binary is installed and if so where, whereas the run function can actually execute any of the commands you give it and give you a clear return value, as well as adhere to your verbosity settings. %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 README %{perl_vendorlib}/IPC %{_mandir}/*/* %changelog * Fri Feb 05 2010 Jérôme Quelin <jquelin@mandriva.org> 0.560.0-1mdv2010.1 + Revision: 501137 - update to 0.56 * Sun Nov 22 2009 Jérôme Quelin <jquelin@mandriva.org> 0.540.0-1mdv2010.1 + Revision: 468934 - update to 0.54 * Thu Sep 10 2009 Jérôme Quelin <jquelin@mandriva.org> 0.500.0-1mdv2010.0 + Revision: 437213 - update to 0.50 * Tue Jul 28 2009 Jérôme Quelin <jquelin@mandriva.org> 0.460.0-1mdv2010.0 + Revision: 402561 - rebuild using %%perl_convert_version * Thu Jun 18 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.46-1mdv2010.0 + Revision: 387008 - update to new version 0.46 * Tue May 05 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.44-1mdv2010.0 + Revision: 372109 - update to new version 0.44 * Sat Oct 11 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.42-1mdv2009.1 + Revision: 292191 - update to new version 0.42 * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.40-3mdv2009.0 + Revision: 257369 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Nov 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.40-1mdv2008.1 + Revision: 104498 - update to new version 0.40 * Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.38-1mdv2008.1 + Revision: 97658 - update to new version 0.38 * Tue Nov 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.36-1mdv2007.0 + Revision: 87852 - new version * Thu Nov 23 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.34-1mdv2007.1 + Revision: 86576 - new revision * Wed Nov 15 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.25-1mdv2007.1 + Revision: 84468 - Import perl-IPC-Cmd * Sat Sep 09 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.25-1mdv2007.0 - new version - fix sources URL * Fri Sep 01 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.24-2mdv2007.0 - Rebuild * Mon Apr 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.24-1mdk - first mdk release