commit 2512bc7581448105b232aa14ead0073e54ef1840 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Aug 27 05:07:49 2012 -0600 initial import (rhbz#845673) .gitignore | 1 + perl-Test-File-ShareDir.spec | 54 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..c039910 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Test-File-ShareDir-0.3.1.tar.gz diff --git a/perl-Test-File-ShareDir.spec b/perl-Test-File-ShareDir.spec new file mode 100644 index 0000000..e0eb83e --- /dev/null +++ b/perl-Test-File-ShareDir.spec @@ -0,0 +1,54 @@ +Name: perl-Test-File-ShareDir +Version: 0.3.1 +Release: 1%{?dist} +Summary: Create a Fake ShareDir for your modules for testing +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-File-ShareDir/ +Source0: http://www.cpan.org/authors/id/K/KE/KENTNL/Test-File-ShareDir-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Copy::Recursive) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::ShareDir) >= 1.00 +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Path::Class::Dir) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) +Requires: perl(Carp) +Requires: perl(File::Copy::Recursive) +Requires: perl(File::Temp) +Requires: perl(Path::Class::Dir) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Create a fake ShareDir for your modules for testing. + +%prep +%setup -q -n Test-File-ShareDir-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Jul 29 2012 Iain Arnell <iarnell@xxxxxxxxx> 0.3.1-1 +- Specfile autogenerated by cpanspec 1.79. diff --git a/sources b/sources index e69de29..eb89c50 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +46fedc77074205c374764c475a0d2815 Test-File-ShareDir-0.3.1.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel