Name: perl-File-HomeDir Version: 0.65 Release: 1%{?dist} Summary: Get the home directory for yourself or other users Group: Development/Libraries License: GPL or Artistic URL: http://search.cpan.org/dist/File-HomeDir/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Test::Pod) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::HomeDir is a module for dealing with issues relating to the location of directories for various purposes that are "owned" by a user, and to solve these problems consistently across a wide variety of platforms. %prep %setup -q -n File-HomeDir-%{version} chmod -c a-x Changes lib/File/{*.pm,HomeDir/*.pm} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* %check AUTOMATED_TESTING=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/File/ %{_mandir}/man3/*.3pm* %changelog * Wed May 30 2007 Jose Pedro Oliveira - 0.65-1 - Update to 0.65. * Sat Feb 10 2007 Jose Pedro Oliveira - 0.64-1 - Update to 0.64. * Thu Jan 11 2007 Jose Pedro Oliveira - 0.63-1 - Update to 0.63. * Thu Jan 4 2007 Jose Pedro Oliveira - 0.62-1 - Update to 0.62. * Thu Aug 03 2006 Jose Pedro Oliveira - 0.58-1 - First build.