commit e0f8eea0bb38b87fef37a404f129645243cd3e04666bdcbaec9a4daaa016acd8 Author: Adrian Schröter Date: Thu Feb 6 18:25:39 2025 +0100 Sync from SUSE:SLFO:Main rubygem-gettext revision b86b66dc023dabae3bb25ead5e4f4d44 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..e61cf33 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,2 @@ +:post_install: |- + rm -v %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/test/fixtures/gtk_builder_ui_definitions.ui~ diff --git a/gettext-3.4.3.gem b/gettext-3.4.3.gem new file mode 100644 index 0000000..ef1d039 --- /dev/null +++ b/gettext-3.4.3.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b98e1272d0f55a56f519ee86d24e0fcd114b94c9d10b26e72512d65f9174251 +size 233472 diff --git a/rubygem-gettext.changes b/rubygem-gettext.changes new file mode 100644 index 0000000..694c059 --- /dev/null +++ b/rubygem-gettext.changes @@ -0,0 +1,800 @@ +------------------------------------------------------------------- +Thu Aug 4 13:11:59 UTC 2022 - Stephan Kulow + +updated to version 3.4.3 + see installed news.md + + ## 3.4.3: 2022-05-20 {#version-3-4-3} + + ### Improvements + + * Added support for Erubi to parse `.erb` + [GitHub#91][Patch by Michaël Hoste] + + ### Thanks + + * Michaël Hoste + + +------------------------------------------------------------------- +Tue Jan 25 06:57:30 UTC 2022 - Stephan Kulow + +updated to version 3.4.2 + see installed news.md + + ## 3.4.2: 2022-01-11 {#version-3-4-2} + + ### Improvements + + * Added support for fallback for specific locale. + e.g.: `fr_BE_Foo` -> `fr_BE` -> `fr` + [GitHub#90][Patch by Michaël Hoste] + + * Added support for Ruby 3.1. + [GitHub#92][Reported by ahiru] + + ### Thanks + + * Michaël Hoste + + * ahiru + + ## 3.4.1: 2021-09-08 {#version-3-4-1} + + ### Improvements + + * Listed licenses separately in gemspec. + [GitHub#88][Patch by Josh Cooper] + + ### Thanks + + * Josh Cooper + + ## 3.4.0: 2021-08-26 {#version-3-4-0} + + ### Improvements + + * test: Added missing Red Datasets availability check. + [GitHub#87][Reported by Mamoru TASAKA] + + ### Thanks + + * Mamoru TASAKA + + ## 3.3.9: 2021-08-26 {#version-3-3-9} + + ### Improvements + + * msginit: Made Red Datasets dependency optional. + [GitHub:red-datatools/red-datasets#105][Suggested by Mamoru TASAKA] + + ### Thanks + + * Mamoru TASAKA + + +------------------------------------------------------------------- +Mon Jul 26 05:55:50 UTC 2021 - Stephan Kulow + +updated to version 3.3.8 + see installed news.md + + ## 3.3.8: 2021-06-09 {#version-3-3-8} + + ### Improvements + + * msginit: Added support for generating plural forms with + Unicode's CLDR plural rules data. + [GitHub#85][Suggested by Michaël Hoste] + + * rxgettext ui: Added support for GtkBuilder UI definitions format + with `.glade` extension. + [GitHub#74][Reported by dorle-o] + + ### Fixes + + * rxgettext ruby: Fixed a bug that `Nn_` isn't extracted. + [GitHub#86][Reported by Kai Ramuenke] + + ### Thanks + + * Kai Ramuenke + + * Michaël Hoste + + * dorle-o + + +------------------------------------------------------------------- +Wed Jan 20 09:11:44 UTC 2021 - Stephan Kulow + +updated to version 3.3.7 + see installed news.md + + ## 3.3.7: 2021-01-18 {#version-3-3-7} + + ### Improvements + + * msgmerge: Added `--no-report-warning` option. + [GitHub#81][Reported by Akim Demaille] + + ### Thanks + + * Akim Demaille + +------------------------------------------------------------------- +Mon Sep 21 12:33:01 UTC 2020 - Marcus Rueckert + +- update to 3.3.6 + see installed news.md + + ### Improvements + + * erb: Added support for `-%>`. + [GitHub#77][Reported by lremes] + + * Removed ChangeLog. + [GitHub#76][Reported by Will Stephenson] + + * Don't assume `RbConfig::CONFIG["datadir"]` is available. For + example, TruffleRuby doesn't provide it. + + ### Thanks + + * lremes + + * Will Stephenson + +------------------------------------------------------------------- +Thu May 7 20:45:20 UTC 2020 - Stephan Kulow + +- updated to version 3.3.5 + see installed news.md + + ## 3.3.5: 2020-02-15 {#version-3-3-5} + + ### Improvements + + * Added support for `|` method. + [GitHub#73][Reported by dorle-o] + + ### Thanks + + * dorle-o + + ## 3.3.4: 2020-02-12 {#version-3-3-4} + + ### Improvements + + * Added support for `%W`. + [GitHub#72][Reported by Michaël Hoste] + + ### Thanks + + * Michaël Hoste + +------------------------------------------------------------------- +Mon Feb 10 14:39:59 UTC 2020 - Stephan Kulow + +- updated to version 3.3.3 + see installed news.md + + ## 3.3.3: 2020-02-05 {#version-3-3-3} + + ### Improvements + + * Added support for `%I`. + [GitHub#71][Reported by Kai Ramuenke] + + ### Thanks + + * Kai Ramuenke + + ## 3.3.2: 2020-01-13 {#version-3-3-2} + + ### Fixes + + * Fixed a bug that `rake gettext:po:add]` raises an error. + [GitHub#70][Patch by KITAITI Makoto] + + ### Thanks + + * KITAITI Makoto + + ## 3.3.1: 2020-01-12 {#version-3-3-1} + + ### Improvements + + * Stopped detecting string interpolation literal. + [GitHub#21][Reported by Remo] + + * `rxgettext`: Added support for adding a new parser by `--require`. + + * Added support for GtkBuilder UI definitions file. + [GitHub#63][Reported by Alex] + + * Improved percent literal parsing. + [GitHub#67][Patch by KITAITI Makoto] + + ### Thanks + + * Remo + + * Alex + + * KITAITI Makoto + + ## 3.3.0: 2020-01-08 {#version-3-3-0} + + ### Improvements + + * Fixed README markup. + [GitHub#57][Patch by Alexander Paukste] + + * Suppressed warnings. + [GitHub#58][Patch by 284km] + + * Improved README. + [GitHub#62][Patch by Robert Graff] + + * Added support for finding `racc` of Ruby 2.7. + [GitHub#65][Patch by KITAITI Makoto] + + * Added support for Ruby 2.7. + [GitHub#64][Reported by Anatol Pomozov] + + * Dropped support for Ruby 2.4. + + ### Fixes + + * Fixed a bug that `n_` may return nil. + [GitHub#60][Patch by Michaël Hoste] + + * Fixed a sort by msgid bug. + [GitHub#61][Patch by Robert Graff] + + ### Thanks + + * Alexander Paukste + + * 284km + + * Michaël Hoste + + * Robert Graff + + * KITAITI Makoto + + * Anatol Pomozov + +------------------------------------------------------------------- +Tue Mar 6 05:30:14 UTC 2018 - factory-auto@kulow.org + +- updated to version 3.2.9 + see installed news.md + + ## 3.2.9: 2018-03-05 {#version-3-2-9} + + ### Fixes + + * `rmsgcat`: Removed a debug print. + + ## 3.2.8: 2018-03-05 {#version-3-2-8} + + ### Fixes + + * `rmsgcat`: Fixed a bug that extra newline is added by + `--update-po-revision-date` option. + + ## 3.2.7: 2018-03-05 {#version-3-2-7} + + ### Improvements + + * `rmsgcat`: Added `--update-po-revision-date` option. + +------------------------------------------------------------------- +Tue Jan 9 07:29:31 UTC 2018 - coolo@suse.com + +- updated to version 3.2.6 + see installed news.md + + ## 3.2.6: 2017-12-17 {#version-3-2-6} + + ### Fixes + + * Fixed a regression bug that `\'` and `\` aren't processed in + `'...'`. + [GitHub#56][Reported by Michaël Hoste] + + ### Thanks + + * Michaël Hoste + +------------------------------------------------------------------- +Thu Dec 14 14:21:03 UTC 2017 - coolo@suse.com + +- updated to version 3.2.5 + see installed news.md + + ## 3.2.5: 2017-12-14 {#version-3-2-5} + + ### Improvements + + * Stop to use `eval`. + [GitHub#56][Reported by Michaël Hoste] + + ### Thanks + + * Michaël Hoste + +------------------------------------------------------------------- +Sun Sep 3 09:03:04 UTC 2017 - coolo@suse.com + +- updated to version 3.2.4 + see installed news.md + + ## 3.2.4: 2017-08-13 {#version-3-2-4} + + ### Fixes + + * Fixed a bug that block parameter is handled as method name. + [GitHub#53][Reported by Renaud Chaput] + + ### Thanks + + * Renaud Chaput + +------------------------------------------------------------------- +Thu Aug 3 19:16:51 UTC 2017 - coolo@suse.com + +- updated to version 3.2.3 + see installed news.md + + ## 3.2.3: 2017-06-24 {#version-3-2-3} + + ### Improvements + + * Disabled unmaintainable Ruby from CI. + [GitHub#48][Reported by JP Hastings-Spital] + + * Supported `--enable-frozen-string-literal` `ruby` option. + [GitHub#52][Reported by Pat Allan] + + ### Thanks + + * JP Hastings-Spital + + * Pat Allan + +------------------------------------------------------------------- +Mon Apr 18 04:31:43 UTC 2016 - coolo@suse.com + +- updated to version 3.2.2 + see installed news.md + + ## 3.2.2: 2016-04-17 {#version-3-2-2} + + ### Improvements + + * Supported non POSIX locale format such as "zh-Hant" for + .mo search path. + [GitHub#45][Patch by Michaël Hoste] + + ### Thanks + + * Michaël Hoste + +------------------------------------------------------------------- +Mon Jan 25 05:50:58 UTC 2016 - coolo@suse.com + +- updated to version 3.2.1 + see installed news.md + + ## 3.2.1: 2016-01-23 {#version-3-2-1} + + ### Improvements + + * Supported customizing msgmerge options on merging edit.po to .po. + [GitHub#44][Patch by Dominic Cleal] + + ### Thanks + + * Dominic Cleal + +------------------------------------------------------------------- +Thu Jan 21 05:36:04 UTC 2016 - coolo@suse.com + +- updated to version 3.2.0 + see installed news.md + + ## 3.2.0: 2015-12-31 {#version-3-2-0} + + ### Improvements + + * Improved fuzzy detection for sub text. + + ## 3.1.9: 2015-12-30 {#version-3-1-9} + + ### Improvements + + * Improved fuzzy detection for small texts. + [GitHub#43][Reported by Mamoru TASAKA] + + ### Thanks + + * Mamoru TASAKA + + ## 3.1.8: 2015-12-29 {#version-3-1-8} + + ### Improvements + + * Improved fuzzy detection. + +------------------------------------------------------------------- +Wed Sep 23 04:30:03 UTC 2015 - coolo@suse.com + +- updated to version 3.1.7 + see installed news.md + + ## 3.1.7: 2015-09-22 {#version-3-1-7} + + ### Improvements + + * Supported 3 character language names. + [GitHub#39][Patch by Vilius Paulauskas] + * Suppressed duplicated range in regular expression warning. + [GitHub#40][Patch by Vilius Paulauskas] + * Replaced invalid character instead of raising an error on encoding + conversion. + [GitHub#41][Patch by Vilius Paulauskas] + + ### Fixes + + * Fixed a bug that undefined method is used. + [GitHub#38][Patch by Hiroshi Hatake] + + ### Thanks + + * Hiroshi Hatake + * Vilius Paulauskas + +------------------------------------------------------------------- +Mon Feb 9 08:06:41 UTC 2015 - coolo@suse.com + +- updated to version 3.1.6, no changelog + +------------------------------------------------------------------- +Sun Oct 12 11:09:38 UTC 2014 - adrian@suse.de + +- adapt to new rubygem packaging style + +------------------------------------------------------------------- +Sun May 18 09:04:37 UTC 2014 - coolo@suse.com + +- updated to version 3.1.2, no changelog + +------------------------------------------------------------------- +Fri Mar 21 12:54:12 UTC 2014 - coolo@suse.com + +- updated to version 3.1.1, no changelog + +------------------------------------------------------------------- +Sun Feb 23 09:24:48 UTC 2014 - coolo@suse.com + +- updated to version 3.1.0, no changelog + +------------------------------------------------------------------- +Thu Feb 6 18:00:01 UTC 2014 - coolo@suse.com + +- updated to version 3.0.6, no changelog + +------------------------------------------------------------------- +Mon Dec 16 06:28:05 UTC 2013 - coolo@suse.com + +- updated to version 3.0.3, no changelog + +------------------------------------------------------------------- +Fri Oct 4 07:17:59 UTC 2013 - coolo@suse.com + +- updated to version 3.0.2 + ### Improvements + + * Added {GetText::PO#empty?}. + * Added `:encoding` option to {GetText::POEntry#to_s}. + * xgettext: Added `--no-location` option. + * xgettext: Added `--sort-output` option. + * xgettext: Added `--sort-by-file` option. + * xgettext: Added `--sort-by-msgid` option. + * xgettext: Added `--width` option. + * xgettext: Added `--no-wrap` option. + +------------------------------------------------------------------- +Mon Sep 23 14:52:56 UTC 2013 - coolo@suse.com + +- updated to version 3.0.1 + * Removed an unused file. [GitHub#19] [Reported by Ladislav Slezák] + * msginit: Added full user name guessing by /etc/passwd. + * incompatible: {GetText::Tools::Task} no longer require spec. + * Added {GetText::Tools::Task.define}. It is the recommended API + rather than {GetText::Tools::Task.new}. + * Supported "utf8" as a valid charset. + [GitHub#20][Reported by Antonio Terceiro] + * Added {GetText::Tools::Task#enable_description=}. + * Added {GetText::Tools::Task#enable_description?}. + * Added {GetText::Tools::Task#enable_po=}. + * Added {GetText::Tools::Task#enable_po?}. + * Added {GetText::Tools::Task#msgmerge_options=}. + * Added {GetText::Tools::Task#msgmerge_options}. + * task: Added `gettext:po:add[LOCALE]` task. + * msgmerge: add `--sort-output` option. + * msgmerge: add `--sort-by-file` option. + * msgmerge: add `--sort-by-msgid` option. + * msgmerge: add `--no-location` option. + * msgmerge: add `--width` option. + * msgmerge: add `--no-wrap` option. + * msgmerge: add `--update` option. + +------------------------------------------------------------------- +Tue Sep 3 08:10:14 UTC 2013 - coolo@suse.com + +- updated to version 3.0.0 + This is a new major version up release! + + This release removes many deprecated APIs and improves internal + APIs. We want to keep backward compatibility as much as possible but + some existing codes may be broken by gettext gem API change. If your + code breaks by gettext gem 3.0.0, please report your problem. We will + fix the problem and release a new version. + + ### Improvements + + * Removed deprecated APIs + * `require "gettext/parser/erb"`. + Use `require "gettext/tools/parser/erb"` instead. + * `require "gettext/parser/glade"`. + Use `require "gettext/tools/parser/glade"` instead. + * `require "gettext/parser/ruby"`. + Use `require "gettext/tools/parser/ruby"` instead. + * `require "gettext/utils"`. + Use `require "gettext/tools"` instead. + * `GetText.msgmerge`. Use `GetText::Tools::MsgMerge.run` instead. + * `GetText.create_mofiles`. Use `GetText::Tools::Task` instead. + * `GetText::PoParser`. Use `GetText::POParser` instead. + * `require "gettext/tools/poparser"`. + Use `require "gettext/po_parser"` instead. + * `require "gettext/runtime/mofile"`. + Use `require "gettext/mo"` instead. + * `GetText::MoFile`. Use `GetText::MO` instead. + * `GetText::Task`. Use `GetText::Tools::Task` instead. + * `GetText.set_locale_all`. Use `GetText.set_locale` instead. + * `GetText.setlocale`. Use `GetText.set_locale` instead. + * `GetText::Tools::MsgMerge::PoData`. Use `GetText::POEntry` instead. + * Removed Ruby 1.8 support. + * Supported Rake 10.1.0. + * Stopped to remove `TRANSLATORS:` tag because GNU gettext doesn't + remove it. + * Stopped to use `TRANSLATORS:` as comment tag. It is GNU gettext + compatible behavior. + * rxgettext: Added `--add-comments[=TAG]` option that exists in + xgettext. [GitHub #16] [Reported by Ladislav Slezák] + * Supported escaping tab character as `\t`. + + ### Fixes + + * po: Added a missing new line for multiple extracted comments. + [GitHub #17] [Patch by Ladislav Slezák] + * Fixed a bug that encoding may not be set. + * Fixed a bug that `\n` is escaped as `\\n`. + [GitHub #18] [Debian #716916] [Reported by Ladislav Slezák] + [Reported by Francesco Poli] + +------------------------------------------------------------------- +Fri Jul 12 18:55:31 UTC 2013 - coolo@suse.com + +- fix usage of update-alternatives + +------------------------------------------------------------------- +Tue May 7 19:55:25 UTC 2013 - coolo@suse.com + +- updated to version 2.3.9, no changelog + +------------------------------------------------------------------- +Fri Apr 12 09:18:21 UTC 2013 - coolo@suse.com + +- updated to version 2.3.8 + * Added licence information to the gemspec. + [GitHub #13] [Patch by jordimassaguerpla] + * Supported Ruby 2.0.0. + [GitHub #14] [Reported by mtasaka] + + ### Fixes + + * [rxgettext] Fixed a bug that the comment for the previous message + also exists in the current message. + [Debian #684184] [Reported by Francesco Poli] [Patch by Jérémy Bobbio] + +------------------------------------------------------------------- +Thu Jan 24 06:45:28 UTC 2013 - coolo@suse.com + +- updated to version 2.3.7 + ### Improvements + + * [msgmerge] Speeded up fuzzy matching. + + ### Fixes + + * [msgmerge] Fix the bug that msgmerge adds needless fuzzy flag from + not fuzzy entries in merged PO. + * [POEntry] Pretty formated all messages except msgstr. + +------------------------------------------------------------------- +Fri Dec 21 17:23:34 UTC 2012 - coolo@suse.com + +- updated to version 2.3.6 + ### Fixes + + * [POEntry] Fixed the bug that obsolete comment mark (#~) is added + to already comment. + * [msgmerge] Fixed the bug that no separator (blank line) didn't exist + between each obsolete entry. + * [msgmerge] Fixed tne bug that obsolete entries in old PO file are + added to new PO file. Any obsolete entries in old PO file aren't + treated for merging. + +------------------------------------------------------------------- +Fri Dec 14 06:11:46 UTC 2012 - coolo@suse.com + +- updated to version 2.3.5 + ### Fixes + + * [POParser] Fixed the class name for backward compatibility. + + ### Improvements + + * [Merger] Implemented "fuzzy-match" with Levenshtein distance. + * Added the class "PO" for management PO entries. Please use PO + instead of PoData. (see details in + http://rubydoc.info/gems/gettext/GetText/PO.html) + * [POEntry (renamed from PoMessages)] Supported to specify msgstr. + * [POEntry] Stored comments each type + (translator\_comment, extracted\_comment, flag, previous). + see + http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html + for details of comment type. + * [POEntry] Checked if specified type is valid in #type=. + * [PoParser][MO] Concatenated msgctxt, msgid, msgid\_plural to + "#{msgctxt}\004#{msgid}\000"{msgid\_plural}" by MO instead of + PoParser. PoData and MO treat a concatenated string as msgid, but + PO doesn't. + * [PoParser] Parsed each type comment from whole comment. + + ### Changes + + * Rename some classes and methods. + * PoMessage to PoEntry. This isn't "message" but "entry". + (See http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files) + * PoMessages#== to POEntry#mergeable?. + * PoMessages#to\_po\_str to POEntry#to\_s. + * PoMessages#sources(sources=) to POEntry#references(references=) + * MoFile to MO. For backword compatible, MoFile can be used now. + * PoParser to POParser. For backword compatible, PoParser can be used now. + * Raised no error when POEntry doesn't have references. + It is useful for no references in .PO file. + +------------------------------------------------------------------- +Sun Oct 28 09:34:32 UTC 2012 - coolo@suse.com + +- updated to version 2.3.3 + ### Improvements + + * [msginit] Supported plural forms for Bosnian, Catalan, Norwegian + Bokmal and Chinese. + + ### Fixes + + * Fixed the bug that messages (i.e. the help message for rmsgfmt) + aren't localized in each environment. However, some + messages aren't tranlated or resolved fuzzy. Please + help us to translate or resolve them. + [Github #12][Reported by mtasaka] + * Used String#% to localize some messages. + +------------------------------------------------------------------- +Fri Sep 21 09:48:03 UTC 2012 - coolo@suse.com + +- updated to version 2.3.2 + * Fixed the bug that untranslated messages are included in a .mo file. + [Github #11][Reported by Ramón Cahenzli] +- dropping provides for names that were last seen on 10.1 + +------------------------------------------------------------------- +Thu Sep 13 09:11:46 UTC 2012 - coolo@suse.com + +- updated to version 2.3.1 + It's a Bug and package fix release. + Then, it's also encoding support release, only if you use Ruby 1.9. + + ### Improvements + + * [xgettext] Added backword compatibility method + (GetText::RGetText.run). + [Suggested by Fotos Georgiadis] + * [xgettext] Removed deprecated parse argument support. + * [erb parer] Assumed the encoding in the magic comment of the + input file as the encoding of it. + * [ruby parser] Assumed the encoding in the magic comment of the + input file as the encoding of it. + * [xgettext] Added the "--output-encoding" option to set encoding of + output pot file. + * [xgettext] Used UTF-8 as the default encoding of output pot file. + * [xgettext] Supported multiple encoding sources. + + ### Changes + + * [MoFile] Returned nil instead of "" as msgstr when its msgid isn't + translated (when this msgstr is ""). + * [PoParser] Converted msgstr from "" to nil when parsing. + + ### Fixes + + * Added missing .yardopts file. [Reported by Takahiro Kambe] + * [news] Fixed Eddie Lau name instead of github name. + * [msginit] Added the "Plural-Forms:" entry to the header even if a + pot file doesn't have it. + * [msgmerge] Fixed the bug the new line between a header and + contents doesn't exist. + * [msginit] Fixed the bug that msgstr with msgid_plural aren't + generated in output po file. + * [xgettext] Supported class based xgettext parser add API. + [GitHub #10] [Suggested by Michael Grosser] + * [erb parer] Fixed erb parser bug with unicode msgid in Ruby 1.9 + ERB templates. + [Github #9] [Patch by Fotos Georgiadis] + * Added missing documents for GetText::Tools::XGetText + +------------------------------------------------------------------- +Thu Jun 7 13:51:54 UTC 2012 - lslezak@suse.cz + +- updated to 2.2.1: + * Supported non ASCII string in msgid + * Stopped overriding String#% on Ruby 1.9. + * Fixed a bug that "\" is too escaped. + * Removed GetText.bindtext dependency from GetText::PoParser. + * Ranamed GetText::MOFile to GetText::MoFile but GetText::MOFile + is still available. + includes changes from 2.2.0: + * Supported ruby-1.9 + * Supported $SAFE=1 + * Improved argument check + * Supported ruby-1.8.6 again + * Fixed Ukrainan translation path + * Fixed a bug that only the last path in GETTEXT_PATH environment + variable is used + * Fixed a bug that Ruby-GetText-Package modifies $LOAD_PATH + +------------------------------------------------------------------- +Mon Feb 13 10:54:52 UTC 2012 - coolo@suse.com + +- patch license to follow spdx.org standard + +------------------------------------------------------------------- +Tue Jun 29 11:18:38 UTC 2010 - jreidinger@novell.com + +- split package into doc and testsuite to reduce size +- provide properly ruby-gettext version + +------------------------------------------------------------------- +Fri Jun 11 10:00:01 UTC 2010 - mrueckert@suse.de + +- use rubygems_requires macro + +------------------------------------------------------------------- +Fri Dec 25 01:15:37 UTC 2009 - prusnak@suse.cz + +- update to 2.1.0 + +------------------------------------------------------------------- +Tue Apr 14 15:32:34 CEST 2009 - schubi@suse.de + +- initial. splitted off from ruby-gettext package + diff --git a/rubygem-gettext.spec b/rubygem-gettext.spec new file mode 100644 index 0000000..1ba23cf --- /dev/null +++ b/rubygem-gettext.spec @@ -0,0 +1,64 @@ +# +# spec file for package rubygem-gettext +# +# 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-gettext +Version: 3.4.3 +Release: 0 +%define mod_name gettext +%define mod_full_name %{mod_name}-%{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 2.5.0} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives +URL: https://ruby-gettext.github.io/ +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Gettext is a pure Ruby libary and tools to localize messages +License: LGPL-3.0-or-later AND Ruby +Group: Development/Languages/Ruby +PreReq: update-alternatives + +%description +Gettext is a GNU gettext-like program for Ruby. +The catalog file(po-file) is same format with GNU gettext. +So you can use GNU gettext tools for maintaining. + +%prep + +%build + +%install +%gem_install \ + --symlink-binaries \ + --doc-files="README.md" \ + -f +# MANUAL +rm -v %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/test/fixtures/gtk_builder_ui_definitions.ui~ +# /MANUAL + +%gem_packages + +%changelog