Name: perl-Catalyst-Plugin-Unicode
Version: 0.92
Release: 3%{?dist}
Summary: Unicode aware Catalyst
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-Plugin-Unicode/
Source0: http://cpan.org/modules/by-module/Catalyst/Catalyst-Plugin-Unicode-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Catalyst::Runtime) >= 5.70
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(ok)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::WWW::Mechanize::Catalyst)
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
On request, decodes all params from UTF-8 octets into a sequence of logical
characters. On response, encodes body into UTF-8 octets.
%prep
%setup -q -n Catalyst-Plugin-Unicode-%{version}
%build
PERL5_CPANPLUS_IS_RUNNING=1 %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
TEST_POD=1 make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.92-3
- rebuild against perl 5.10.1
* Sun Oct 18 2009 Iain Arnell <iarnell@gmail.com> 0.92-2
- set PERL5_CPANPLUS_IS_RUNNING for Makefile.PL
* Sun Oct 18 2009 Iain Arnell <iarnell@gmail.com> 0.92-1
- update to latest upstream
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.91-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Apr 22 2009 Iain Arnell <iarnell@gmail.com> 0.91-1
- update to 0.91
- BR perl(MRO::Compat)
* Sat Feb 28 2009 Iain Arnell 0.8-1
- Specfile autogenerated by cpanspec 1.77.
- enable pod tests