Sync from SUSE:SLFO:Main rubygem-hpricot revision 517afa838dd94d8239a174d85e95d128

This commit is contained in:
Adrian Schröter 2024-05-04 00:15:17 +02:00
commit 7d45ccbcf9
5 changed files with 238 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

68
gem2rpm.yml Normal file
View File

@ -0,0 +1,68 @@
---
# ## used by gem2rpm
:summary: 'A fast and flexible HTML Parser'
# ## used by gem2rpm
:description: |-
Hpricot is a flexible HTML parser written in C. It's designed to be similar to Tanaka Akira's HTree, and has a library. Hpricot can read broken XML files, since many of the same techniques can be used.
# ## 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
#

BIN
hpricot-0.8.6.gem (Stored with Git LFS) Normal file

Binary file not shown.

87
rubygem-hpricot.changes Normal file
View File

@ -0,0 +1,87 @@
-------------------------------------------------------------------
Sat Feb 10 12:10:20 UTC 2018 - jengelh@inai.de
- Trim rhetorics from description.
-------------------------------------------------------------------
Sun Apr 16 19:03:28 UTC 2017 - avvissu@yandex.by
- Add rubygem-hpricot-rpmlintrc in spec file
- Spec file cleanup
-------------------------------------------------------------------
Mon Oct 13 12:15:08 UTC 2014 - coolo@suse.com
- adapt to new rubygem packaging
-------------------------------------------------------------------
Sat Feb 15 13:37:25 UTC 2014 - kkaempf@suse.com
- add ruby-devel buildrequires
-------------------------------------------------------------------
Sat Jan 18 13:21:12 UTC 2014 - coolo@suse.com
- use new ruby macros
-------------------------------------------------------------------
Sat Jul 14 19:01:06 UTC 2012 - chris@computersalat.de
- update to 0.8.6
* Allow any tags to contain unknown tags (Steven Parkes)
- 0.8.5
* Remove escaped quote (\') from matching (#55)
* Fix 'undefined method downcase for nil:NilClass' on JRuby (#58)
* Unescape hex numeric character references
- 0.8.4
* GH #21, #32, #33, #36: Fix for reported segfaults
- 0.8.3
* GH#8: Nil-check before downcasing attribute key
* GH#25: Proper ruby 1.9 encoding support
* GH#28. Use integers instead of ?? on 1.9, which is just a string.
* including noscript to ElementInclusions , so that hpricot wont fail
when trying to parse a meta tag inside head section when noscript is
present.
* latest changes from fast_xs mainline
* Fixes to get Hpricot running on Rubinius:
* Use free, not XFREE
* Remove RSTRUCT craziness, don't break Array#at
- fix License:
* MIT: https://github.com/hpricot/hpricot/blob/master/COPYING
-------------------------------------------------------------------
Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de
- use rubygems_requires macro
-------------------------------------------------------------------
Fri Dec 25 01:23:12 UTC 2009 - prusnak@suse.cz
- update to 0.8.2
-------------------------------------------------------------------
Fri Dec 4 23:50:57 UTC 2009 - chris@computersalat.de
- update to version 0.8.1
- some rpmlint fixes
-------------------------------------------------------------------
Fri Mar 20 16:40:27 CET 2009 - dmacvicar@suse.de
- update to version 0.7
-------------------------------------------------------------------
Wed Aug 27 18:02:10 CEST 2008 - mrueckert@suse.de
- update to version 0.6.161
-------------------------------------------------------------------
Tue May 22 18:27:14 CEST 2007 - mrueckert@suse.de
- update to version 0.5
-------------------------------------------------------------------
Wed Sep 13 13:34:59 CEST 2006 - mrueckert@suse.de
- Initial package of version 0.4

57
rubygem-hpricot.spec Normal file
View File

@ -0,0 +1,57 @@
#
# spec file for package rubygem-hpricot
#
# Copyright (c) 2018 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 http://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-hpricot
Version: 0.8.6
Release: 0
%define mod_name hpricot
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: %{rubydevel}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
BuildRequires: ruby-macros >= 5
Url: http://code.whytheluckystiff.net/hpricot/
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: A fast and flexible HTML Parser
License: MIT
Group: Development/Languages/Ruby
%description
Hpricot is a flexible HTML parser written in C. It's designed to be similar to Tanaka Akira's HTree, and has a library. Hpricot can read broken XML files, since many of the same techniques can be used.
%prep
%build
%install
%gem_install \
--doc-files="CHANGELOG COPYING README.md" \
-f
%gem_cleanup
%gem_packages
%changelog