Sisyphus repository
Last update: 2017-12-12 05:06:30 +0300 | SRPMs: 18132 | Sign in or Sign up
en ru uk br
ALT Linux repositories
hide window
Sisyphus: 4.0.0-alt1.gita5aef20
p8: 4.0.0-alt1.gita5aef20
p7: 4.0.0-alt1.gita5aef20
t7: 4.0.0-alt1.gita5aef20

Group :: Development/Ruby
Source RPM: omnibus-software

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR (0/0)   Repocop 

Raw spec file

%define  pkgname omnibus-software
 
Name:          %pkgname
Version: 4.0.0 
Release: alt1.gita5aef20
 
Summary: Collection of shared software descriptions, for use by any Omnibus project that needs them
License: MIT/Ruby
Group:   Development/Ruby
Url:     https://github.com/chef/omnibus-software.git
 
Packager:  Ruby Maintainers Team <ruby@packages.altlinux.org>
BuildArch: noarch
 
Source:  %pkgname-%version.tar
 
BuildRequires(pre):
 rpm-build-ruby
BuildRequires: ruby-tool-setup
BuildRequires: omnibus

%description
Collection of shared software descriptions, for use by any Omnibus
project that needs them.

%package doc
Summary: Documentation files for %name
Group: Documentation
 
BuildArch: noarch
 
%description doc
Documentation files for %{name}.

%prep
%setup -n %pkgname-%version
# s/mac_os_x_mavericks? method does not support in ruby-chef-sugar-3.1.0

subst &#39;s/mac_os_x_mavericks?/mac_os_x?/' config/software/bzip2.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}

# Copy software definition

mkdir -p %buildroot%_libexecdir/%name
cp -a config %buildroot%_libexecdir/%name
 
%check
%ruby_test_unit -Ilib:test test
 
%files
%doc README*
%ruby_sitelibdir/*
%_libexecdir/%name

%files doc
%ruby_ri_sitedir/*
 
%changelog
* Wed May 27 2015 Andrey Cherepanov <cas at altlinux.org> 4.0.0-alt1.gita5aef20
- Initial build for ALT Linux

 
© 2009–2017 Igor Zubkov