Name: perl-MooseX-Params-Validate
Version: 0.09
Release: 1%{?dist}
Summary: Extension of Params::Validate using Moose's types
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/MooseX-Params-Validate/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/MooseX-Params-Validate-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Moose) >= 0.58
BuildRequires: perl(Params::Validate) >= 0.88
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Sub::Name)
BuildRequires: perl(Test::Exception) >= 0.21
BuildRequires: perl(Test::More) >= 0.62
%description
This module fills a gap in Moose by adding method parameter validation to
Moose. This is just one of many developing options, it should be considered
the "official" one by any means though.
%prep
%setup -q -n MooseX-Params-Validate-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{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
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc ChangeLog README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Apr 19 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.09-1
- update to 0.09
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Jan 10 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.07-2
- rebuild against new Moose
* Sat Nov 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.07-1
- update to 0.07
- change from Build.PL to Makefile.PL incantation (now using Module::Install)
- update br's
* Tue Jul 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
- update to 0.05
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.03-2
- rebuild for new perl
* Mon Oct 22 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.03-1
- update to 0.03
- license tag update: GPL -> GPL+
- add t/ to doc
* Thu Apr 26 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.02-1
- update to 0.02
* Thu Apr 19 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.01-2
- bump
* Wed Apr 18 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.01-1
- Specfile autogenerated by cpanspec 1.69.1.