From 299fcdc6a1041d6a5276e195034aa9972d2de477 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova <jples...@redhat.com> Date: Tue, 18 Oct 2016 14:44:02 +0200 Subject: Initial import
--- .gitignore | 1 + perl-Specio-Library-Path-Tiny.spec | 63 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 perl-Specio-Library-Path-Tiny.spec diff --git a/.gitignore b/.gitignore index e69de29..282de16 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Specio-Library-Path-Tiny-0.04.tar.gz diff --git a/perl-Specio-Library-Path-Tiny.spec b/perl-Specio-Library-Path-Tiny.spec new file mode 100644 index 0000000..1c11d67 --- /dev/null +++ b/perl-Specio-Library-Path-Tiny.spec @@ -0,0 +1,63 @@ +Name: perl-Specio-Library-Path-Tiny +Version: 0.04 +Release: 1%{?dist} +Summary: Path::Tiny types and coercions for Specio +License: ASL 2.0 +URL: http://search.cpan.org/dist/Specio-Library-Path-Tiny/ +Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-%{version}.tar.gz +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl +BuildRequires: perl-generators +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time +BuildRequires: perl(overload) +BuildRequires: perl(parent) +BuildRequires: perl(Path::Tiny) >= 0.087 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Specio) >= 0.29 +BuildRequires: perl(Specio::Declare) +BuildRequires: perl(Specio::Exporter) +BuildRequires: perl(Specio::Library::Builtins) +BuildRequires: perl(Specio::PartialDump) +# Tests +BuildRequires: perl(File::pushd) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) >= 0.18 +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Specio) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This library provides a set of Path::Tiny types and coercions for Specio. +These types can be used with Moose, Moo, Params::ValidationCompiler, and +other modules. + +%prep +%setup -q -n Specio-Library-Path-Tiny-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + + +%files +%license LICENSE +%doc Changes CONTRIBUTING.md README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Oct 17 2016 Jitka Plesnikova <jples...@redhat.com> 0.04-1 +- Initial release diff --git a/sources b/sources index e69de29..8c984cb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9e3d4bb1141a1c4c62d0ea164ef152a0 Specio-Library-Path-Tiny-0.04.tar.gz -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Specio-Library-Path-Tiny.git/commit/?h=f25&id=299fcdc6a1041d6a5276e195034aa9972d2de477 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org