Name: perl-MooseX-Types-URI Version: 0.01 Release: 1%{?dist} # see lib/MooseX/Types/URI.pm License: GPL+ or Artistic Group: Development/Libraries Summary: URI related types and coercions for Moose Source: http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/MooseX-Types-URI-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-Types-URI BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose) >= 0.50 BuildRequires: perl(MooseX::Types) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(namespace::clean) >= 0.08 BuildRequires: perl(Test::use::ok) BuildRequires: perl(URI) BuildRequires: perl(URI::FromHash) %description This package provides Moose types for fun (and profit) with the URI classes. It has slightly DWIMier types than the the URI classes have due to implementation details, so the types should be more forgiving when ducktyping will work anyway (e.g. URI::WithBase does not inherit URI). %prep %setup -q -n MooseX-Types-URI-%{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 t/ %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Oct 07 2008 Chris Weyl 0.01-1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.1)