[perl-JSON-Tiny/f21] Initial import
Emmanuel Seyman
eseyman at fedoraproject.org
Wed Aug 6 20:19:28 UTC 2014
commit 17b8c3205dcb77a06dcab6cb67768a7b0f12c845
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Wed Aug 6 22:19:25 2014 +0200
Initial import
.gitignore | 1 +
perl-JSON-Tiny.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..086796f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/JSON-Tiny-0.50.tar.gz
diff --git a/perl-JSON-Tiny.spec b/perl-JSON-Tiny.spec
new file mode 100644
index 0000000..b8f84e5
--- /dev/null
+++ b/perl-JSON-Tiny.spec
@@ -0,0 +1,67 @@
+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 at seyman.fr> - 0.50-1
+- Update to 0.50
+- Take into account package review comments (#1126940)
+
+* Tue Jul 29 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.49-1
+- Update to 0.49
+
+* Sun Mar 23 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 0.45-1
+- Update to 0.45
+
+* Sat Feb 08 2014 Emmanuel Seyman <emmanuel.seyman at club-internet.fr> 0.40-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..8ea2ebb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5ce211aa931fb7ff2346257a96c6e029 JSON-Tiny-0.50.tar.gz
More information about the scm-commits
mailing list