Репозиторий Sisyphus
Последнее обновление: 18 июля 2018 | Пакетов: 18627 | Посещений: 11896929
en ru br
Репозитории ALT

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

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

%define  pkgname ohai

Name: %pkgname
Version: 14.1.7
Release: alt1

Summary: Ohai profiles your system and emits JSON
License: MIT/Ruby
Group:   Development/Ruby
Url:     https://github.com/chef/ohai

Packager:  Ruby Maintainers Team <ruby at packages.altlinux.org>
BuildArch: noarch

Source:  %pkgname-%version.tar

BuildRequires(pre): rpm-build-ruby
#BuildRequires: chef-config
BuildRequires: ruby-ffi >= 1.9
BuildRequires: ruby-ffi-yajl >= 2.2
BuildRequires: ruby-ipaddress
BuildRequires: ruby-mime-types >= 2.0
BuildRequires: ruby-mixlib-cli
BuildRequires: ruby-mixlib-config >= 2.0
BuildRequires: ruby-mixlib-log
BuildRequires: ruby-mixlib-shellout >= 2.0
BuildRequires: ruby-net-dhcp
BuildRequires: ruby-systemu >= 2.6.4
BuildRequires: ruby-ipaddr_extensions
BuildRequires: ruby-sigar
BuildRequires: ruby-tool-setup

%filter_from_requires \,^ruby(\(win32\|wmi\),d

%description
Ohai is a tool that is used to detect attributes on a node, and then
provide these attributes to the chef-client at the start of every
chef-client run. Ohai is required by the chef-client and must be present
on a node.

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

BuildArch: noarch

%description doc
Documentation files for %{name}.

%prep
%setup -n %pkgname-%version
%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*
%_bindir/%pkgname
%ruby_sitelibdir/*

%files doc
%ruby_ri_sitedir/*

%changelog

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

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