2009-04-16 10:54:22 +00:00
|
|
|
#
|
2012-06-08 09:37:31 +00:00
|
|
|
# spec file for package rubygem-gettext
|
2009-04-16 10:54:22 +00:00
|
|
|
#
|
2022-02-02 06:00:43 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2009-04-16 10:54:22 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2020-12-11 09:19:13 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-04-16 10:54:22 +00:00
|
|
|
#
|
|
|
|
|
|
2012-08-30 05:41:36 +00:00
|
|
|
|
2015-02-09 08:10:53 +00:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
#
|
|
|
|
|
|
2009-04-16 10:54:22 +00:00
|
|
|
Name: rubygem-gettext
|
2022-08-05 09:22:33 +00:00
|
|
|
Version: 3.4.3
|
2012-02-13 13:55:00 +00:00
|
|
|
Release: 0
|
2009-04-16 10:54:22 +00:00
|
|
|
%define mod_name gettext
|
2012-06-08 09:37:31 +00:00
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
2009-04-16 10:54:22 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2020-02-10 23:46:40 +00:00
|
|
|
BuildRequires: %{ruby >= 2.5.0}
|
2015-02-09 08:10:53 +00:00
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
2020-12-11 09:19:13 +00:00
|
|
|
BuildRequires: ruby-macros >= 5
|
2013-07-12 18:56:24 +00:00
|
|
|
BuildRequires: update-alternatives
|
2020-12-11 09:19:13 +00:00
|
|
|
URL: https://ruby-gettext.github.io/
|
2017-12-22 12:17:37 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2015-02-09 08:10:53 +00:00
|
|
|
Source1: gem2rpm.yml
|
2012-08-30 05:41:36 +00:00
|
|
|
Summary: Gettext is a pure Ruby libary and tools to localize messages
|
2022-02-02 06:00:43 +00:00
|
|
|
License: LGPL-3.0-or-later AND Ruby
|
2012-08-30 05:41:36 +00:00
|
|
|
Group: Development/Languages/Ruby
|
2013-04-12 09:18:55 +00:00
|
|
|
PreReq: update-alternatives
|
2012-08-30 05:41:36 +00:00
|
|
|
|
2009-04-16 10:54:22 +00:00
|
|
|
%description
|
2012-08-30 05:41:36 +00:00
|
|
|
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.
|
2009-04-16 10:54:22 +00:00
|
|
|
|
|
|
|
|
%prep
|
2012-08-30 05:41:36 +00:00
|
|
|
|
2009-04-16 10:54:22 +00:00
|
|
|
%build
|
|
|
|
|
|
2012-08-30 05:41:36 +00:00
|
|
|
%install
|
2014-10-12 15:47:42 +00:00
|
|
|
%gem_install \
|
|
|
|
|
--symlink-binaries \
|
2015-02-09 08:10:53 +00:00
|
|
|
--doc-files="README.md" \
|
2014-10-12 15:47:42 +00:00
|
|
|
-f
|
2021-01-20 09:38:27 +00:00
|
|
|
# MANUAL
|
|
|
|
|
rm -v %{buildroot}%{_libdir}/ruby/gems/*/gems/%{mod_name}-%{version}/test/fixtures/gtk_builder_ui_definitions.ui~
|
|
|
|
|
# /MANUAL
|
2009-04-16 10:54:22 +00:00
|
|
|
|
2014-10-12 15:47:42 +00:00
|
|
|
%gem_packages
|
2010-06-29 13:01:17 +00:00
|
|
|
|
2009-04-16 10:54:22 +00:00
|
|
|
%changelog
|