|
|
7b6f6e1 |
Name: perl-Module-Pluggable-Ordered
|
|
|
7b6f6e1 |
Version: 1.5
|
|
|
1c671ce |
Release: 11%{?dist}
|
|
|
7b6f6e1 |
Summary: Call module plugins in a specified order
|
|
|
7b6f6e1 |
License: GPL+ or Artistic
|
|
|
7b6f6e1 |
Group: Development/Libraries
|
|
|
7b6f6e1 |
URL: http://search.cpan.org/dist/Module-Pluggable-Ordered/
|
|
|
7b6f6e1 |
Source0: http://www.cpan.org/authors/id/A/AP/APEIRON/Module-Pluggable-Ordered-%{version}.tar.gz
|
|
|
7b6f6e1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7b6f6e1 |
BuildArch: noarch
|
|
|
7b6f6e1 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
7b6f6e1 |
BuildRequires: perl(Module::Pluggable) >= 1.9
|
|
|
7b6f6e1 |
BuildRequires: perl(Test::More)
|
|
|
7b6f6e1 |
BuildRequires: perl(UNIVERSAL::require)
|
|
|
7b6f6e1 |
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%description
|
|
|
7b6f6e1 |
This module behaves exactly the same as Module::Pluggable, supporting
|
|
|
7b6f6e1 |
all of its options, but also mixes in the call_plugins and
|
|
|
7b6f6e1 |
plugins_ordered methods to your class. call_plugins acts a little like
|
|
|
7b6f6e1 |
Class::Trigger; it takes the name of a method, and some parameters.
|
|
|
7b6f6e1 |
Let's say we call it like so:
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%prep
|
|
|
7b6f6e1 |
%setup -q -n Module-Pluggable-Ordered-%{version}
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%build
|
|
|
7b6f6e1 |
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
7b6f6e1 |
make %{?_smp_mflags}
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%install
|
|
|
7b6f6e1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
7b6f6e1 |
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%check
|
|
|
7b6f6e1 |
make test
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%clean
|
|
|
7b6f6e1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%files
|
|
|
7b6f6e1 |
%defattr(-,root,root,-)
|
|
|
7b6f6e1 |
%doc Changes README
|
|
|
7b6f6e1 |
%{perl_vendorlib}/*
|
|
|
7b6f6e1 |
%{_mandir}/man3/*
|
|
|
7b6f6e1 |
|
|
|
7b6f6e1 |
%changelog
|
|
|
1c671ce |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-11
|
|
|
1c671ce |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1c671ce |
|
|
|
6344502 |
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.5-10
|
|
|
6344502 |
- Perl 5.16 rebuild
|
|
|
6344502 |
|
|
|
006720c |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-9
|
|
|
006720c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
006720c |
|
|
|
31d341b |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-8
|
|
|
31d341b |
- Perl mass rebuild
|
|
|
31d341b |
|
|
|
e65ebe8 |
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.5-7
|
|
|
e65ebe8 |
- Perl mass rebuild
|
|
|
e65ebe8 |
|
|
|
f1c06ad |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-6
|
|
|
f1c06ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
f1c06ad |
|
|
|
ae83a01 |
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-5
|
|
|
ae83a01 |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
ae83a01 |
|
|
|
642ac8c |
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.5-4
|
|
|
642ac8c |
- Mass rebuild with perl-5.12.0
|
|
|
642ac8c |
|
|
|
2ad8bd3 |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.5-3
|
|
|
2ad8bd3 |
- rebuild against perl 5.10.1
|
|
|
2ad8bd3 |
|
|
|
565e99e |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
|
|
|
565e99e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
565e99e |
|
|
|
7b6f6e1 |
* Mon May 04 2009 Iain Arnell <iarnell@gmail.com> 1.5-1
|
|
|
7b6f6e1 |
- Specfile autogenerated by cpanspec 1.77.
|
|
|
7b6f6e1 |
- remove explicit requires
|