%define module Archive-Extract %define modprefix Archive Summary: A generic archive extracting mechanism Name: perl-%{module} Version: 0.26 Release: %mkrel 2 License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{module}/ Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{module}-%{version}.tar.gz %if %{mdkversion} < 1010 BuildRequires: perl-devel >= 5.8.1 %endif BuildArch: noarch BuildRequires: perl(IPC::Cmd) >= 0.36 perl(Module::Load::Conditional) >= 0.04 perl-version BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description Archive::Extract is a generic archive extraction mechanism. It allows you to extract any archive file of the type .tar, .tar.gz, .gz, .Z, tar.bz2, .tbz, .bz2 or .zip without having to worry how it does so, or use different interfaces for each type by using either perl modules, or commandline tools on your system. %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 README CHANGES %{perl_vendorlib}/%{modprefix}/* %{_mandir}/*/* %changelog * Mon Sep 29 2008 Oden Eriksson <oeriksson@mandriva.com> 0.26-2mdv2009.0 + Revision: 289341 - restore the spec file + Thierry Vignaud <tvignaud@mandriva.com> - rebuild * Tue Jan 29 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.26-1mdv2008.1 + Revision: 159907 - update to new version 0.26 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Oct 13 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.24-1mdv2008.1 + Revision: 98020 - update to new version 0.24 - update to new version 0.24 * Fri Jun 22 2007 Buchan Milne <bgmilne@mandriva.org> 0.22-1mdv2008.0 + Revision: 42850 - Import perl-Archive-Extract * Thu Jun 21 2007 Buchan Milne <bgmilne@mandriva.org> 0.22-1mdv2007.1 - initial package