Chris Weyl d540c20
Name:           perl-JSON-XS
Chris Weyl d540c20
Summary:        JSON serialising/deserialising, done correctly and fast
Chris Weyl 15c4967
Epoch:          1
1d2d478
Version:        2.34
1d2d478
Release:        1%{?dist}
Chris Weyl 0778944
License:        GPL+ or Artistic
Chris Weyl d540c20
Group:          Development/Libraries
Chris Weyl d540c20
URL:            http://search.cpan.org/dist/JSON-XS/
Emmanuel Seyman 6bc82c6
Source0:        http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
Chris Weyl d540c20
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl d540c20
Chris Weyl 15c4967
BuildRequires:  perl(common::sense)
3a0c6ac
BuildRequires:  perl(Data::Dumper)
3a0c6ac
BuildRequires:  perl(Encode)
3a0c6ac
BuildRequires:  perl(Exporter)
Chris Weyl d540c20
BuildRequires:  perl(ExtUtils::MakeMaker)
3a0c6ac
BuildRequires:  perl(Getopt::Long)
3a0c6ac
BuildRequires:  perl(Storable)
3a0c6ac
BuildRequires:  perl(Test)
Chris Weyl d540c20
BuildRequires:  perl(Test::More)
3a0c6ac
BuildRequires:  perl(XSLoader)
Chris Weyl 15c4967
Chris Weyl 15c4967
%{?perl_default_filter}
Chris Weyl 15c4967
%{?perl_default_subpackage_tests}
Chris Weyl 3628cf0
Chris Weyl d540c20
%description
Chris Weyl d540c20
This module converts Perl data structures to JSON and vice versa. Its
Chris Weyl d540c20
primary goal is to be correct and its secondary goal is to be fast. To
Chris Weyl d540c20
reach the latter goal it was written in C.
Chris Weyl d540c20
Chris Weyl d540c20
%prep
Emmanuel Seyman 6bc82c6
%setup -q -n JSON-XS-%{version}
Chris Weyl d540c20
Chris Weyl d540c20
sed -i 's/\r//' t/*
Chris Weyl 15c4967
perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
Chris Weyl d540c20
chmod -c -x eg/*
Chris Weyl d540c20
Chris Weyl d540c20
%build
Chris Weyl d540c20
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
Chris Weyl d540c20
make %{?_smp_mflags}
Chris Weyl d540c20
Chris Weyl d540c20
%install
Chris Weyl 15c4967
make pure_install DESTDIR=%{buildroot}
Chris Weyl d540c20
Chris Weyl be8ffb5
find %{buildroot} -type f -name .packlist -exec rm -f {} +
Chris Weyl be8ffb5
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
Chris Weyl d540c20
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
Chris Weyl d540c20
Chris Weyl d540c20
%{_fixperms} %{buildroot}/*
Chris Weyl d540c20
Chris Weyl d540c20
%check
Chris Weyl d540c20
make test
Chris Weyl d540c20
Chris Weyl d540c20
%files
Chris Weyl 15c4967
%doc Changes COPYING README eg/
Chris Weyl 4d4dbb8
%{perl_vendorarch}/*
Chris Weyl 4d4dbb8
%exclude %dir %{perl_vendorarch}/auto
Chris Weyl 4d4dbb8
%{_bindir}/*
Chris Weyl 4d4dbb8
%{_mandir}/man[13]/*
Chris Weyl d540c20
Chris Weyl d540c20
%changelog
1d2d478
* Sun May 26 2013 Emmanuel Seyman <emmanuel@seyman.fr> - 1:2.34-1
1d2d478
- Update to 2.34
1d2d478
55b8687
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.33-2
55b8687
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
55b8687
Emmanuel Seyman 3051218
* Thu Aug 02 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.33-1
Emmanuel Seyman 3051218
- Update to 2.33
Emmanuel Seyman 3051218
1e21e15
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.32-3
1e21e15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1e21e15
24458b5
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1:2.32-2
24458b5
- Perl 5.16 rebuild
3a0c6ac
- Specify all dependencies
24458b5
Emmanuel Seyman 6bc82c6
* Thu Jan 12 2012 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 1:2.32-1
Emmanuel Seyman 6bc82c6
- Update to 2.32
Emmanuel Seyman 6bc82c6
- Clean up spec file
Emmanuel Seyman 6bc82c6
f9ba4a6
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-3
f9ba4a6
- Perl mass rebuild
f9ba4a6
f7aff81
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.30-2
f7aff81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f7aff81
7cb38db
* Mon Oct 11 2010 Marcela Mašláňová <mmaslano@redhat.com> - 1:2.30-1
7cb38db
- update
7cb38db
efcd0ce
* Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1:2.27-2
efcd0ce
- Mass rebuild with perl-5.12.0
efcd0ce
Chris Weyl 15c4967
* Sat Feb 27 2010 Chris Weyl <cweyl@alumni.drew.edu> 1:2.27-1
Chris Weyl 15c4967
- update by Fedora::App::MaintainerTools 0.004
Chris Weyl 15c4967
- PERL_INSTALL_ROOT => DESTDIR
Chris Weyl 15c4967
- added a new br on perl(common::sense) (version 0)
Chris Weyl 15c4967
- added a new req on perl(common::sense) (version 0)
Chris Weyl 15c4967
1b67bd0
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1:2.24-3
1b67bd0
- rebuild against perl 5.10.1
1b67bd0
f2fe420
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:2.24-2
f2fe420
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f2fe420
Chris Weyl 0778944
* Tue Jun 02 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.24-1
Chris Weyl 0778944
- auto-update to 2.24 (by cpan-spec-update 0.01)
Chris Weyl 0778944
Chris Weyl 3628cf0
* Thu Mar 26 2009 Chris Weyl <cweyl@alumni.drew.edu> - 2.2311-4
Chris Weyl 3628cf0
- Stripping bad provides of private Perl extension libs
Chris Weyl 3628cf0
bf06aa8
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-3
bf06aa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
bf06aa8
c1fd006
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2311-2
c1fd006
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c1fd006
Chris Weyl 8c78c3b
* Sun Feb 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.2311-1
Chris Weyl 8c78c3b
- update to 2.2311
Chris Weyl 8c78c3b
Chris Weyl 4d4dbb8
* Sun Sep 07 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2222-1
Chris Weyl 4d4dbb8
- update to the increasingly silly version of 2.2222
Chris Weyl 4d4dbb8
- update files to include bin
Chris Weyl 4d4dbb8
Chris Weyl 05c27d8
* Wed Jun 25 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.21-1
Chris Weyl 05c27d8
- update to 2.21
Chris Weyl 05c27d8
Chris Weyl 05c27d8
* Wed May 28 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.2-1
Chris Weyl 05c27d8
- update to 2.2
Chris Weyl 05c27d8
Chris Weyl be8ffb5
* Sun Mar 09 2008 Chris Weyl <cweyl@alumni.drew.edu> 2.01-1
Chris Weyl be8ffb5
- update to 2.x series before F9
Chris Weyl be8ffb5
bf872ff
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.52-3
bf872ff
Rebuild for new perl
bf872ff
586ec90
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.52-2
586ec90
- Autorebuild for GCC 4.3
586ec90
Chris Weyl 6efe062
* Wed Oct 17 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.52-1
Chris Weyl 6efe062
- update to 1.52
Chris Weyl 6efe062
- license tag update: GPL -> GPL+
Chris Weyl 6efe062
Chris Weyl dfccfe3
* Tue Aug 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-2
Chris Weyl dfccfe3
- bump
Chris Weyl dfccfe3
Chris Weyl 98eb6eb
* Thu Aug 09 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.43-1
Chris Weyl 98eb6eb
- update to 1.43
Chris Weyl 98eb6eb
Chris Weyl 9c2474e
* Fri Jun 01 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.22-1
Chris Weyl 9c2474e
- update to 1.22
Chris Weyl 9c2474e
Chris Weyl 08f551e
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-3
Chris Weyl 08f551e
- bump
Chris Weyl 08f551e
Chris Weyl d540c20
* Mon May 14 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-2
Chris Weyl d540c20
- add eg/ to doc
Chris Weyl d540c20
Chris Weyl d540c20
* Sun May 13 2007 Chris Weyl <cweyl@alumni.drew.edu> 1.21-1
Chris Weyl d540c20
- Specfile autogenerated by cpanspec 1.71.