Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37601053
en ru br
Репозитории ALT
S:4.03-alt1
5.1: 2.2400-alt1
4.1: 2.1-alt1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-JSON-XS

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

#
#   - JSON::XS -
#   This spec file was automatically generated by cpan2rpm [ver: 2.027]
#   (ALT Linux revision)
#   The following arguments were used:
#       JSON::XS
#   For more information on cpan2rpm please visit: http://perl.arix.com/
#

%define module JSON-XS
%define m_distro JSON-XS
%define m_name JSON::XS
%define m_author_id MLEHMANN
%define _enable_test 1

Name: perl-JSON-XS
Version: 2.2400
Release: alt1

Summary: JSON serialising/deserialising, done correctly and fast

License: Artistic
Group: Development/Perl
Url: http://search.cpan.org/dist/JSON-XS/

Packager: Michael Bochkaryov <misha at altlinux.ru>

Source: http://search.cpan.org//CPAN/authors/id/M/ML/MLEHMANN/%m_distro-%version.tar.gz

# Automatically added by buildreq on Sun Jul 12 2009 (-bi)

BuildRequires: perl-Encode perl-Storable perl-devel

%description
This module converts Perl data structures to JSON and vice versa. Its
primary goal is to be *correct* and its secondary goal is to be
*fast*. To reach the latter goal it was written in C.

Beginning with version 2.0 of the JSON module, when both JSON and
JSON::XS are installed, then JSON will fall back on JSON::XS (this can be
overriden) with no overhead due to emulation (by inheritign constructor
and methods). If JSON::XS is not available, it will fall back to the
compatible JSON::PP module as backend, so using JSON instead of JSON::XS
gives you a portable JSON API that can be fast when you need and doesn't
require a C compiler when that is a problem.

As this is the n-th-something JSON module on CPAN, what was the reason
to write yet another JSON module? While it seems there are many JSON
modules, none of them correctly handle all corner cases, and in most cases
their maintainers are unresponsive, gone missing, or not listening to bug
reports for other reasons.

See COMPARISON, below, for a comparison to some other JSON modules.

See MAPPING, below, on how JSON::XS maps perl values to JSON values and
vice versa.

%prep
%setup -q -n %m_distro-%version
%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%_bindir/*
%_man1dir/*
%perl_vendor_archlib/JSON*
%perl_vendor_autolib/JSON*
%exclude %perl_vendor_man3dir/*
%doc README Changes COPYING

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin