%define module File-Remove %define name perl-%{module} %define version 0.34 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Remove files and directories License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/R/RS/RSOD/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description A Perl module to remove files and directories. %prep %setup -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}/File %{_mandir}/*/* %changelog * Thu Dec 14 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.34-1mdv2007.0 + Revision: 96810 - new version - Import perl-File-Remove * Fri Jan 20 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.31-1mdk - new version - spec cleanup - %%mkrel - rpmbuildupdate aware * Mon Aug 22 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.30-1mdk - 0.30 * Wed Dec 15 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.29-1mdk - 0.29 * Wed Nov 24 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.28-1mdk - 0.28 * Wed Aug 04 2004 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 0.21-1mdk - 0.21. * Thu Jan 29 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.20-2mdk - bzip2 * Wed Jan 28 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.20-1mdk - from Robin Rosenberg <robin.rosenberg@dewire.com> : - initial contrib import. Needed for building Captive-NTFS