%define upstream_name JSON-Any %define upstream_version 1.29 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 Summary: Wrapper Class for the various JSON classes License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/JSON/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildRequires: perl(JSON) >= 2.20.0 BuildRequires: perl(JSON::Syck) BuildRequires: perl(JSON::XS) >= 2.300.0 BuildRequires: perl(Test::More) >= 0.420.0 BuildRequires: perl(JSON::DWIW) BuildArch: noarch %description This module will provide a coherent API to bring together the various JSON modules currently on CPAN. This module will allow you to code to any JSON API and have it work regardless of which JSON module is actually installed. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes META.yml README %{perl_vendorlib}/* %{_mandir}/*/* %changelog * Thu Mar 14 2013 rtp <rtp> 1.290.0-3.mga3 + Revision: 403208 - add missing BR on perl(JSON::DWIW) * Sun Jan 13 2013 umeabot <umeabot> 1.290.0-2.mga3 + Revision: 368758 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jun 15 2011 jquelin <jquelin> 1.290.0-1.mga2 + Revision: 107017 - update to 1.29 * Tue Apr 12 2011 jquelin <jquelin> 1.270.0-1.mga1 + Revision: 83771 - update to 1.27 * Mon Apr 04 2011 jquelin <jquelin> 1.260.0-1.mga1 + Revision: 80365 - update to 1.26 * Mon Jan 24 2011 jquelin <jquelin> 1.250.0-1.mga1 + Revision: 36375 - mageia rebuild - cleaning spec file - imported package perl-JSON-Any * Sat Nov 27 2010 Guillaume Rousse <guillomovitch@mandriva.org> 1.250.0-1mdv2011.0 + Revision: 601898 - update to new version 1.25 * Fri Nov 12 2010 Jérôme Quelin <jquelin@mandriva.org> 1.240.0-1mdv2011.0 + Revision: 596611 - update to 1.24 * Fri Nov 06 2009 Jérôme Quelin <jquelin@mandriva.org> 1.220.0-1mdv2011.0 + Revision: 461540 - adding missing buildrequires: - update to 1.22 * Wed Jul 08 2009 Jérôme Quelin <jquelin@mandriva.org> 1.210.0-1mdv2010.0 + Revision: 393423 - update to 1.21 - using %%perl_convert_version - fixed license field * Mon May 04 2009 Guillaume Rousse <guillomovitch@mandriva.org> 1.19-0.1mdv2010.0 + Revision: 371726 - new version * Thu Jul 24 2008 Thierry Vignaud <tv@mandriva.org> 1.04-0.2mdv2009.0 + Revision: 245452 - rebuild * Thu Dec 20 2007 Olivier Blin <oblin@mandriva.com> 1.04-0.1mdv2008.1 + Revision: 135856 - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 1.04-0.1mdv2008.0 + Revision: 19748 - buildrequires - 1.04 - Create perl-JSON-Any