File gem2rpm.yml of Package rubygem-vagrant_cloud
---
# ## used by gem2rpm
:summary: Ruby library for the HashiCorp Vagrant Cloud API
# ## used by gem2rpm
# :description: |-
# this is a custom description
#
# it can be multiline
# ## used by gem2rpm
:license: MIT
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
# BuildRequires: foobar
# Requires: foobar
# ## used by gem2rpm
# :patches:
# foo.patch: -p1
# bar.patch:
# :post_patch:
# if you need to fiddle with the source dir before rebuilding the gem
# ## used by gem2rpm
:sources:
- vagrant_cloud-3.1.2.gem.sha256
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
:pre_install: |-
%gem_unpack
sed -i 's|\(.*<rexml>.freeze, \)\["~> 3.2.5"|\1\["~> 3.3"|' %{mod_full_name}.gemspec
find -type f -print0 | xargs -0 touch -r %{SOURCE0}
%gem_build
# HACK: %%gem_install uses the gem from %%{_sourcedir} by default, so we *must* put it back there
mv %{mod_full_name}.gem %{_sourcedir}/
# ## used by gem2rpm
# :post_install: |-
# # delete custom files here or do other fancy stuff
# install -Dpm0644 %{SOURCE1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
# ## used by gem2rpm
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
# :post: |-
# /bin/echo foo
# ## used by gem_packages
# :main:
# :preamble: |-
# Requires: util-linux
# Recommends: pwgen
# :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom_pkgs:
# apache:
# :preamble: |-
# Requires: .....
# :filelist: |-
# /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
# Custom description is optional
#
# bar
# :post: |-
# /bin/echo foo
#