# Generated from chake-0.90.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name chake Name: rubygem-%{gem_name} Version: 0.90.3 Release: 1%{?dist} Summary: serverless configuration management tool for chef License: MIT URL: https://gitlab.com/terceiro/chake Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(ronn-ng) # BuildRequires: rubygem(rspec) # BuildRequires: rubygem(rubocop) # BuildRequires: rubygem(simplecov) BuildArch: noarch %description chake allows one to manage a number of hosts via SSH by combining chef (solo) and rake. It doesn't require a chef server; all you need is a workstation from where you can SSH into all your hosts. chake automates copying the configuration management repository to the target host (including managing encrypted files), running chef on them, and running arbitrary commands on the hosts. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{_bindir}/chake %exclude %{gem_instdir}/.ackrc %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.gitlab-ci.yml %{gem_instdir}/.manifest %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_instdir}/chake.spec.erb %{gem_libdir} %{gem_instdir}/man %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/ChangeLog.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.chef.md %doc %{gem_instdir}/README.itamae-remote.md %doc %{gem_instdir}/README.itamae.md %doc %{gem_instdir}/README.md %doc %{gem_instdir}/README.shell.md %{gem_instdir}/Rakefile %{gem_instdir}/chake.gemspec %{gem_instdir}/examples %{gem_instdir}/spec %changelog * Sat Sep 02 2023 mockbuilder - 0.90.3-1 - Initial package