From 2f476dd404457e77e7abf93b43c2912676ba80ffa09d36059db5ef42ce2877fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 00:16:10 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main rubygem-mustache revision bfbdf9a4b353ec026043754d736adfeb --- .gitattributes | 23 +++++++++++++ gem2rpm.yml | 72 ++++++++++++++++++++++++++++++++++++++++ mustache-1.1.1.gem | 3 ++ rubygem-mustache.changes | 66 ++++++++++++++++++++++++++++++++++++ rubygem-mustache.spec | 67 +++++++++++++++++++++++++++++++++++++ 5 files changed, 231 insertions(+) create mode 100644 .gitattributes create mode 100644 gem2rpm.yml create mode 100644 mustache-1.1.1.gem create mode 100644 rubygem-mustache.changes create mode 100644 rubygem-mustache.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..633781a --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,72 @@ +# --- +# ## 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: +# ## 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: +# 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 +# +--- +:sources: diff --git a/mustache-1.1.1.gem b/mustache-1.1.1.gem new file mode 100644 index 0000000..3847e2f --- /dev/null +++ b/mustache-1.1.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90891fdd50b53919ca334c8c1031eada1215e78d226d5795e523d6123a2717d0 +size 42496 diff --git a/rubygem-mustache.changes b/rubygem-mustache.changes new file mode 100644 index 0000000..c40dcce --- /dev/null +++ b/rubygem-mustache.changes @@ -0,0 +1,66 @@ +------------------------------------------------------------------- +Mon Feb 10 15:13:18 UTC 2020 - Stephan Kulow + +- updated to version 1.1.1 + no changelog found + +------------------------------------------------------------------- +Sat Dec 8 16:26:01 UTC 2018 - Stephan Kulow + +- updated to version 1.1.0 + no changelog found + +------------------------------------------------------------------- +Mon Mar 27 04:31:15 UTC 2017 - coolo@suse.com + +- updated to version 1.0.5 + no changelog found + +------------------------------------------------------------------- +Fri Mar 24 05:31:37 UTC 2017 - coolo@suse.com + +- updated to version 1.0.4 + no changelog found + +------------------------------------------------------------------- +Wed Apr 6 06:26:11 UTC 2016 - coolo@suse.com + +- updated to version 1.0.3 + no changelog found + +------------------------------------------------------------------- +Thu Jun 25 04:30:53 UTC 2015 - coolo@suse.com + +- updated to version 1.0.2 + no changelog found + +------------------------------------------------------------------- +Tue Feb 24 05:29:40 UTC 2015 - coolo@suse.com + +- updated to version 1.0.1 + +------------------------------------------------------------------- +Tue Feb 10 18:07:32 UTC 2015 - coolo@suse.com + +- updated to version 1.0.0 + +------------------------------------------------------------------- +Fri Nov 14 10:41:06 UTC 2014 - mrueckert@suse.de + +- update to 0.99.7 + https://github.com/mustache/mustache/compare/v0.99.5...v0.99.7 + +------------------------------------------------------------------- +Tue Sep 30 12:08:21 UTC 2014 - mrueckert@suse.de + +- update to new packaging scheme and add gem2rpm.yml + +------------------------------------------------------------------- +Fri Nov 22 08:40:26 UTC 2013 - coolo@suse.com + +- updated to version 0.99.5 + +------------------------------------------------------------------- +Sat Mar 24 16:40:07 CET 2012 - berendt@b1-systems.de + +- initial version created with gem2rpm diff --git a/rubygem-mustache.spec b/rubygem-mustache.spec new file mode 100644 index 0000000..ee380d7 --- /dev/null +++ b/rubygem-mustache.spec @@ -0,0 +1,67 @@ +# +# spec file for package rubygem-mustache +# +# Copyright (c) 2020 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-mustache +Version: 1.1.1 +Release: 0 +%define mod_name mustache +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 2.0} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives +URL: https://github.com/mustache/mustache +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Mustache is a framework-agnostic way to render logic-free views +License: MIT +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description +Inspired by ctemplate, Mustache is a framework-agnostic way to render +logic-free views. +As ctemplates says, "It emphasizes separating logic from presentation: +it is impossible to embed application logic in this template +language. +Think of Mustache as a replacement for your views. Instead of views +consisting of ERB or HAML with random helpers and arbitrary logic, +your views are broken into two parts: a Ruby class and an HTML +template. + +%prep + +%build + +%install +%gem_install \ + --symlink-binaries \ + --doc-files="LICENSE README.md" \ + -f + +%gem_packages + +%changelog