commit 087dec31bf85df57c477a2d0a1ca86a62ec16a11 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Fri Sep 20 08:05:33 2013 +0200 Initial import .gitignore | 1 + perl-File-ShareDir-ProjectDistDir.spec | 58 ++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 60 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..8e94706 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/File-ShareDir-ProjectDistDir-0.5.1.tar.gz diff --git a/perl-File-ShareDir-ProjectDistDir.spec b/perl-File-ShareDir-ProjectDistDir.spec new file mode 100644 index 0000000..708e644 --- /dev/null +++ b/perl-File-ShareDir-ProjectDistDir.spec @@ -0,0 +1,58 @@ +Name: perl-File-ShareDir-ProjectDistDir +Version: 0.5.1 +Release: 1%{?dist} +Summary: Simple set-and-forget using of a '/share' directory in your projects root +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-ShareDir-ProjectDistDir/ +Source0: http://www.cpan.org/authors/id/K/KE/KENTNL/File-ShareDir-ProjectDistDir-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006 +BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(File::ShareDir) +BuildRequires: perl(Path::Class::Dir) +BuildRequires: perl(Path::Class::File) +BuildRequires: perl(Path::FindDev) +BuildRequires: perl(Path::IsDev) +BuildRequires: perl(Path::Tiny) +BuildRequires: perl(Sub::Exporter) +# Tests +BuildRequires: perl(FindBin) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.98 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Path::Class::Dir) +Requires: perl(Path::Tiny) + +%description +Simple set-and-forget using of a '/share' directory in your projects root + +%prep +%setup -q -n File-ShareDir-ProjectDistDir-%{version} + +%build +perl Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Sep 16 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.5.1-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..cb4226b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2c907030b82975bd4bf387c283bfed34 File-ShareDir-ProjectDistDir-0.5.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