source: projects/specs/trunk/p/perl-JSON-PP/perl-JSON-PP-vl.spec @ 5794

Revision 5794, 2.7 KB checked in by shaolin, 12 years ago (diff)
  • rebuild
Line 
1Name:           perl-JSON-PP
2Version:        2.27200
3Release:        2%{?_dist_release}
4Summary:        JSON::XS compatible pure-Perl module
5License:        GPL+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/CPAN-Meta-YAML/
8Source0:        http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-PP-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
10BuildArch:      noarch
11BuildRequires:  perl(B)
12BuildRequires:  perl(Carp)
13BuildRequires:  perl(Exporter)
14BuildRequires:  perl(ExtUtils::MakeMaker)
15BuildRequires:  perl(Getopt::Long)
16BuildRequires:  perl(Test::More)
17BuildRequires:  perl(Tie::IxHash)
18Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19Conflicts:      perl-JSON < 2.50
20
21Vendor:         Project Vine
22Distribution:   Vine Linux
23Packager:       shaolin
24
25%description
26JSON::XS is the fastest and most proper JSON module on CPAN. It is written by
27Marc Lehmann in C, so must be compiled and installed in the used environment.
28
29JSON::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
35perl Makefile.PL INSTALLDIRS=perl
36make %{?_smp_mflags}
37
38%install
39rm -rf %{buildroot}
40make pure_install DESTDIR=%{buildroot}
41find %{buildroot} -type f -name .packlist -exec rm -f {} \;
42find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
43%{_fixperms} %{buildroot}
44
45%check
46make test
47
48%clean
49rm -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
61* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.27200-2
62- rebuild
63
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
Note: See TracBrowser for help on using the repository browser.