Sync from SUSE:SLFO:Main rubygem-rdiscount revision 20669dc7201517e8db0a38f0006b41a4

This commit is contained in:
Adrian Schröter 2024-05-04 00:17:55 +02:00
commit bb9110c8f2
6 changed files with 257 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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

77
gem2rpm.yml Normal file
View File

@ -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
#

BIN
rdiscount-2.2.7.gem (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1 @@
addFilter("devel-file-in-non-devel-package")

84
rubygem-rdiscount.changes Normal file
View File

@ -0,0 +1,84 @@
-------------------------------------------------------------------
Fri Oct 28 05:04:40 UTC 2022 - Stephan Kulow <coolo@suse.com>
updated to version 2.2.7
no changelog found
-------------------------------------------------------------------
Mon Feb 21 11:35:56 UTC 2022 - Stephan Kulow <coolo@suse.com>
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

69
rubygem-rdiscount.spec Normal file
View File

@ -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