|
|
|
Name: perl-MooseX-Types-LoadableClass
|
|
|
|
Version: 0.008
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: ClassName type constraint with coercion to load the class
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/MooseX-Types-LoadableClass/
|
|
|
|
Source0: http://www.cpan.org/authors/id/B/BO/BOBTFISH/MooseX-Types-LoadableClass-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(Class::Load) >= 0.06
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Moose)
|
|
|
|
BuildRequires: perl(MooseX::Types) >= 0.22
|
|
|
|
BuildRequires: perl(namespace::clean)
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
Requires: perl(Class::Load) >= 0.06
|
|
|
|
Requires: perl(MooseX::Types) >= 0.22
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
ClassName type constraint with coercion to load the class.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n MooseX-Types-LoadableClass-%{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 README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 0.008-5
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.008-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 0.008-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Wed Mar 14 2012 Iain Arnell <iarnell@gmail.com> 0.008-1
|
|
|
|
- update to latest upstream
|
|
|
|
|
|
|
|
* Tue Feb 21 2012 Iain Arnell <iarnell@gmail.com> 0.007-1
|
|
|
|
- update to latest upstream version
|
|
|
|
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.006-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Aug 29 2011 Iain Arnell <iarnell@gmail.com> 0.006-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|