diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..47568e3 --- /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: +# :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 +# diff --git a/rubygem-simpleidn.changes b/rubygem-simpleidn.changes new file mode 100644 index 0000000..3789185 --- /dev/null +++ b/rubygem-simpleidn.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Fri Jun 21 10:46:23 UTC 2024 - Dan Čermák + +- New upstream release 0.2.3, no changelog found + +------------------------------------------------------------------- +Wed Jan 20 13:24:08 UTC 2021 - Stephan Kulow + +updated to version 0.2.1 + no changelog found + +------------------------------------------------------------------- +Tue Feb 27 05:34:14 UTC 2018 - factory-auto@kulow.org + +- updated to version 0.1.1 + no changelog found + +------------------------------------------------------------------- +Fri Dec 15 10:27:12 UTC 2017 - tampakrap@opensuse.org + +- Initial package diff --git a/rubygem-simpleidn.spec b/rubygem-simpleidn.spec new file mode 100644 index 0000000..6aa3035 --- /dev/null +++ b/rubygem-simpleidn.spec @@ -0,0 +1,55 @@ +# +# spec file for package rubygem-simpleidn +# +# Copyright (c) 2024 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-simpleidn +Version: 0.2.3 +Release: 0 +%define mod_name simpleidn +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{ruby >= 2.2} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +URL: https://github.com/mmriis/simpleidn +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Punycode ACE to unicode UTF-8 (and vice-versa) string conversion +License: MIT + +%description +This gem allows easy conversion from punycode ACE strings to unicode UTF-8 +strings and vice-versa. + +%prep + +%build + +%install +%gem_install \ + --doc-files="LICENCE README.rdoc" \ + -f + +%gem_packages + +%changelog diff --git a/simpleidn-0.2.3.gem b/simpleidn-0.2.3.gem new file mode 100644 index 0000000..57fb4b3 Binary files /dev/null and b/simpleidn-0.2.3.gem differ