From bb9110c8f23b10fc2f139e5615054dc5892e0a03268bbb6b18e903d79a6a06ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Sat, 4 May 2024 00:17:55 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main rubygem-rdiscount revision 20669dc7201517e8db0a38f0006b41a4 --- .gitattributes | 23 ++++++++++ gem2rpm.yml | 77 ++++++++++++++++++++++++++++++++++ rdiscount-2.2.7.gem | 3 ++ rubygem-rdiscount-rpmlintrc | 1 + rubygem-rdiscount.changes | 84 +++++++++++++++++++++++++++++++++++++ rubygem-rdiscount.spec | 69 ++++++++++++++++++++++++++++++ 6 files changed, 257 insertions(+) create mode 100644 .gitattributes create mode 100644 gem2rpm.yml create mode 100644 rdiscount-2.2.7.gem create mode 100644 rubygem-rdiscount-rpmlintrc create mode 100644 rubygem-rdiscount.changes create mode 100644 rubygem-rdiscount.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..678cfed --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,77 @@ +# --- +# ## 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: BSD-3-Clause +# ## 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: |- + Conflicts: ruby = 1.9.2 + # Please comment the ruby-devel build requirements that have the "<" + # and ">" operators. Otherwise it won't build. + # This is a manual hack until the != operator for ruby gets correctly + # translated by gem2rpm + BuildRequires: ruby-devel > 1.9.2 +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm + :sources: + - rubygem-rdiscount-rpmlintrc +# - 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 +# diff --git a/rdiscount-2.2.7.gem b/rdiscount-2.2.7.gem new file mode 100644 index 0000000..4891ffc --- /dev/null +++ b/rdiscount-2.2.7.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ce2ead92bd012de244f8f6fa1c03356db32611f460a092ee39ffbc8059dbeba1 +size 73728 diff --git a/rubygem-rdiscount-rpmlintrc b/rubygem-rdiscount-rpmlintrc new file mode 100644 index 0000000..67d25fd --- /dev/null +++ b/rubygem-rdiscount-rpmlintrc @@ -0,0 +1 @@ +addFilter("devel-file-in-non-devel-package") diff --git a/rubygem-rdiscount.changes b/rubygem-rdiscount.changes new file mode 100644 index 0000000..44897aa --- /dev/null +++ b/rubygem-rdiscount.changes @@ -0,0 +1,84 @@ +------------------------------------------------------------------- +Fri Oct 28 05:04:40 UTC 2022 - Stephan Kulow + +updated to version 2.2.7 + no changelog found + +------------------------------------------------------------------- +Mon Feb 21 11:35:56 UTC 2022 - Stephan Kulow + +updated to version 2.2.0.2 + no changelog found + +------------------------------------------------------------------- +Sat Oct 8 04:35:40 UTC 2016 - coolo@suse.com + +- updated to version 2.2.0.1 + no changelog found + +------------------------------------------------------------------- +Wed Feb 11 16:14:26 UTC 2015 - coolo@suse.com + +- updated to version 2.1.8 + +------------------------------------------------------------------- +Sun May 18 09:04:44 UTC 2014 - coolo@suse.com + +- updated to version 2.1.7.1 + +------------------------------------------------------------------- +Sun Feb 16 14:00:40 UTC 2014 - kkaempf@suse.com + +- use new macros + +------------------------------------------------------------------- +Sun Oct 20 12:05:39 UTC 2013 - coolo@suse.com + +- updated to version 2.1.7 + +------------------------------------------------------------------- +Mon Jun 3 19:52:25 UTC 2013 - coolo@suse.com + +- updated to version 2.1.6 + +------------------------------------------------------------------- +Sat May 18 07:42:18 UTC 2013 - coolo@suse.com + +- updated to version 2.0.7.3 + +------------------------------------------------------------------- +Thu Mar 14 17:46:16 UTC 2013 - mrueckert@suse.de + +- update to version 2.0.7.1 + +------------------------------------------------------------------- +Tue Feb 12 14:09:34 UTC 2013 - coolo@suse.com + +- updated to version 2.0.7 + +------------------------------------------------------------------- +Sun Sep 18 00:17:32 UTC 2011 - mrueckert@suse.de + +- update to 1.6.8 +- fix license tag: it is BSD4c + +------------------------------------------------------------------- +Mon Jun 14 15:46:54 UTC 2010 - mrueckert@suse.de + +- update to version 1.6.3.2 + +------------------------------------------------------------------- +Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de + +- use rubygems_requires macro + +------------------------------------------------------------------- +Fri Dec 25 02:15:44 UTC 2009 - prusnak@suse.cz + +- update to 1.5.5 + +------------------------------------------------------------------- +Sat Aug 8 21:10:39 UTC 2009 - dmacvicar@novell.com + +- initial package for 1.3.5 + diff --git a/rubygem-rdiscount.spec b/rubygem-rdiscount.spec new file mode 100644 index 0000000..8c98371 --- /dev/null +++ b/rubygem-rdiscount.spec @@ -0,0 +1,69 @@ +# +# spec file for package rubygem-rdiscount +# +# Copyright (c) 2022 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-rdiscount +Version: 2.2.7 +Release: 0 +%define mod_name rdiscount +%define mod_full_name %{mod_name}-%{version} +# MANUAL +Conflicts: ruby = 1.9.2 +# Please comment the ruby-devel build requirements that have the "<" +# and ">" operators. Otherwise it won't build. +# This is a manual hack until the != operator for ruby gets correctly +# translated by gem2rpm +BuildRequires: ruby-devel > 1.9.2 +# /MANUAL +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{rubydevel} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives +URL: http://dafoster.net/projects/rdiscount/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: rubygem-rdiscount-rpmlintrc +Source2: gem2rpm.yml +Summary: Fast Implementation of Gruber's Markdown in C +License: BSD-3-Clause +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description +Fast Implementation of Gruber's Markdown in C. + +%prep + +%build + +%install +%gem_install \ + --symlink-binaries \ + --doc-files="COPYING README.markdown" \ + -f +%gem_cleanup + +%gem_packages + +%changelog