Name: perl-Catalyst-View-JSON Version: 0.24 Release: 1%{?dist} Summary: JSON view for your data License: GPL+ or Artistic 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::More) 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 * Tue Sep 09 2008 Dave Cross 0.24-1 - Specfile autogenerated by cpanspec 1.77.