Sync from SUSE:SLFO:Main rubygem-rails-8.0 revision cac7369700457b16e9fc3e6eaf20c24d
This commit is contained in:
commit
055f759341
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
164
gem2rpm.yml
Normal file
164
gem2rpm.yml
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
# ---
|
||||||
|
# ## 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: '-8.0'
|
||||||
|
:preamble: |-
|
||||||
|
#define rb_build_versions %{my_apps_rb_build_versions}
|
||||||
|
#define rb_build_ruby_abis %{my_apps_rb_build_abi}
|
||||||
|
BuildRequires: %{rubygem activesupport = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionpack = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionview = %{version}}
|
||||||
|
BuildRequires: %{rubygem activemodel = %{version}}
|
||||||
|
BuildRequires: %{rubygem activerecord = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionmailer = %{version}}
|
||||||
|
BuildRequires: %{rubygem activejob = %{version}}
|
||||||
|
BuildRequires: %{rubygem actioncable = %{version}}
|
||||||
|
BuildRequires: %{rubygem activestorage = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionmailbox = %{version}}
|
||||||
|
BuildRequires: %{rubygem actiontext = %{version}}
|
||||||
|
BuildRequires: %{rubygem railties = %{version}}
|
||||||
|
BuildRequires: %{rubygem bundler >= 1.15.0}
|
||||||
|
|
||||||
|
# help scheduler
|
||||||
|
BuildRequires: %{rubygem rack-session >= 2}
|
||||||
|
BuildRequires: %{rubygem mail >= 2.8.1}
|
||||||
|
BuildRequires: %{rubygem mini_mime >= 1.1.5}
|
||||||
|
|
||||||
|
%bcond_with ensure_default_gemfile_works
|
||||||
|
%if %{with ensure_default_gemfile_works}
|
||||||
|
# keep in sync with below
|
||||||
|
BuildRequires: %{rubygem propshaft}
|
||||||
|
BuildRequires: %{rubygem sqlite3 >= 2.1}
|
||||||
|
BuildRequires: %{rubygem puma >= 6.0}
|
||||||
|
BuildRequires: %{rubygem importmap-rails}
|
||||||
|
BuildRequires: %{rubygem jsbundling-rails}
|
||||||
|
BuildRequires: %{rubygem turbo-rails}
|
||||||
|
BuildRequires: %{rubygem stimulus-rails}
|
||||||
|
BuildRequires: %{rubygem jbuilder >= 2.13}
|
||||||
|
BuildRequires: %{rubygem solid_cable}
|
||||||
|
BuildRequires: %{rubygem solid_cache}
|
||||||
|
BuildRequires: %{rubygem solid_queue}
|
||||||
|
BuildRequires: %{rubygem bootsnap}
|
||||||
|
BuildRequires: %{rubygem kamal}
|
||||||
|
# BuildRequires: %{rubygem thruster}
|
||||||
|
BuildRequires: %{rubygem debug}
|
||||||
|
BuildRequires: %{rubygem brakeman}
|
||||||
|
BuildRequires: %{rubygem web-console}
|
||||||
|
BuildRequires: %{rubygem rack-mini-profiler}
|
||||||
|
BuildRequires: %{rubygem redis >= 5.0}
|
||||||
|
|
||||||
|
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-cors}
|
||||||
|
# BuildRequires: %{rubygem rubocop-rails-omakase}
|
||||||
|
|
||||||
|
# help the scheduler
|
||||||
|
BuildRequires: %{rubygem net-ssh >= 6.1}
|
||||||
|
BuildRequires: %{rubygem mysql2:0 >= 0.5}
|
||||||
|
BuildRequires: %{rubygem pg:1 >= 1.1}
|
||||||
|
%endif
|
||||||
|
:main:
|
||||||
|
:preamble: |-
|
||||||
|
Recommends: git-core
|
||||||
|
Recommends: (nodejs or bun)
|
||||||
|
Recommends: yarn
|
||||||
|
# keep in sync with above
|
||||||
|
Recommends: rubygem(propshaft)
|
||||||
|
Recommends: rubygem(sqlite3) >= 2.1
|
||||||
|
Recommends: rubygem(puma) >= 6.0
|
||||||
|
Recommends: rubygem(importmap-rails)
|
||||||
|
Recommends: rubygem(jsbundling-rails)
|
||||||
|
Recommends: rubygem(turbo-rails)
|
||||||
|
Recommends: rubygem(stimulus-rails)
|
||||||
|
Recommends: rubygem(jbuilder) >= 2.13
|
||||||
|
Recommends: rubygem(solid_cable)
|
||||||
|
Recommends: rubygem(solid_cache)
|
||||||
|
Recommends: rubygem(solid_queue)
|
||||||
|
Recommends: rubygem(bootsnap)
|
||||||
|
Recommends: rubygem(kamal)
|
||||||
|
Recommends: rubygem(thruster)
|
||||||
|
Recommends: rubygem(debug)
|
||||||
|
Recommends: rubygem(brakeman)
|
||||||
|
Recommends: rubygem(web-console)
|
||||||
|
Recommends: rubygem(rack-mini-profiler)
|
||||||
|
Recommends: rubygem(redis) >= 4.0.1
|
||||||
|
Recommends: rubygem(pg:1) >= 1.1
|
||||||
|
Recommends: rubygem(mysql2:0) >= 0.5
|
||||||
|
Recommends: rubygem(trilogy:2) >= 2.7
|
||||||
|
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
|
||||||
|
Recommends: rubygem(rack-cors)
|
||||||
|
Recommends: rubygem(rubocop-rails-omakase)
|
BIN
rails-8.0.0.1.gem
(Stored with Git LFS)
Normal file
BIN
rails-8.0.0.1.gem
(Stored with Git LFS)
Normal file
Binary file not shown.
55
rubygem-rails-8.0.changes
Normal file
55
rubygem-rails-8.0.changes
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 11 01:20:39 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- do not hardcode the version of rails in the buildrequires.
|
||||||
|
use %{version} instead
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 11 00:48:34 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to version 8.0.0.1:
|
||||||
|
https://rubyonrails.org/2024/12/10/Rails-Versions-8-0-0-1-7-2-2-1-7-1-5-1-7-0-8-7-have-been-released
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 17:15:41 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- reenable image_processing
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 16:57:54 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- skip image_processing for now
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 14:03:55 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- the my_apps_rb_build* defines are only set in darix' default
|
||||||
|
project. dont forward them to the distro.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 13:57:23 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- reduce the default buildrequires to the minimal set
|
||||||
|
for testing we have to build with
|
||||||
|
--with=ensure_default_gemfile_works
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 18 08:24:48 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- for jbuilder >= 2.13 as older versions are not compatible
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 23:56:07 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update the BuildRequires/Recommends for the new default Gemfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 23:06:39 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to version 8.0.0:
|
||||||
|
https://rubyonrails.org/2024/11/7/rails-8-no-paas-required
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 16 22:03:00 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- initial package
|
116
rubygem-rails-8.0.spec
Normal file
116
rubygem-rails-8.0.spec
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
#
|
||||||
|
# spec file for package rubygem-rails-8.0
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
||||||
|
# All sections marked as MANUAL, license headers, summaries and descriptions
|
||||||
|
# can be maintained in that file. Please consult this file before editing any
|
||||||
|
# of those fields
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: rubygem-rails-8.0
|
||||||
|
Version: 8.0.0.1
|
||||||
|
Release: 0
|
||||||
|
%define mod_name rails
|
||||||
|
%define mod_full_name %{mod_name}-%{version}
|
||||||
|
%define mod_version_suffix -8.0
|
||||||
|
# MANUAL
|
||||||
|
#define rb_build_versions %{my_apps_rb_build_versions}
|
||||||
|
#define rb_build_ruby_abis %{my_apps_rb_build_abi}
|
||||||
|
BuildRequires: %{rubygem activesupport = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionpack = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionview = %{version}}
|
||||||
|
BuildRequires: %{rubygem activemodel = %{version}}
|
||||||
|
BuildRequires: %{rubygem activerecord = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionmailer = %{version}}
|
||||||
|
BuildRequires: %{rubygem activejob = %{version}}
|
||||||
|
BuildRequires: %{rubygem actioncable = %{version}}
|
||||||
|
BuildRequires: %{rubygem activestorage = %{version}}
|
||||||
|
BuildRequires: %{rubygem actionmailbox = %{version}}
|
||||||
|
BuildRequires: %{rubygem actiontext = %{version}}
|
||||||
|
BuildRequires: %{rubygem railties = %{version}}
|
||||||
|
BuildRequires: %{rubygem bundler >= 1.15.0}
|
||||||
|
|
||||||
|
# help scheduler
|
||||||
|
BuildRequires: %{rubygem rack-session >= 2}
|
||||||
|
BuildRequires: %{rubygem mail >= 2.8.1}
|
||||||
|
BuildRequires: %{rubygem mini_mime >= 1.1.5}
|
||||||
|
|
||||||
|
%bcond_with ensure_default_gemfile_works
|
||||||
|
%if %{with ensure_default_gemfile_works}
|
||||||
|
# keep in sync with below
|
||||||
|
BuildRequires: %{rubygem propshaft}
|
||||||
|
BuildRequires: %{rubygem sqlite3 >= 2.1}
|
||||||
|
BuildRequires: %{rubygem puma >= 6.0}
|
||||||
|
BuildRequires: %{rubygem importmap-rails}
|
||||||
|
BuildRequires: %{rubygem jsbundling-rails}
|
||||||
|
BuildRequires: %{rubygem turbo-rails}
|
||||||
|
BuildRequires: %{rubygem stimulus-rails}
|
||||||
|
BuildRequires: %{rubygem jbuilder >= 2.13}
|
||||||
|
BuildRequires: %{rubygem solid_cable}
|
||||||
|
BuildRequires: %{rubygem solid_cache}
|
||||||
|
BuildRequires: %{rubygem solid_queue}
|
||||||
|
BuildRequires: %{rubygem bootsnap}
|
||||||
|
BuildRequires: %{rubygem kamal}
|
||||||
|
# BuildRequires: %{rubygem thruster}
|
||||||
|
BuildRequires: %{rubygem debug}
|
||||||
|
BuildRequires: %{rubygem brakeman}
|
||||||
|
BuildRequires: %{rubygem web-console}
|
||||||
|
BuildRequires: %{rubygem rack-mini-profiler}
|
||||||
|
BuildRequires: %{rubygem redis >= 5.0}
|
||||||
|
|
||||||
|
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-cors}
|
||||||
|
# BuildRequires: %{rubygem rubocop-rails-omakase}
|
||||||
|
|
||||||
|
# help the scheduler
|
||||||
|
BuildRequires: %{rubygem net-ssh >= 6.1}
|
||||||
|
BuildRequires: %{rubygem mysql2:0 >= 0.5}
|
||||||
|
BuildRequires: %{rubygem pg:1 >= 1.1}
|
||||||
|
%endif
|
||||||
|
# /MANUAL
|
||||||
|
BuildRequires: ruby-macros >= 5
|
||||||
|
BuildRequires: %{ruby >= 3.2.0}
|
||||||
|
BuildRequires: %{rubygem gem2rpm}
|
||||||
|
URL: https://rubyonrails.org
|
||||||
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
||||||
|
Source1: gem2rpm.yml
|
||||||
|
Summary: Full-stack web application framework
|
||||||
|
License: MIT
|
||||||
|
|
||||||
|
%description
|
||||||
|
Ruby on Rails is a full-stack web framework optimized for programmer happiness
|
||||||
|
and sustainable productivity. It encourages beautiful code by favoring
|
||||||
|
convention over configuration.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%gem_install \
|
||||||
|
--no-rdoc --no-ri \
|
||||||
|
--doc-files="MIT-LICENSE README.md" \
|
||||||
|
-f
|
||||||
|
|
||||||
|
%gem_packages
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user