Inclusion of perl-File-ShareDir into cvs.
This commit is contained in:
parent
75899022ee
commit
c6a7ccb666
@ -0,0 +1 @@
|
||||
File-ShareDir-1.00.tar.gz
|
||||
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
perl-File-ShareDir-1_00-1_fc10:HEAD:perl-File-ShareDir-1.00-1.fc10.src.rpm:1218608243
|
||||
59
perl-File-ShareDir.spec
Normal file
59
perl-File-ShareDir.spec
Normal file
@ -0,0 +1,59 @@
|
||||
Name: perl-File-ShareDir
|
||||
Version: 1.00
|
||||
Release: 1%{?dist}
|
||||
Summary: Locate per-dist and per-module shared files
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/File-ShareDir/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-ShareDir-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 0:5.005
|
||||
BuildRequires: perl(Class::Inspector) >= 1.12
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Params::Util) >= 0.07
|
||||
BuildRequires: perl(Test::More) >= 0.47
|
||||
Requires: perl(Class::Inspector) >= 1.12
|
||||
Requires: perl(Params::Util) >= 0.07
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
The intent of File::ShareDir is to provide a companion to Class::Inspector
|
||||
and File::HomeDir, modules that take a process that is well-known by
|
||||
advanced Perl developers but gets a little tricky, and make it more
|
||||
available to the larger Perl community.
|
||||
|
||||
%prep
|
||||
%setup -q -n File-ShareDir-%{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/*
|
||||
chmod 644 share/sample.txt
|
||||
chmod 644 share/subdir/sample.txt
|
||||
|
||||
%check
|
||||
make test AUTOMATED_TESTING=1
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 11 2008 Marcela Mašláňová 1.00-1
|
||||
- Specfile autogenerated by cpanspec 1.77.
|
||||
Loading…
Reference in New Issue
Block a user