Name: perl-Catalyst-Plugin-Unicode
Version: 0.8
Release: 1%{?dist}
Summary: Unicode aware Catalyst
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-Plugin-Unicode/
Source0: http://www.cpan.org/authors/id/J/JR/JROCKWAY/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(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
%{__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
* Sat Feb 28 2009 Iain Arnell 0.8-1
- Specfile autogenerated by cpanspec 1.77.
- enable pod tests