Name: perl-Catalyst-View-JSON
Version: 0.24
Release: 3%{?dist}
Summary: JSON view for your data
License: GPL+ or Artistic 2.0
Group: Development/Libraries
URL: http://search.cpan.org/dist/Catalyst-View-JSON/
Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Catalyst-View-JSON-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Catalyst) >= 5.6
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(JSON::Any) >= 1.15
BuildRequires: perl(Test::Builder::Module)
BuildRequires: perl(JSON)
Requires: perl(Catalyst) >= 5.6
Requires: perl(JSON::Any) >= 1.15
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Catalyst::View::JSON is a Catalyst View handler that returns stash data in
JSON format.
%prep
%setup -q -n Catalyst-View-JSON-%{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
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Jun 07 2008 Caolán McNamara <caolanm@redhat.com> 0.24-2
- rebuild for dependancies
* Thu Mar 27 2008 Simon Wilkinson <simon@sxw.org.uk> 0.24-1
- Specfile autogenerated by cpanspec 1.73.