commit 29a09c5846347aaf36cf3dae710c632c5ee2e3e9b81cda266fd37f64a7466a2d Author: Adrian Schröter Date: Thu Feb 6 18:28:00 2025 +0100 Sync from SUSE:SLFO:Main rubygem-po_to_json revision 5c24d1321fe59f9333f55cb0699d9e9d 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..c7ef653 --- /dev/null +++ b/gem2rpm.yml @@ -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: +# ## 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 +# +--- +:sources: diff --git a/po_to_json-2.0.0.gem b/po_to_json-2.0.0.gem new file mode 100644 index 0000000..84cbbeb --- /dev/null +++ b/po_to_json-2.0.0.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e59b2904c015d2fcad3ec02022970ad0fb6622f6eb5ba82b47dff99d2fd6b2a +size 8704 diff --git a/rubygem-po_to_json.changes b/rubygem-po_to_json.changes new file mode 100644 index 0000000..f539bea --- /dev/null +++ b/rubygem-po_to_json.changes @@ -0,0 +1,37 @@ +------------------------------------------------------------------- +Fri Nov 3 07:50:04 UTC 2023 - Dan Čermák + +- ## [2.0.0](https://github.com/webhippie/po_to_json/releases/tag/v2.0.0) - 2023-07-18 + +* Fix escape double quote in msgid (@chaomao) + +## [1.1.0](https://github.com/webhippie/po_to_json/releases/tag/v1.0.1) - 2023-04-28 + +* Optionally remove var keyword to use a global (@illiatdesdindes) + + +------------------------------------------------------------------- +Wed Nov 4 05:34:04 UTC 2015 - coolo@suse.com + +- updated to version 1.0.1 + see installed CHANGELOG.md + +------------------------------------------------------------------- +Fri Mar 20 20:42:31 UTC 2015 - coolo@suse.com + +- updated to version 1.0.0 + * BREAKING: Made result compatible to current Jed (#4) + +------------------------------------------------------------------- +Fri Feb 20 14:13:49 UTC 2015 - tboerger@suse.com + +- Updated to 0.1.0 + - Transfer from github.com/nubis/po_to_json + - Added TravisCI, Rubocop and Coveralls + - Updated structure to my opinionated gem style + +------------------------------------------------------------------- +Wed Dec 17 10:05:39 UTC 2014 - tboerger@suse.com + +- Initial packaging of 0.0.7 + diff --git a/rubygem-po_to_json.spec b/rubygem-po_to_json.spec new file mode 100644 index 0000000..22b0d72 --- /dev/null +++ b/rubygem-po_to_json.spec @@ -0,0 +1,55 @@ +# +# spec file for package rubygem-po_to_json +# +# 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-po_to_json +Version: 2.0.0 +Release: 0 +%define mod_name po_to_json +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{ruby >= 1.9.3} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +URL: https://github.com/webhippie/po_to_json +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Convert gettext PO files to JSON +License: MIT + +%description +Convert gettext PO files to JSON objects so that you can use it in your +application. + +%prep + +%build + +%install +%gem_install \ + --doc-files="CHANGELOG.md LICENSE README.md" \ + -f + +%gem_packages + +%changelog