41b9347
Name:           perl-MooseX-Method-Signatures
8f2386b
Version:        0.43
a1564b1
Release:        3%{?dist}
41b9347
Summary:        Method declarations with type constraints and no source filter
41b9347
License:        GPL+ or Artistic
41b9347
Group:          Development/Libraries
41b9347
URL:            http://search.cpan.org/dist/MooseX-Method-Signatures/
f03b08f
Source0:        http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/MooseX-Method-Signatures-%{version}.tar.gz
41b9347
BuildArch:      noarch
41b9347
BuildRequires:  perl(aliased)
f03b08f
BuildRequires:  perl(B::Hooks::EndOfScope) >= 0.10
41b9347
BuildRequires:  perl(Context::Preserve)
f03b08f
BuildRequires:  perl(Data::Dumper)
41b9347
BuildRequires:  perl(Devel::Declare) >= 0.005011
f03b08f
BuildRequires:  perl(Eval::Closure)
41b9347
BuildRequires:  perl(ExtUtils::MakeMaker)
f03b08f
BuildRequires:  perl(File::Find)
f03b08f
BuildRequires:  perl(File::Temp)
4fc7038
BuildRequires:  perl(metaclass)
f03b08f
BuildRequires:  perl(Module::Runtime)
41b9347
BuildRequires:  perl(Moose) >= 0.89
4fc7038
BuildRequires:  perl(Moose::Meta::Class)
4fc7038
BuildRequires:  perl(Moose::Meta::Method)
4fc7038
BuildRequires:  perl(Moose::Role)
4fc7038
BuildRequires:  perl(Moose::Util)
41b9347
BuildRequires:  perl(Moose::Util::TypeConstraints)
182bdbc
BuildRequires:  perl(MooseX::LazyRequire) >= 0.06
41b9347
BuildRequires:  perl(MooseX::Meta::TypeConstraint::ForceCoercion)
8f2386b
BuildRequires:  perl(MooseX::Types) >= 0.35
4fc7038
BuildRequires:  perl(MooseX::Types::Moose) >= 0.19
f03b08f
BuildRequires:  perl(MooseX::Types::Structured) >= 0.24
4fc7038
BuildRequires:  perl(MooseX::Types::Util)
41b9347
BuildRequires:  perl(namespace::autoclean)
4fc7038
BuildRequires:  perl(namespace::clean)
fa89b94
BuildRequires:  perl(Parse::Method::Signatures) >= 1.003014
fa89b94
BuildRequires:  perl(Parse::Method::Signatures::Param::Named)
fa89b94
BuildRequires:  perl(Parse::Method::Signatures::Param::Placeholder)
4fc7038
BuildRequires:  perl(Parse::Method::Signatures::TypeConstraint)
4fc7038
BuildRequires:  perl(Parse::Method::Signatures::Types)
41b9347
BuildRequires:  perl(Sub::Name)
41b9347
BuildRequires:  perl(Task::Weaken)
8f2386b
# not yet available in Fedora
8f2386b
#BuildRequires:  perl(Test::CheckDeps)
f03b08f
BuildRequires:  perl(Test::Deep)
f03b08f
BuildRequires:  perl(Test::Fatal)
41b9347
BuildRequires:  perl(Test::Moose)
41b9347
BuildRequires:  perl(Test::More) >= 0.89
4fc7038
BuildRequires:  perl(Test::Pod)
41b9347
BuildRequires:  perl(Text::Balanced)
4fc7038
# not automatically detected
4fc7038
Requires:       perl(Moose::Meta::Method)
8f2386b
Requires:       perl(MooseX::Types) >= 0.35
41b9347
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
41b9347
41b9347
%{?perl_default_filter}
41b9347
41b9347
%description
41b9347
Provides a proper method keyword, like "sub" but specifically for making
41b9347
methods and validating their arguments against Moose type constraints.
41b9347
41b9347
%prep
41b9347
%setup -q -n MooseX-Method-Signatures-%{version}
41b9347
8f2386b
# Test::CheckDeps not yet in Fedora
8f2386b
rm -f t/00-check-deps.t
8f2386b
41b9347
%build
41b9347
%{__perl} Makefile.PL INSTALLDIRS=vendor
41b9347
make %{?_smp_mflags}
41b9347
41b9347
%install
4fc7038
make pure_install DESTDIR=%{buildroot}
41b9347
4fc7038
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
41b9347
4fc7038
%{_fixperms} %{buildroot}/*
41b9347
41b9347
%check
41b9347
make test
fa89b94
41b9347
%files
fa89b94
%doc Changes LICENSE README
41b9347
%{perl_vendorlib}/*
41b9347
%{_mandir}/man3/*
41b9347
41b9347
%changelog
a1564b1
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.43-3
a1564b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a1564b1
72ebbe7
* Mon Jun 25 2012 Petr Pisar <ppisar@redhat.com> - 0.43-2
72ebbe7
- Perl 5.16 rebuild
72ebbe7
8f2386b
* Sun Jun 10 2012 Iain Arnell <iarnell@gmail.com> 0.43-1
8f2386b
- update to latest upstream version
8f2386b
f03b08f
* Fri May 18 2012 Iain Arnell <iarnell@gmail.com> 0.42-1
f03b08f
- update to latest upstream version
f03b08f
ccdad5e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-2
ccdad5e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ccdad5e
fa89b94
* Fri Sep 23 2011 Iain Arnell <iarnell@gmail.com> 0.37-1
fa89b94
- update to latest upstream version
fa89b94
Petr Sabata 36a415e
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.36-4
Petr Sabata 36a415e
- Perl mass rebuild
Petr Sabata 36a415e
0803a03
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.36-3
0803a03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0803a03
cd20d54
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.36-2
cd20d54
- 661697 rebuild for fixing problems with vendorach/lib
cd20d54
182bdbc
* Tue Sep 07 2010 Iain Arnell <iarnell@gmail.com> 0.36-1
182bdbc
- update to latest upstream
182bdbc
4fc7038
* Tue Jul 27 2010 Iain Arnell <iarnell@gmail.com> 0.35-1
4fc7038
- update to latest upstream
4fc7038
- update spec for modern rpmbuild
4fc7038
41b9347
* Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.34-1
41b9347
- Specfile autogenerated by cpanspec 1.78.