auto-import perl-File-HomeDir-0.58-1 on branch devel from

perl-File-HomeDir-0.58-1.src.rpm
This commit is contained in:
Jose Pedro Oliveira 2006-08-13 11:38:19 +00:00
parent 48f8500cec
commit b30f0915a5
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1 @@
File-HomeDir-0.58.tar.gz

58
perl-File-HomeDir.spec Normal file
View File

@ -0,0 +1,58 @@
Name: perl-File-HomeDir
Version: 0.58
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
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes LICENSE README
%{perl_vendorlib}/File/
%{_mandir}/man3/*.3pm*
%changelog
* Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
- First build.

View File

@ -0,0 +1 @@
295ee8b4f580bea5fa5714cdf8ac965b File-HomeDir-0.58.tar.gz