Name: perl-CGI-Application-Plugin-JSON Version: 1.02 Release: 1%{?dist} Summary: Easy manipulation of JSON headers License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Application-Plugin-JSON/ Source0: file:///home/dave/cpan/authors/id/W/WO/WONKO/CGI-Application-Plugin-JSON-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(CGI::Application) >= 4 BuildRequires: perl(JSON) >= 2.02 BuildRequires: perl(JSON::Any) >= 1.14 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) Requires: perl(CGI::Application) >= 4 Requires: perl(JSON::Any) >= 1.14 Requires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description When communicating with client-side JavaScript, it is common to send data in X-JSON HTTP headers or through the document body as content-type application/json. %prep %setup -q -n CGI-Application-Plugin-JSON-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README TODO %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Feb 08 2010 Dave Cross 1.02-1 - Specfile autogenerated by cpanspec 1.78.