Chris Weyl 36ea035
Name:           perl-JSON-Any
Chris Weyl 36ea035
Summary:        A meta-module to make working with JSON easier
001daef
Version:        1.32
001daef
Release:        1%{?dist}
Chris Weyl 36ea035
License:        GPL+ or Artistic
Chris Weyl 36ea035
Group:          Development/Libraries
Chris Weyl 4cf45c2
Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz 
Chris Weyl 36ea035
URL:            http://search.cpan.org/dist/JSON-Any/
Chris Weyl 36ea035
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 4cf45c2
BuildArch:      noarch
Chris Weyl 36ea035
Chris Weyl 36ea035
BuildRequires:  perl(Carp)
Chris Weyl 4cf45c2
BuildRequires:  perl(CPAN)
001daef
# Not in Fedora
001daef
# BuildRequires:  perl(Cpanel::JSON::XS)
e9fbced
BuildRequires:  perl(Data::Dumper)
e9fbced
BuildRequires:  perl(Devel::StringInfo)
Chris Weyl b61761a
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
4dc8632
BuildRequires:  perl(JSON)
001daef
# Not in Fedora
001daef
# BuildRequires:  perl(JSON::DWIW)
001daef
BuildRequires:  perl(JSON::PP)
4dc8632
BuildRequires:  perl(JSON::Syck)
Chris Weyl 4cf45c2
BuildRequires:  perl(JSON::XS) >= 1.52
e9fbced
BuildRequires:  perl(Storable)
Chris Weyl b61761a
BuildRequires:  perl(Test::More) >= 0.42
001daef
BuildRequires:  perl(Test::Requires)
001daef
BuildRequires:  perl(Test::Without::Module)
Chris Weyl 4cf45c2
Chris Weyl b61761a
Requires:       perl(Carp)
Chris Weyl 4cf45c2
Requires:       perl(JSON::XS) >= 1.52
Chris Weyl b61761a
Chris Weyl 4cf45c2
%{?perl_default_filter}
Chris Weyl 4cf45c2
%{?perl_default_subpackage_tests}
Chris Weyl b61761a
Chris Weyl 36ea035
%description
Chris Weyl 36ea035
JSON::Any provides a coherent API to bring together the various JSON modules
Chris Weyl 36ea035
currently on CPAN.
Chris Weyl 36ea035
Chris Weyl 36ea035
%prep
Chris Weyl 36ea035
%setup -q -n JSON-Any-%{version}
Chris Weyl 36ea035
Chris Weyl 36ea035
find .  -type f -exec chmod -c -x {} +
Chris Weyl 36ea035
Chris Weyl 36ea035
%build
Chris Weyl 36ea035
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
Chris Weyl 36ea035
make
Chris Weyl 36ea035
Chris Weyl 36ea035
%install
Chris Weyl 4cf45c2
make pure_install DESTDIR=%{buildroot}
Chris Weyl 36ea035
Chris Weyl 36ea035
find %{buildroot} -type f -name .packlist -exec rm -f {} +
Chris Weyl 36ea035
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl 36ea035
Chris Weyl 36ea035
%{_fixperms} %{buildroot}/*
Chris Weyl 36ea035
Chris Weyl 36ea035
%check
Chris Weyl 36ea035
make test
Chris Weyl 36ea035
Chris Weyl 36ea035
%files
001daef
%doc CHANGES README
Chris Weyl 36ea035
%{perl_vendorlib}/*
Chris Weyl 36ea035
%{_mandir}/man3/*
Chris Weyl 36ea035
Chris Weyl 36ea035
%changelog
001daef
* Sun Nov 10 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1.32-1
001daef
- Update to 1.32
001daef
83b2594
* Sat Aug 03 2013 Petr Pisar <ppisar@redhat.com> - 1.30-2
83b2594
- Perl 5.18 rebuild
83b2594
61ff2e0
* Sun Jun 16 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1.30-1
61ff2e0
- Update to 1.30
61ff2e0
2345031
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-4
2345031
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2345031
8e7762c
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.29-3
8e7762c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
8e7762c
52a81ef
* Wed Jun 20 2012 Petr Pisar <ppisar@redhat.com> - 1.29-2
52a81ef
- Perl 5.16 rebuild
e9fbced
- Specify all dependencies
52a81ef
Emmanuel Seyman 6efdc4e
* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1.29-1
Emmanuel Seyman 6efdc4e
- Update to 1.29
Emmanuel Seyman 6efdc4e
- Remove the defattr macro (no longer used)
Emmanuel Seyman 6efdc4e
Petr Sabata fa44b41
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.25-3
Petr Sabata fa44b41
- Perl mass rebuild
Petr Sabata fa44b41
aa01c5c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
aa01c5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
aa01c5c
4dc8632
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> 1.25-1
4dc8632
- update to latest upstream version
4dc8632
- clean up spec for modern rpmbuild
4dc8632
- restore JSON and JSON::Syck BRs for tests
4dc8632
f91313c
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
f91313c
- Mass rebuild with perl-5.12.0
f91313c
Chris Weyl 4cf45c2
* Tue Feb 23 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
Chris Weyl 4cf45c2
- update by Fedora::App::MaintainerTools 0.003
Chris Weyl 4cf45c2
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl 4cf45c2
- dropped old BR on perl(JSON)
Chris Weyl 4cf45c2
- dropped old BR on perl(JSON::Syck)
Chris Weyl 4cf45c2
a5e8d24
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.21-2
a5e8d24
- rebuild against perl 5.10.1
a5e8d24
Chris Weyl b61761a
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
Chris Weyl b61761a
- auto-update to 1.21 (by cpan-spec-update 0.01)
Chris Weyl b61761a
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
Chris Weyl b61761a
- altered br on perl(Test::More) (0.62 => 0.42)
Chris Weyl b61761a
- added a new br on CPAN (inc::Module::AutoInstall found)
Chris Weyl b61761a
- added a new req on perl(Carp) (version 0)
Chris Weyl b61761a
a349b17
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-4
a349b17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a349b17
adb4fac
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3
adb4fac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
adb4fac
e691f06
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
e691f06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e691f06
Chris Weyl 03f4a14
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.19-1
Chris Weyl 03f4a14
- update to 1.19
Chris Weyl 03f4a14
2e9b9d1
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.16-4
2e9b9d1
- Fix Patch:/%%patch0 mismatch.
2e9b9d1
Chris Weyl d922c03
* Sat Mar 22 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-3
Chris Weyl d922c03
- patch to allow utf8 to work properly with JSON::XS earlier than version 2
Chris Weyl d922c03
- patch to skip JSON when JSON is earlier than version 2
Chris Weyl d922c03
Chris Weyl 1a95813
* Wed Mar 12 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-2
Chris Weyl 1a95813
- bump
Chris Weyl 1a95813
Chris Weyl 36ea035
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-1
Chris Weyl 36ea035
- Specfile autogenerated by cpanspec 1.74.