Репозиторий Sisyphus
Последнее обновление: 20 ноября 2017 | Пакетов: 17916 | Посещений: 10404247
en ru br
Репозитории ALT

Группа :: Разработка/Ruby
Пакет: ruby-multi_json

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

%define  pkgname multi_json

Name: ruby-%pkgname
Version: 1.12.2
Release: alt1.1

Summary: A common interface to multiple JSON libraries
License: MIT/Ruby
Group:   Development/Ruby
Url:     http://github.com/intridea/multi_json

Packager: Andrey Cherepanov <cas at altlinux.org>
BuildArch: noarch

Source:  %pkgname-%version.tar

BuildRequires(pre): rpm-build-ruby
BuildRequires: ruby-tool-setup
BuildRequires: yajl-ruby
BuildRequires: ruby-json-pure
BuildRequires: ruby-oj

%description
A common interface to multiple JSON libraries, including Oj, Yajl, the
JSON gem (with C-extensions), the pure-Ruby JSON gem,
NSJSONSerialization, gson.rb, JrJackson, and OkJson.

%package doc
Summary: Documentation files for %name
Group: Documentation

BuildArch: noarch

%description doc
Documentation files for %{name}.

%prep
%setup -n %pkgname-%version
# Remove unsupported ruby-gson
rm -f spec/gson_adapter_spec.rb lib/multi_json/adapters/gson.rb
%update_setup_rb

%build
%ruby_config
%ruby_build

%install
%ruby_install
%rdoc lib/
# Remove unnecessary files
rm -f %buildroot%ruby_ri_sitedir/{Object/cdesc-Object.ri,cache.ri,created.rid}

%check
%ruby_test_unit -Ilib:test test

%files
%doc README*
%ruby_sitelibdir/*

%files doc
%ruby_ri_sitedir/*

%changelog

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

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