You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
219 lines
8.2 KiB
219 lines
8.2 KiB
Name: perl-MooseX-Role-Parameterized
|
|
Summary: Make your roles flexible through parameterization
|
|
Version: 1.04
|
|
Release: 1%{?dist}
|
|
License: GPL+ or Artistic
|
|
Group: Development/Libraries
|
|
URL: http://search.cpan.org/dist/MooseX-Role-Parameterized
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Role-Parameterized-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Module Build
|
|
BuildRequires: perl
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
# Module Runtime
|
|
BuildRequires: perl(Carp)
|
|
BuildRequires: perl(Module::Runtime)
|
|
BuildRequires: perl(Moose) >= 2.0300
|
|
BuildRequires: perl(Moose::Exporter)
|
|
BuildRequires: perl(Moose::Meta::Role)
|
|
BuildRequires: perl(Moose::Role)
|
|
BuildRequires: perl(Moose::Util)
|
|
BuildRequires: perl(namespace::autoclean)
|
|
BuildRequires: perl(namespace::clean)
|
|
# Test Suite
|
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
|
BuildRequires: perl(Data::Dumper)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(lib)
|
|
BuildRequires: perl(List::Util)
|
|
BuildRequires: perl(Moose::Util::TypeConstraints)
|
|
BuildRequires: perl(MooseX::Role::WithOverloading)
|
|
BuildRequires: perl(overload)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Storable)
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::Moose)
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
BuildRequires: perl(Test::Requires)
|
|
BuildRequires: perl(warnings)
|
|
# Runtime
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
Requires: perl(Moose) >= 2.0300
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%description
|
|
Roles are composable units of behavior. They are useful for factoring out
|
|
functionality common to many classes from any part of your class hierarchy.
|
|
(See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.)
|
|
|
|
While combining roles affords you a great deal of flexibility, individual
|
|
roles have very little in the way of configurability. Core Moose provides
|
|
alias for renaming methods to avoid conflicts, and excludes for ignoring
|
|
methods you don't want or need (see Moose::Cookbook::Roles::Recipe2 for more
|
|
about alias and excludes).
|
|
|
|
Because roles serve many different masters, they usually provide only the
|
|
least common denominator of functionality. To empower roles further, more
|
|
configurability than alias and excludes is required. Perhaps your role needs
|
|
to know which method to call when it is done. Or what default value to use for
|
|
its url attribute.
|
|
|
|
Parameterized roles offer exactly this solution.
|
|
|
|
%prep
|
|
%setup -q -n MooseX-Role-Parameterized-%{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 {} ';'
|
|
%{_fixperms} %{buildroot}
|
|
|
|
%check
|
|
make test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes CONTRIBUTING README t/
|
|
%{perl_vendorlib}/MooseX/
|
|
%{_mandir}/man3/MooseX::Role::Parameterized.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Extending.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Meta::Role::Parameterized.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Meta::Trait::Parameterizable.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Meta::Trait::Parameterized.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Parameters.3pm*
|
|
%{_mandir}/man3/MooseX::Role::Parameterized::Tutorial.3pm*
|
|
%{_mandir}/man3/MooseX::Role::README.3pm*
|
|
|
|
%changelog
|
|
* Thu Jul 31 2014 Paul Howarth <paul@city-fan.org> - 1.04-1
|
|
- Update to 1.04
|
|
- This extension is now implemented as a role metarole, which means it can
|
|
(mostly) cooperate with other role extensions, such as
|
|
MooseX::Role::WithOverloading; note that you should load
|
|
MooseX::Role::Parameterized _after_ other extensions
|
|
- This module no longer supports passing a "-metaclass" parameter when you
|
|
load it; this was an artifact from a much earlier era of Moose extensions
|
|
- Repository migrated to the github moose organization
|
|
- Convert this distribution to Dist::Zilla to resolve packaging insanity
|
|
- This release by ETHER → update source URL
|
|
- Use %%license
|
|
- Make %%files list more explicit
|
|
- Classify buildreqs by usage
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Mar 9 2014 Paul Howarth <paul@city-fan.org> - 1.02-1
|
|
- Update to latest upstream version
|
|
- Drop obsoletes/provides for old tests sub-package
|
|
- Don't need to remove empty directories from the buildroot
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 1.00-7
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 1.00-4
|
|
- Perl 5.16 rebuild
|
|
|
|
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 1.00-3
|
|
- drop tests subpackage; move tests to main package documentation
|
|
|
|
* Tue Jan 17 2012 Iain Arnell <iarnell@gmail.com> - 1.00-2
|
|
- rebuilt again for F17 mass rebuild
|
|
|
|
* Sat Jan 14 2012 Iain Arnell <iarnell@gmail.com> 1.00-1
|
|
- update to latest upstream version
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.27-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Sat Oct 01 2011 Iain Arnell <iarnell@gmail.com> 0.27-1
|
|
- update to latest upstream version
|
|
|
|
* Wed Jul 20 2011 Iain Arnell <iarnell@gmail.com> 0.26-2
|
|
- Perl mass rebuild
|
|
|
|
* Sat May 14 2011 Iain Arnell <iarnell@gmail.com> 0.26-1
|
|
- update to latest upstream version
|
|
|
|
* Sun Mar 06 2011 Iain Arnell <iarnell@gmail.com> 0.25-1
|
|
- update to latest upstream version
|
|
- clean up spec for modern rpmbuild
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.18-3
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
* Thu May 13 2010 Ralf Corsépius <corsepiu@fedoraproject.org> 0.18-2
|
|
- perl-5.12.0 mass rebuild.
|
|
|
|
* Sun Mar 14 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.18-1
|
|
- update by Fedora::App::MaintainerTools 0.006
|
|
- updating to latest GA CPAN version (0.18)
|
|
|
|
* Sun Feb 28 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.17-1
|
|
- update by Fedora::App::MaintainerTools 0.004
|
|
- PERL_INSTALL_ROOT => DESTDIR
|
|
|
|
* Wed Jan 20 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.15-1
|
|
- auto-update to 0.15 (by cpan-spec-update 0.01)
|
|
- altered br on perl(Test::More) (0 => 0.88)
|
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.13-2
|
|
- rebuild against perl 5.10.1
|
|
|
|
* Sat Sep 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.13-1
|
|
- auto-update to 0.13 (by cpan-spec-update 0.01)
|
|
- added a new br on perl(Test::Moose) (version 0)
|
|
|
|
* Wed Aug 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.10-1
|
|
- auto-update to 0.10 (by cpan-spec-update 0.01)
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Tue Jun 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09-2
|
|
- drop README, LICENSE from doc
|
|
|
|
* Tue Jun 16 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09-1
|
|
- auto-update to 0.09 (by cpan-spec-update 0.01)
|
|
- added a new br on perl(ExtUtils::MakeMaker) (version 6.42)
|
|
- added a new req on perl(Moose) (version 0.78)
|
|
|
|
* Wed May 20 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
|
|
- auto-update to 0.06 (by cpan-spec-update 0.01)
|
|
- altered br on perl(Test::Exception) (0 => 0.27)
|
|
- altered br on perl(Moose) (0.63 => 0.78)
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.04-1
|
|
- update to 0.04
|
|
|
|
* Sun Jan 25 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
|
|
- update to 0.03
|
|
|
|
* Mon Jan 12 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
|
|
- update for submission
|
|
|
|
* Sun Jan 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.02-0
|
|
- initial RPM packaging
|
|
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.7)
|