[perl-MooX-HandlesVia] Initial Import.
corsepiu
corsepiu at fedoraproject.org
Sat Mar 29 03:03:39 UTC 2014
commit 694d4cffa58104fd0f3566bf7c5fdf5b3ddfe22a
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date: Sat Mar 29 04:03:42 2014 +0100
Initial Import.
.gitignore | 1 +
perl-MooX-HandlesVia.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 78 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4ec0ae9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MooX-HandlesVia-0.001005.tar.gz
diff --git a/perl-MooX-HandlesVia.spec b/perl-MooX-HandlesVia.spec
new file mode 100644
index 0000000..fcb8e7d
--- /dev/null
+++ b/perl-MooX-HandlesVia.spec
@@ -0,0 +1,76 @@
+Name: perl-MooX-HandlesVia
+Version: 0.001005
+Release: 2%{?dist}
+Summary: NativeTrait-like behavior for Moo
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/MooX-HandlesVia/
+Source0: http://www.cpan.org/authors/id/M/MA/MATTP/MooX-HandlesVia-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(Class::Method::Modifiers)
+BuildRequires: perl(Data::Perl) >= 0.002006
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires: perl(Module::Runtime)
+BuildRequires: perl(Moo) >= 1.003000
+BuildRequires: perl(Moo::Role)
+BuildRequires: perl(MooX::Types::MooseLike::Base) >= 0.23
+BuildRequires: perl(Role::Tiny::With)
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(namespace::autoclean)
+BuildRequires: perl(namespace::clean)
+BuildRequires: perl(overload)
+BuildRequires: perl(strict)
+BuildRequires: perl(strictures) >= 1
+BuildRequires: perl(warnings)
+
+# Redundant to BR: perl(Data::Perl)
+BuildRequires: perl(Data::Perl::Role::Bool)
+BuildRequires: perl(Data::Perl::Role::Code)
+BuildRequires: perl(Data::Perl::Role::Collection::Array)
+BuildRequires: perl(Data::Perl::Role::Collection::Hash)
+BuildRequires: perl(Data::Perl::Role::Counter)
+BuildRequires: perl(Data::Perl::Role::Number)
+BuildRequires: perl(Data::Perl::Role::String)
+
+Requires: perl(Data::Perl) >= 0.002006
+Requires: perl(Moo) >= 1.003000
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+MooX::HandlesVia is an extension of Moo's 'handles' attribute
+functionality. It provides a means of proxying functionality from an
+external class to the given atttribute. This is most commonly used as a way
+to emulate 'Native Trait' behavior that has become commonplace in Moose
+code, for which there was no Moo alternative.
+
+%prep
+%setup -q -n MooX-HandlesVia-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$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 TODO
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Mar 25 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.001005-2
+- Reflect review.
+- Do not package dist.ini, README.mkdn, META.json.
+
+* Fri Mar 21 2014 Ralf Corsépius <corsepiu at fedoraproject.org> 0.001005-1
+- Initial Fedora package.
diff --git a/sources b/sources
index e69de29..6790f50 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+298db139865d00bcdcb73190d22884c4 MooX-HandlesVia-0.001005.tar.gz
More information about the perl-devel
mailing list