auto-import perl-File-BaseDir-0.02-1 on branch devel from

perl-File-BaseDir-0.02-1.src.rpm
This commit is contained in:
pertusus 2006-10-14 21:37:08 +00:00
parent 04f04731d0
commit 23c0f3e58f
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1 @@
File-BaseDir-0.02.tar.gz

50
perl-File-BaseDir.spec Normal file
View File

@ -0,0 +1,50 @@
Name: perl-File-BaseDir
Version: 0.02
Release: 1%{?dist}
Summary: Use the freedesktop basedir spec
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-BaseDir/
Source0: http://www.cpan.org/authors/id/P/PA/PARDUS/File-BaseDir/File-BaseDir-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(File::DesktopEntry)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module can be used to find directories and files as specified by the
XDG Base Directory Specification. It takes care of defaults and uses
File::Spec to make the output platform specific.
%prep
%setup -q -n File-BaseDir-%{version}
%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 \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Oct 11 2006 Patrice Dumas <pertusus@free.fr> 0.02-1
- Specfile autogenerated by cpanspec 1.69.

View File

@ -0,0 +1 @@
00e2729f364d430350355250cb9007e0 File-BaseDir-0.02.tar.gz