Name: perl-JSON-Tiny
Version: 0.50
Release: 1%{?dist}
Summary: Minimalistic JSON. No dependencies
License: ASL 2.0
URL: http://search.cpan.org/dist/JSON-Tiny/
Source0: http://www.cpan.org/authors/id/D/DA/DAVIDO/JSON-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(B)
BuildRequires: perl(Carp)
BuildRequires: perl(Encode)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(overload)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(utf8)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
JSON::Tiny is a minimalistic standalone adaptation of Mojo::JSON, from the
Mojolicious framework. It is a single-source-file module with 350 lines of
code and core-only dependencies.
%prep
%setup -q -n JSON-Tiny-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes LICENSE README examples
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Aug 06 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.50-1
- Update to 0.50
- Take into account package review comments (#1126940)
* Tue Jul 29 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.49-1
- Update to 0.49
* Sun Mar 23 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 0.45-1
- Update to 0.45
* Sat Feb 08 2014 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.40-1
- Specfile autogenerated by cpanspec 1.78.