commit 83f9095081fe59a0f6cb0f3da371fab40923f28a Author: David Dick <ddick@xxxxxxxx> Date: Tue Sep 9 17:31:57 2014 +1000 Initial import (#1134108). .gitignore | 1 + perl-MooX-Options.spec | 77 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 79 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..67ddbbc 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooX-Options-4.009.tar.gz diff --git a/perl-MooX-Options.spec b/perl-MooX-Options.spec new file mode 100644 index 0000000..c76975e --- /dev/null +++ b/perl-MooX-Options.spec @@ -0,0 +1,77 @@ +Name: perl-MooX-Options +Version: 4.009 +Release: 1%{?dist} +Summary: Explicit Options eXtension for Object Class +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooX-Options/ +Source0: http://www.cpan.org/modules/by-module/MooX/MooX-Options-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Carp) +BuildRequires: perl(Capture::Tiny) +BuildRequires: perl(Data::Record) +BuildRequires: perl(feature) +BuildRequires: perl(File::Spec) +BuildRequires: perl(FindBin) +BuildRequires: perl(Getopt::Long) >= 2.38 +BuildRequires: perl(Getopt::Long::Descriptive) >= 0.091 +BuildRequires: perl(IO::Handle) +BuildRequires: perl(IPC::Open3) +BuildRequires: perl(JSON) +BuildRequires: perl(lib) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Mo) +BuildRequires: perl(Moo) >= 1.003001 +BuildRequires: perl(Moo::Role) +BuildRequires: perl(MooX::ConfigFromFile) +BuildRequires: perl(Moose) +BuildRequires: perl(MRO::Compat) +BuildRequires: perl(namespace::clean) +BuildRequires: perl(overload) +BuildRequires: perl(parent) +BuildRequires: perl(Path::Class) >= 0.32 +BuildRequires: perl(Pod::Usage) +BuildRequires: perl(Regexp::Common) +BuildRequires: perl(Role::Tiny::With) +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(strict) +BuildRequires: perl(Term::Size::Any) +BuildRequires: perl(Test::More) >= 0.94 +# Test::Requires could be patched out, but is required for t/00-compile.t to succeed, even when t/pod test is not run +BuildRequires: perl(Test::Requires) +BuildRequires: perl(Test::Trap) +BuildRequires: perl(Text::WrapI18N) +BuildRequires: perl(Try::Tiny) +BuildRequires: perl(warnings) +Requires: perl(Moo) >= 1.003001 +Requires: perl(MooX::ConfigFromFile) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Create a command line tool with your Mo, Moo, Moose objects. + +%prep +%setup -q -n MooX-Options-%{version} +chmod -c -x lib/MooX/Options.pm + +%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 etc LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Aug 27 2014 David Dick <ddick@xxxxxxxx> - 4.009-1 +- Initial release diff --git a/sources b/sources index e69de29..940176e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +418fce280edd73bc52acad0d338a9c04 MooX-Options-4.009.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