%define module File-BaseDir %define version 0.03 %define release %mkrel 2 Summary: Perl module to use the freedesktop basedir spec Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/File/%{module}-%{version}.tar.gz BuildRequires: perl(Module::Build) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot %description Perl module to use the freedesktop basedir spec. %prep %setup -q -n %{module}-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %check ./Build test %install rm -rf %{buildroot} ./Build install destdir=%{buildroot} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README Changes %{perl_vendorlib}/File/* %{_mandir}/*/* %changelog * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.03-2mdv2009.0 + Revision: 223718 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Nov 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.03-1mdv2008.1 + Revision: 105342 - new version * Fri Sep 01 2006 Michael Scherer <misc@mandriva.org> 0.02-3mdv2007.0 - Rebuild * Wed Aug 24 2005 Michael Scherer <misc@mandriva.org> 0.02-2mdk - Birthday rebuild - mkrel * Mon Aug 23 2004 Michael Scherer <misc@mandrake.org> 0.02-1mdk - First Mandrakelinux package