From 6d8b309f2661fb33c3eec8a831bb546731ec0817e5f663dd1055379edf1ecdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 24 Dec 2024 17:26:58 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main rubygem-propshaft revision ef598c01c68190fa15bf1643dd53c609 --- .gitattributes | 23 ++++++++++++ gem2rpm.yml | 75 +++++++++++++++++++++++++++++++++++++++ propshaft-1.1.0.gem | 3 ++ rubygem-propshaft.changes | 4 +++ rubygem-propshaft.spec | 55 ++++++++++++++++++++++++++++ 5 files changed, 160 insertions(+) create mode 100644 .gitattributes create mode 100644 gem2rpm.yml create mode 100644 propshaft-1.1.0.gem create mode 100644 rubygem-propshaft.changes create mode 100644 rubygem-propshaft.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..c5d4c2c --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,75 @@ +# --- +# ## 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 +#:preamble: |- +# %define rb_build_versions %{my_apps_rb_build_versions} +# %define rb_build_ruby_abis %{my_apps_rb_build_abi} +:disable_docs: true diff --git a/propshaft-1.1.0.gem b/propshaft-1.1.0.gem new file mode 100644 index 0000000..039bb02 --- /dev/null +++ b/propshaft-1.1.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d389361faf66aeb17e8d204828962c1e506edd14a1a17adb3fa475435c070f6b +size 14336 diff --git a/rubygem-propshaft.changes b/rubygem-propshaft.changes new file mode 100644 index 0000000..42efb8b --- /dev/null +++ b/rubygem-propshaft.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Nov 7 23:15:37 UTC 2024 - Marcus Rueckert + +- initial package diff --git a/rubygem-propshaft.spec b/rubygem-propshaft.spec new file mode 100644 index 0000000..20f5234 --- /dev/null +++ b/rubygem-propshaft.spec @@ -0,0 +1,55 @@ +# +# spec file for package rubygem-propshaft +# +# 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-propshaft +Version: 1.1.0 +Release: 0 +%define mod_name propshaft +%define mod_full_name %{mod_name}-%{version} +BuildRequires: ruby-macros >= 5 +BuildRequires: %{ruby >= 2.7.0} +BuildRequires: %{rubygem gem2rpm} +URL: https://github.com/rails/propshaft +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Deliver assets for Rails +License: MIT + +%description +Deliver assets for Rails. + +%prep + +%build + +%install +%gem_install \ + --no-rdoc --no-ri \ + --doc-files="MIT-LICENSE README.md" \ + -f + +%gem_packages + +%changelog