perl-File-HomeDir/perl-File-HomeDir.spec

65 lines
1.6 KiB
RPMSpec
Raw Normal View History

Name: perl-File-HomeDir
2007-01-11 14:22:06 +00:00
Version: 0.63
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 -v 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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
2007-01-04 14:23:14 +00:00
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
2007-01-11 14:22:06 +00:00
* Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-1
- Update to 0.63.
2007-01-04 14:23:14 +00:00
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
- Update to 0.62.
* Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
- First build.