File rubygem-text-hyphen.spec of Package rubygem-text-hyphen

#
# spec file for package rubygem-text-hyphen
#
# Copyright (c) 2023 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-text-hyphen
Version:        1.5.0
Release:        0
%define mod_name text-hyphen
%define mod_full_name %{mod_name}-%{version}
BuildRequires:  ruby-macros >= 5
BuildRequires:  %{ruby}
BuildRequires:  %{rubygem gem2rpm}
BuildRequires:  %{rubygem rdoc > 3.10}
BuildRequires:  update-alternatives
Url:            https://rubygems.org/gems/text-hyphen
Source:         https://rubygems.org/gems/%{mod_full_name}.gem
Source1:        gem2rpm.yml
Summary:        Text::Hyphen is a Ruby library to hyphenate words in various
License:        MIT and Various
PreReq:         update-alternatives

%description
Text::Hyphen is a Ruby library to hyphenate words in various languages using
Ruby-fied versions of TeX hyphenation patterns. It will properly hyphenate
various words according to the rules of the language the word is written in.
The
algorithm is based on that of the TeX typesetting system by Donald E. Knuth.
This is originally based on the Perl implementation of [TeX::Hyphen][] and the
[Ruby port][]. The language hyphenation pattern files are based on the sources
available from [CTAN][] as of 2004.12.19 and have been manually translated by
Austin Ziegler.
This is a small feature release adding Russian language support and fixing a
bug
in the custom hyphen support introduced last version. This release provides
both
Ruby 1.8.7 and Ruby 1.9.2 support (but please read below). In short, Ruby 1.8
support is deprecated and I will not be providing any bug fixes related to
Ruby
1.8. New features will be developed and tested against Ruby 1.9 only.

%prep

%build

%install
%gem_install \
  --symlink-binaries \
  --doc-files="History.md Licence.md README.md" \
  -f

%gem_packages

%changelog
openSUSE Build Service is sponsored by