| [5740] | 1 | Name: perl-JSON-PP |
|---|
| 2 | Version: 2.27200 |
|---|
| [5794] | 3 | Release: 2%{?_dist_release} |
|---|
| [5740] | 4 | Summary: JSON::XS compatible pure-Perl module |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | Group: Development/Libraries |
|---|
| 7 | URL: http://search.cpan.org/dist/CPAN-Meta-YAML/ |
|---|
| 8 | Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-PP-%{version}.tar.gz |
|---|
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) |
|---|
| 10 | BuildArch: noarch |
|---|
| 11 | BuildRequires: perl(B) |
|---|
| 12 | BuildRequires: perl(Carp) |
|---|
| 13 | BuildRequires: perl(Exporter) |
|---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 15 | BuildRequires: perl(Getopt::Long) |
|---|
| 16 | BuildRequires: perl(Test::More) |
|---|
| 17 | BuildRequires: perl(Tie::IxHash) |
|---|
| 18 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
|---|
| 19 | Conflicts: perl-JSON < 2.50 |
|---|
| 20 | |
|---|
| 21 | Vendor: Project Vine |
|---|
| 22 | Distribution: Vine Linux |
|---|
| 23 | Packager: shaolin |
|---|
| 24 | |
|---|
| 25 | %description |
|---|
| 26 | JSON::XS is the fastest and most proper JSON module on CPAN. It is written by |
|---|
| 27 | Marc Lehmann in C, so must be compiled and installed in the used environment. |
|---|
| 28 | |
|---|
| 29 | JSON::PP is a pure-Perl module and is compatible with JSON::XS. |
|---|
| 30 | |
|---|
| 31 | %prep |
|---|
| 32 | %setup -q -n JSON-PP-%{version} |
|---|
| 33 | |
|---|
| 34 | %build |
|---|
| 35 | perl Makefile.PL INSTALLDIRS=perl |
|---|
| 36 | make %{?_smp_mflags} |
|---|
| 37 | |
|---|
| 38 | %install |
|---|
| 39 | rm -rf %{buildroot} |
|---|
| 40 | make pure_install DESTDIR=%{buildroot} |
|---|
| 41 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
|---|
| 42 | find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null |
|---|
| 43 | %{_fixperms} %{buildroot} |
|---|
| 44 | |
|---|
| 45 | %check |
|---|
| 46 | make test |
|---|
| 47 | |
|---|
| 48 | %clean |
|---|
| 49 | rm -rf %{buildroot} |
|---|
| 50 | |
|---|
| 51 | %files |
|---|
| 52 | %defattr(-,root,root,-) |
|---|
| 53 | %doc Changes README |
|---|
| 54 | %{_bindir}/json_pp |
|---|
| 55 | %{perl_privlib}/JSON/ |
|---|
| 56 | %{_mandir}/man1/json_pp.1* |
|---|
| 57 | %{_mandir}/man3/JSON::PP.3pm* |
|---|
| 58 | %{_mandir}/man3/JSON::PP::Boolean.3pm* |
|---|
| 59 | |
|---|
| 60 | %changelog |
|---|
| [5794] | 61 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.27200-2 |
|---|
| 62 | - rebuild |
|---|
| 63 | |
|---|
| [5740] | 64 | * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.27200-1 |
|---|
| 65 | - initial package for Vine Linux |
|---|
| 66 | |
|---|
| 67 | * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 2.27200-3 |
|---|
| 68 | - Add buildreqs for perl core modules, which might be dual-lived |
|---|
| 69 | |
|---|
| 70 | * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.27200-2 |
|---|
| 71 | - Perl mass rebuild |
|---|
| 72 | |
|---|
| 73 | * Sun May 22 2011 Paul Howarth <paul@city-fan.org> - 2.27200-1 |
|---|
| 74 | - Update to 2.27200 |
|---|
| 75 | - Fixed incr_parse decoding string more correctly (CPAN RT#68032) |
|---|
| 76 | |
|---|
| 77 | * Tue Mar 8 2011 Paul Howarth <paul@city-fan.org> - 2.27105-1 |
|---|
| 78 | - Update to 2.27105 |
|---|
| 79 | - Removed t/900_pod.t from package because of author test |
|---|
| 80 | - Drop buildreq perl(Test::Pod), no longer needed |
|---|
| 81 | |
|---|
| 82 | * Tue Feb 8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27104-4 |
|---|
| 83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
|---|
| 84 | |
|---|
| 85 | * Thu Jan 27 2011 Paul Howarth <paul@city-fan.org> - 2.27104-3 |
|---|
| 86 | - Conflict with perl-JSON < 2.50 (#672764) |
|---|
| 87 | |
|---|
| 88 | * Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 2.27104-2 |
|---|
| 89 | - Sanitize for Fedora submission |
|---|
| 90 | |
|---|
| 91 | * Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 2.27104-1 |
|---|
| 92 | - Initial RPM version |
|---|