commit f30c3f749804589690fc49cec06ff278687d56fa Author: Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Fri Apr 18 18:27:14 2014 +0200 Initial import. .gitignore | 1 + perl-MooX-late.spec | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 82 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ec6c40f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooX-late-0.014.tar.gz diff --git a/perl-MooX-late.spec b/perl-MooX-late.spec new file mode 100644 index 0000000..4ca2f6a --- /dev/null +++ b/perl-MooX-late.spec @@ -0,0 +1,80 @@ +Name: perl-MooX-late +Version: 0.014 +Release: 3%{?dist} +Summary: Easily translate Moose code to Moo +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooX-late/ +Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/MooX-late-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 1:5.8.0 +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Module::Runtime) +BuildRequires: perl(Moo) >= 1.003000 +BuildRequires: perl(Moo::Role) +BuildRequires: perl(MooX) +BuildRequires: perl(MooX::HandlesVia) >= 0.001004 +BuildRequires: perl(Scalar::Util) +BuildRequires: perl(Test::Fatal) >= 0.010 +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Requires) >= 0.06 +BuildRequires: perl(Type::Utils) >= 0.016 +BuildRequires: perl(Types::Standard) +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) + +# Indirect BR:s from inc/* +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(vars) +BuildRequires: perl(Cwd) + +Requires: perl(Moo) >= 1.003000 +Requires: perl(MooX::HandlesVia) >= 0.001004 +Requires: perl(Type::Utils) >= 0.016 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +# Filter under-specified requires +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Moo\\)$ + +%description +Moo is a light-weight object oriented programming framework which aims to +be compatible with Moose. It does this by detecting when Moose has been +loaded, and automatically "inflating" its classes and roles to full Moose +classes and roles. This way, Moo classes can consume Moose roles, Moose +classes can extend Moo classes, and so forth. + +%prep +%setup -q -n MooX-late-%{version} + +%build +# --skipdeps causes ExtUtils::AutoInstall not to try auto-installing +%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps +make %{?_smp_mflags} + +%install +make pure_install DESTDIR="$RPM_BUILD_ROOT" + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 01 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.014-3 +- Add more unnecessary BR:-dependency bloat. + +* Mon Mar 31 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.014-2 +- Reflect review. + +* Sat Mar 22 2014 Ralf Corsépius <corsepiu@xxxxxxxxxxxxxxxxx> 0.014-1 +- Initial fedora package. diff --git a/sources b/sources index e69de29..cb60d86 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +238716d37f61e1f5439fc0c003fd5559 MooX-late-0.014.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