File gem2rpm.yml of Package rubygem-rails-7.1

# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## 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:
# - foo.desktop
# - bar.desktop
# :gem_install_args: '....'
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV="no"
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{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
:disable_docs: true
:version_suffix: '-7.1'
:preamble: |-
    %define rb_build_versions     %{my_apps_rb_build_versions}
    %define rb_build_ruby_abis    %{my_apps_rb_build_abi}
    #!BuildIgnore: ruby3.1-rubygem-sprockets-3.7
    BuildRequires: %{rubygem railties = %{version}}
    BuildRequires: %{rubygem activemodel = %{version}}
    BuildRequires: %{rubygem activejob  = %{version}}

    # keep in sync with below
    BuildRequires: %{rubygem sprockets-rails}
    BuildRequires: %{rubygem sqlite3 >= 1.4}
    BuildRequires: %{rubygem puma >= 6.0}
    BuildRequires: %{rubygem importmap-rails}
    BuildRequires: %{rubygem turbo-rails}
    BuildRequires: %{rubygem stimulus-rails}
    BuildRequires: %{rubygem jbuilder}
    BuildRequires: %{rubygem bootsnap}
    # if we enable this buildrequires then we run into the issue that ruby 2.7 is not prepared for gemified irb.
    # BuildRequires: %{rubygem debug}
    BuildRequires: %{rubygem web-console}
    BuildRequires: %{rubygem rack-mini-profiler}
    BuildRequires: %{rubygem redis:5 >= 5.0.0}
    BuildRequires: %{rubygem kredis}
    BuildRequires: %{rubygem bcrypt:3.1 >= 3.1.7}
    BuildRequires: %{rubygem image_processing:1 >= 1.2}
    BuildRequires: %{rubygem rack-session >= 2}

    # It says 3.0, but to avoid any question for the 3.7 we
    # still have in Factory, let's go newer
    BuildRequires: %{rubygem sprockets >= 4.2.1}
:main:
  :preamble: |-
    Recommends: git-core
    Recommends: nodejs
    Recommends: yarn
    # keep in sync with above
    Requires: rubygem(sprockets-rails)
    Requires: rubygem(sprockets) >= 4.2.1
    Requires: rubygem(sqlite3) >= 1.4
    Requires: rubygem(puma) >= 6.0
    Requires: rubygem(importmap-rails)
    Requires: rubygem(turbo-rails)
    Requires: rubygem(stimulus-rails)
    Requires: rubygem(jbuilder)
    Requires: rubygem(bootsnap)
    Recommends: rubygem(debug)
    Recommends: rubygem(web-console)
    Recommends: rubygem(rack-mini-profiler)
    Recommends: rubygem(redis:5) >= 5.0.0
    Recommends: rubygem(kredis)
    Recommends: rubygem(bcrypt:3.1) >= 3.1.7
    Recommends: rubygem(image_processing:1) >= 1.2
openSUSE Build Service is sponsored by