initial import

This commit is contained in:
Iain Arnell 2010-04-04 06:56:24 +00:00
parent fdf16687c2
commit c89d34e753
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1 @@
File-ShareDir-Install-0.03.tar.gz

View File

@ -0,0 +1,54 @@
Name: perl-File-ShareDir-Install
Version: 0.03
Release: 1%{?dist}
Summary: Install shared files
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-ShareDir-Install/
Source0: http://www.cpan.org/authors/id/G/GW/GWYN/File-ShareDir-Install-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.11
# tests
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
File::ShareDir::Install allows you to install read-only data files from a
distribution. It is a companion module to File::ShareDir, which allows you
to locate these files after installation.
%prep
%setup -q -n File-ShareDir-Install-%{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
* Fri Apr 02 2010 Iain Arnell 0.03-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
ead5d0779a45dee782d81d2415610331 File-ShareDir-Install-0.03.tar.gz