Sync from SUSE:SLFO:Main rubygem-crass revision 7997a995c0fc2b2dace0be83cf7ab4eb

This commit is contained in:
Adrian Schröter 2025-02-06 18:24:13 +01:00
commit 821870d08a
5 changed files with 191 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

BIN
crass-1.0.6.gem (Stored with Git LFS) Normal file

Binary file not shown.

72
gem2rpm.yml Normal file
View File

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

37
rubygem-crass.changes Normal file
View File

@ -0,0 +1,37 @@
-------------------------------------------------------------------
Mon Jan 27 12:35:30 UTC 2020 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 1.0.6
* Number values are now limited to a maximum of Float::MAX and a minimum of negative Float::MAX. (#11)
* Added project metadata to the gemspec. (#9 - @orien)
-------------------------------------------------------------------
Tue Nov 12 16:31:30 UTC 2019 - Manuel Schnitzer <mschnitzer@suse.com>
- updated to version 1.0.5
* Removed test files from the gem. (#8 - @t-richards)
-------------------------------------------------------------------
Mon Apr 9 14:52:00 UTC 2018 - factory-auto@kulow.org
- updated to version 1.0.4
see installed HISTORY.md
1.0.4 (2018-04-08)
------------------
* Fixed whitespace warnings. (#7 - @yahonda)
-------------------------------------------------------------------
Fri Nov 17 09:01:01 UTC 2017 - mschnitzer@suse.com
- updated to version 1.0.3
* Added support for frozen string literals. (#3 - @flavorjones)
-------------------------------------------------------------------
Mon May 11 18:03:32 UTC 2015 - mrueckert@suse.de
- initial package

56
rubygem-crass.spec Normal file
View File

@ -0,0 +1,56 @@
#
# spec file for package rubygem-crass
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-crass
Version: 1.0.6
Release: 0
%define mod_name crass
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{ruby >= 1.9.2}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: ruby-macros >= 5
Url: https://github.com/rgrove/crass/
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: CSS parser based on the CSS Syntax Level 3 spec
License: MIT
Group: Development/Languages/Ruby
%description
Crass is a pure Ruby CSS parser based on the CSS Syntax Level 3 spec.
%prep
%build
%install
%gem_install \
--doc-files="HISTORY.md LICENSE README.md" \
-f
%gem_packages
%changelog