%global pkg_name JSON-Any %global pkg_version 1.13 %global rpm_pkg_version 1.13 %global rpm_pkg_release 1.n0i.6 Summary: Wrapper Class for the various JSON classes Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/P/PE/PERIGRIN/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl Requires: perl(:JSON) # full throttle for testing, but no runtime requires! let alternatives work %if %{!?_without_test:1}0 BuildRequires: perl(JSON) BuildRequires: perl(JSON::XS) BuildRequires: perl(JSON::PC) BuildRequires: perl(JSON::DWIW) BuildRequires: perl(JSON::Syck) %endif %description JSON::Any is a generic wrapper class for the myriad JSON classes. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Wed Nov 07 2007 Marius Feraru - 1.13-1.n0i.6 - version 1.13 - spec update (new reb00t build tools) * Mon Oct 22 2007 Marius Feraru - 1.12-1.n0i.5 - version 1.12 * Fri Oct 19 2007 Marius Feraru - 1.11-1.n0i.4 - version 1.11 * Fri Oct 12 2007 Marius Feraru - 1.10-1.n0i.3 - version 1.10 * Wed Oct 10 2007 Marius Feraru - 1.09-1.n0i.2 - version 1.09 * Wed Jun 13 2007 Marius Feraru - 1.08-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.9 - version 1.08