Chris Weyl 7ddeb13
Name:           perl-JSON-Any
Chris Weyl 7ddeb13
Summary:        A meta-module to make working with JSON easier
Emmanuel Seyman 47ae5ba
Version:        1.29
Emmanuel Seyman 47ae5ba
Release:        1%{?dist}
Chris Weyl 7ddeb13
License:        GPL+ or Artistic
Chris Weyl 7ddeb13
Group:          Development/Libraries
Chris Weyl 948032d
Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/JSON-Any-%{version}.tar.gz 
Chris Weyl 7ddeb13
URL:            http://search.cpan.org/dist/JSON-Any/
Chris Weyl 7ddeb13
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 948032d
BuildArch:      noarch
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
BuildRequires:  perl(Carp)
Chris Weyl 948032d
BuildRequires:  perl(CPAN)
Chris Weyl af63f21
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
9ce4408
BuildRequires:  perl(JSON)
9ce4408
BuildRequires:  perl(JSON::Syck)
Chris Weyl 948032d
BuildRequires:  perl(JSON::XS) >= 1.52
Chris Weyl af63f21
BuildRequires:  perl(Test::More) >= 0.42
Chris Weyl 948032d
Chris Weyl af63f21
Requires:       perl(Carp)
Chris Weyl 948032d
Requires:       perl(JSON::XS) >= 1.52
Chris Weyl af63f21
Chris Weyl 948032d
%{?perl_default_filter}
Chris Weyl 948032d
%{?perl_default_subpackage_tests}
Chris Weyl af63f21
Chris Weyl 7ddeb13
%description
Chris Weyl 7ddeb13
JSON::Any provides a coherent API to bring together the various JSON modules
Chris Weyl 7ddeb13
currently on CPAN.
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%prep
Chris Weyl 7ddeb13
%setup -q -n JSON-Any-%{version}
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
find .  -type f -exec chmod -c -x {} +
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
cat Changes | iconv -f ISO-8859-1 -t UTF-8 > Changes.foo
Chris Weyl 7ddeb13
mv  Changes.foo Changes
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%build
Chris Weyl 7ddeb13
%{__perl} Makefile.PL INSTALLDIRS=vendor --default
Chris Weyl 7ddeb13
make
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%install
Chris Weyl 948032d
make pure_install DESTDIR=%{buildroot}
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
find %{buildroot} -type f -name .packlist -exec rm -f {} +
Chris Weyl 7ddeb13
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%{_fixperms} %{buildroot}/*
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%check
Chris Weyl 7ddeb13
make test
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%files
Chris Weyl 948032d
%doc Changes README
Chris Weyl 7ddeb13
%{perl_vendorlib}/*
Chris Weyl 7ddeb13
%{_mandir}/man3/*
Chris Weyl 7ddeb13
Chris Weyl 7ddeb13
%changelog
Emmanuel Seyman 47ae5ba
* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1.29-1
Emmanuel Seyman 47ae5ba
- Update to 1.29
Emmanuel Seyman 47ae5ba
- Remove the defattr macro (no longer used)
Emmanuel Seyman 47ae5ba
Petr Sabata 7926321
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 1.25-3
Petr Sabata 7926321
- Perl mass rebuild
Petr Sabata 7926321
77fbdc8
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-2
77fbdc8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77fbdc8
9ce4408
* Sun Nov 21 2010 Iain Arnell <iarnell@gmail.com> 1.25-1
9ce4408
- update to latest upstream version
9ce4408
- clean up spec for modern rpmbuild
9ce4408
- restore JSON and JSON::Syck BRs for tests
9ce4408
be0c09c
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.22-2
be0c09c
- Mass rebuild with perl-5.12.0
be0c09c
Chris Weyl 948032d
* Tue Feb 23 2010 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
Chris Weyl 948032d
- update by Fedora::App::MaintainerTools 0.003
Chris Weyl 948032d
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl 948032d
- dropped old BR on perl(JSON)
Chris Weyl 948032d
- dropped old BR on perl(JSON::Syck)
Chris Weyl 948032d
fa5757e
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.21-2
fa5757e
- rebuild against perl 5.10.1
fa5757e
Chris Weyl af63f21
* Tue Aug 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
Chris Weyl af63f21
- auto-update to 1.21 (by cpan-spec-update 0.01)
Chris Weyl af63f21
- altered br on perl(ExtUtils::MakeMaker) (0 => 6.42)
Chris Weyl af63f21
- altered br on perl(Test::More) (0.62 => 0.42)
Chris Weyl af63f21
- added a new br on CPAN (inc::Module::AutoInstall found)
Chris Weyl af63f21
- added a new req on perl(Carp) (version 0)
Chris Weyl af63f21
8f9c9e3
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-4
8f9c9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
8f9c9e3
14d8c65
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-3
14d8c65
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
14d8c65
d761000
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.19-2
d761000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d761000
Chris Weyl 74c1d50
* Wed Feb 11 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.19-1
Chris Weyl 74c1d50
- update to 1.19
Chris Weyl 74c1d50
3b0b43c
* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.16-4
3b0b43c
- Fix Patch:/%%patch0 mismatch.
3b0b43c
Chris Weyl 821524f
* Sat Mar 22 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-3
Chris Weyl 821524f
- patch to allow utf8 to work properly with JSON::XS earlier than version 2
Chris Weyl 821524f
- patch to skip JSON when JSON is earlier than version 2
Chris Weyl 821524f
Chris Weyl 2f2ce9f
* Wed Mar 12 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-2
Chris Weyl 2f2ce9f
- bump
Chris Weyl 2f2ce9f
Chris Weyl 7ddeb13
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 1.16-1
Chris Weyl 7ddeb13
- Specfile autogenerated by cpanspec 1.74.