1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- Name: perl-JSON-PP
- Version: 2.27200
- Release: 2%{?_dist_release}
- Summary: JSON::XS compatible pure-Perl module
- License: GPL+ or Artistic
- Group: Development/Libraries
- URL: http://search.cpan.org/dist/CPAN-Meta-YAML/
- Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-PP-%{version}.tar.gz
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
- BuildArch: noarch
- BuildRequires: perl(B)
- BuildRequires: perl(Carp)
- BuildRequires: perl(Exporter)
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(Getopt::Long)
- BuildRequires: perl(Test::More)
- BuildRequires: perl(Tie::IxHash)
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- Conflicts: perl-JSON < 2.50
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: shaolin
- %description
- JSON::XS is the fastest and most proper JSON module on CPAN. It is written by
- Marc Lehmann in C, so must be compiled and installed in the used environment.
- JSON::PP is a pure-Perl module and is compatible with JSON::XS.
- %prep
- %setup -q -n JSON-PP-%{version}
- %build
- perl Makefile.PL INSTALLDIRS=perl
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} \;
- find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
- %{_fixperms} %{buildroot}
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc Changes README
- %{_bindir}/json_pp
- %{perl_privlib}/JSON/
- %{_mandir}/man1/json_pp.1*
- %{_mandir}/man3/JSON::PP.3pm*
- %{_mandir}/man3/JSON::PP::Boolean.3pm*
- %changelog
- * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.27200-2
- - rebuild
- * Tue Feb 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.27200-1
- - initial package for Vine Linux
- * Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 2.27200-3
- - Add buildreqs for perl core modules, which might be dual-lived
- * Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.27200-2
- - Perl mass rebuild
- * Sun May 22 2011 Paul Howarth <paul@city-fan.org> - 2.27200-1
- - Update to 2.27200
- - Fixed incr_parse decoding string more correctly (CPAN RT#68032)
- * Tue Mar 8 2011 Paul Howarth <paul@city-fan.org> - 2.27105-1
- - Update to 2.27105
- - Removed t/900_pod.t from package because of author test
- - Drop buildreq perl(Test::Pod), no longer needed
- * Tue Feb 8 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.27104-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Thu Jan 27 2011 Paul Howarth <paul@city-fan.org> - 2.27104-3
- - Conflict with perl-JSON < 2.50 (#672764)
- * Wed Jan 26 2011 Paul Howarth <paul@city-fan.org> - 2.27104-2
- - Sanitize for Fedora submission
- * Tue Jan 25 2011 Paul Howarth <paul@city-fan.org> - 2.27104-1
- - Initial RPM version
|