From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] perl-JSON: New package Date: Thu, 16 Feb 2023 17:26:30 +0100 Message-ID: <20230216162630.1036001-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0125267059247825093==" List-Id: --===============0125267059247825093== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Stefan Schantl --- perl-JSON/perl-JSON.nm | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 perl-JSON/perl-JSON.nm diff --git a/perl-JSON/perl-JSON.nm b/perl-JSON/perl-JSON.nm new file mode 100644 index 000000000..b673ab4ca --- /dev/null +++ b/perl-JSON/perl-JSON.nm @@ -0,0 +1,48 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D perl-JSON +version =3D 4.10 +release =3D 1 +arch =3D noarch +thisapp =3D JSON-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/JSON/ +license =3D GPL+ or Artistic +summary =3D JSON (JavaScript Object Notation) encoder/decoder. + +description + This module is a thin wrapper for JSON::XS-compatible modules with a few=20 + additional features. All the backend modules convert a Perl data structure + to a JSON text and vice versa. + + This module uses JSON::XS by default, and when JSON::XS is not available, + falls back on JSON::PP, which is in the Perl core since 5.14. +end + +source_dl =3D https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(Test::More) + end + + build + perl Makefile.PL INSTALLDIRS=3Dperl + make %{PARALLELISMFLAGS} + end + + test + #make test + end +end + +packages + package %{name} + filter_requires =3D (JSON::backportPP) + end +end --=20 2.30.2 --===============0125267059247825093==--