commit 725c7f05dc78f533bb45d8f84d65e45117512734 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Mon Oct 3 16:34:14 2011 +0200 initial import (rhbz#742545) .gitignore | 1 + perl-MooseX-RelatedClassRoles.spec | 52 ++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..fc4cf8e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-RelatedClassRoles-0.004.tar.gz diff --git a/perl-MooseX-RelatedClassRoles.spec b/perl-MooseX-RelatedClassRoles.spec new file mode 100644 index 0000000..3895f97 --- /dev/null +++ b/perl-MooseX-RelatedClassRoles.spec @@ -0,0 +1,52 @@ +Name: perl-MooseX-RelatedClassRoles +Version: 0.004 +Release: 1%{?dist} +Summary: Apply roles to a class related to yours +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooseX-RelatedClassRoles/ +Source0: http://www.cpan.org/authors/id/H/HD/HDP/MooseX-RelatedClassRoles-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Class::MOP) >= 0.80 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) >= 0.73 +BuildRequires: perl(MooseX::Role::Parameterized) >= 0.04 +BuildRequires: perl(Test::More) +Requires: perl(Class::MOP) >= 0.80 +Requires: perl(Moose) >= 0.73 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Frequently, you have to use a class that provides some foo_class accessor +or attribute as a method of dependency injection. Use this role when you'd +rather apply roles to make your custom foo_class instead of manually +setting up a subclass. + +%prep +%setup -q -n MooseX-RelatedClassRoles-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Sep 30 2011 Iain Arnell <iarnell@xxxxxxxxx> 0.004-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..03b93db 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +76d8afd0f24f68f564e5891b8329d52e MooseX-RelatedClassRoles-0.004.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