commit 70204bf2fa10b28fa6a70ca58e0d716d15ac4c18 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Tue May 15 15:13:48 2012 +0200 Initial release .gitignore | 1 + perl-Task-Moose.spec | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 141 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..0f2f6d2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Task-Moose-0.03.tar.gz diff --git a/perl-Task-Moose.spec b/perl-Task-Moose.spec new file mode 100644 index 0000000..ba81cf7 --- /dev/null +++ b/perl-Task-Moose.spec @@ -0,0 +1,139 @@ +Name: perl-Task-Moose +Version: 0.03 +Release: 1%{?dist} +Summary: Moose in a box +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Task-Moose/ +Source0: http://www.cpan.org/authors/id/D/DO/DOY/Task-Moose-%{version}.tar.gz +BuildArch: noarch + + +BuildRequires: perl(inc::Module::Install) >= 0.75 +# Moose and Moose extentions are listed in Makefile.PL +BuildRequires: perl(Moose) >= 0.92 +BuildRequires: perl(MooseX::StrictConstructor) >= 0.08 +BuildRequires: perl(MooseX::Params::Validate) >= 0.06 +BuildRequires: perl(MooseX::Role::TraitConstructor) +BuildRequires: perl(MooseX::Traits) +BuildRequires: perl(MooseX::Object::Pluggable) +BuildRequires: perl(MooseX::Role::Parameterized) +BuildRequires: perl(MooseX::GlobRef) +BuildRequires: perl(MooseX::InsideOut) +BuildRequires: perl(MooseX::Singleton) >= 0.20 +BuildRequires: perl(MooseX::NonMoose) >= 0.06 +BuildRequires: perl(MooseX::Declare) +BuildRequires: perl(MooseX::Method::Signatures) +BuildRequires: perl(MooseX::Types) >= 0.20 +BuildRequires: perl(MooseX::Types::Structured) +BuildRequires: perl(MooseX::Types::Path::Class) +BuildRequires: perl(MooseX::Types::Set::Object) +BuildRequires: perl(MooseX::Types::DateTime) +BuildRequires: perl(MooseX::Getopt) +BuildRequires: perl(MooseX::ConfigFromFile) +BuildRequires: perl(MooseX::SimpleConfig) +BuildRequires: perl(MooseX::App::Cmd) +BuildRequires: perl(MooseX::Role::Cmd) +BuildRequires: perl(MooseX::LogDispatch) +BuildRequires: perl(MooseX::LazyLogDispatch) +BuildRequires: perl(MooseX::Log::Log4perl) +BuildRequires: perl(MooseX::POE) +BuildRequires: perl(MooseX::Workers) +BuildRequires: perl(MooseX::Daemonize) +BuildRequires: perl(MooseX::Param) +BuildRequires: perl(MooseX::Iterator) +BuildRequires: perl(MooseX::Clone) +BuildRequires: perl(MooseX::Storage) +BuildRequires: perl(Moose::Autobox) +BuildRequires: perl(MooseX::ClassAttribute) +BuildRequires: perl(MooseX::SemiAffordanceAccessor) +BuildRequires: perl(namespace::autoclean) >= 0.09 +BuildRequires: perl(Pod::Coverage::Moose) +# Listed on Task::Moose man page +BuildRequires: perl(TryCatch) +# Tests +BuildRequires: perl(Test::More) + +Requires: perl(Moose) >= 0.92 +# Make Moose Stricter +Requires: perl(MooseX::StrictConstructor) >= 0.08 +Requires: perl(MooseX::Params::Validate) >= 0.06 +# Traits / Roles +Requires: perl(MooseX::Role::TraitConstructor) +Requires: perl(MooseX::Traits) +Requires: perl(MooseX::Object::Pluggable) +Requires: perl(MooseX::Role::Parameterized) +# Instance Types +Requires: perl(MooseX::GlobRef) +Requires: perl(MooseX::InsideOut) +Requires: perl(MooseX::Singleton) >= 0.20 +Requires: perl(MooseX::NonMoose) >= 0.06 +# Declarative Syntax +Requires: perl(MooseX::Declare) +Requires: perl(MooseX::Method::Signatures) +Requires: perl(TryCatch) +# Types +Requires: perl(MooseX::Types) >= 0.20 +Requires: perl(MooseX::Types::Structured) +Requires: perl(MooseX::Types::Path::Class) +Requires: perl(MooseX::Types::Set::Object) +Requires: perl(MooseX::Types::DateTime) +# Command Line Integration +Requires: perl(MooseX::Getopt) +Requires: perl(MooseX::ConfigFromFile) +Requires: perl(MooseX::SimpleConfig) +Requires: perl(MooseX::App::Cmd) +Requires: perl(MooseX::Role::Cmd) +# Logging +Requires: perl(MooseX::LogDispatch) +Requires: perl(MooseX::LazyLogDispatch) +Requires: perl(MooseX::Log::Log4perl) +# Async +Requires: perl(MooseX::POE) +Requires: perl(MooseX::Workers) +# Utility Roles +Requires: perl(MooseX::Daemonize) +Requires: perl(MooseX::Param) +Requires: perl(MooseX::Iterator) +Requires: perl(MooseX::Clone) +Requires: perl(MooseX::Storage) +# Other Useful Extensions +Requires: perl(Moose::Autobox) +Requires: perl(MooseX::ClassAttribute) +Requires: perl(MooseX::SemiAffordanceAccessor) +Requires: perl(namespace::autoclean) >= 0.09 +# Utilities +Requires: perl(Pod::Coverage::Moose) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This Task installs Moose and a number of Moose extensions. + +%prep +%setup -q -n Task-Moose-%{version} +rm -r inc +sed -i -e '/^inc\// d' MANIFEST +find -type f -exec chmod -x {} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor </dev/null +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri May 11 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.03-1 +- Initial release. diff --git a/sources b/sources index e69de29..2b8ef84 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bbb32442a2b1a16b4ed4c0f2d94f8142 Task-Moose-0.03.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