commit 909cc497c9c66d1794a87bb9a69ee26df883058a Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Sep 18 16:05:27 2013 +0200 0.2.0 .gitignore | 1 + perl-Path-FindDev.spec | 61 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..7220cb9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Path-FindDev-0.2.0.tar.gz diff --git a/perl-Path-FindDev.spec b/perl-Path-FindDev.spec new file mode 100644 index 0000000..133eb86 --- /dev/null +++ b/perl-Path-FindDev.spec @@ -0,0 +1,61 @@ +Name: perl-Path-FindDev +Version: 0.2.0 +Release: 1%{?dist} +Summary: Find a development path somewhere in an upper hierarchy +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Path-FindDev/ +Source0: http://www.cpan.org/authors/id/K/KE/KENTNL/Path-FindDev-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Module::Build) >= 0.3601 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Moo) +BuildRequires: perl(Path::IsDev) >= 0.2.2 +BuildRequires: perl(Path::IsDev::Object) +BuildRequires: perl(Path::Tiny) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Sub::Exporter) +# Tests +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(Test::More) >= 0.98 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(File::Spec) +Requires: perl(Path::IsDev) >= 0.2.2 +Requires: perl(Path::IsDev::Object) +Requires: perl(Path::Tiny) +Requires: perl(Scalar::Util) + +%description +This package is mostly a glue layer around Path::IsDev with a few directory +walking tricks. + +%prep +%setup -q -n Path-FindDev-%{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.2.0-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ce7ca85 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ad33f49af7172c6928a46cf1f623f06b Path-FindDev-0.2.0.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