commit 5ab5841e98f679829ffc179d0c00427c1843d6a9 Author: Jitka Plesnikova <jples...@redhat.com> Date: Tue Sep 17 16:06:52 2013 +0200
Initial import .gitignore | 1 + perl-Path-IsDev.spec | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1dd2cff 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Path-IsDev-0.3.0.tar.gz diff --git a/perl-Path-IsDev.spec b/perl-Path-IsDev.spec new file mode 100644 index 0000000..ee9c89e --- /dev/null +++ b/perl-Path-IsDev.spec @@ -0,0 +1,64 @@ +Name: perl-Path-IsDev +Version: 0.3.0 +Release: 1%{?dist} +Summary: Determine if a given Path resembles a development source tree +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Path-IsDev/ +Source0: http://www.cpan.org/authors/id/K/KE/KENTNL/Path-IsDev-%{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(Class::Tiny) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(parent) +BuildRequires: perl(Path::Tiny) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Sub::Exporter) +# Tests +BuildRequires: perl(File::Temp) +BuildRequires: perl(FindBin) +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.98 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) +Requires: perl(Module::Runtime) +Requires: perl(Path::Tiny) +Requires: perl(Scalar::Util) + +%description +This module is more or less a bunch of heuristics for determining if a +given path is a development tree root of some kind. + +This has many useful applications, notably ones that require behaviours for +"installed" modules to be different to those that are still "in +development" + +%prep +%setup -q -n Path-IsDev-%{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 <jples...@redhat.com> 0.3.0-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..fafdd6d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f5ed2352145ee0528cf442eb9312cd07 Path-IsDev-0.3.0.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel