1
0
Files
package-translations/package-translations.spec

53 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package package-translations
#
Accepting request 674179 from home:keichwa:branches:system:install:head - Update to version 84.87.20190212.03559d3a: * Fix more glitches - Update to version 84.87.20190212.57f204a5: * Translated using Weblate (Chinese (China)) * Translated using Weblate (Czech) * Translated using Weblate (French) * Translated using Weblate (German) * Translated using Weblate (Hungarian) * Translated using Weblate (Polish) * Translated using Weblate (Spanish) * fix glitch - Update to version 84.87.20190208.4199a3f6: * Add 15.1 and non-oss repos * Added translation using Weblate (Chinese (Taiwan)) * Added translation using Weblate (Kabyle) * Consistently use LF line ending * Fixed a typo fistChar --> firstChar * Translated using Weblate (Arabic) * Translated using Weblate (Catalan) * Translated using Weblate (Chinese (China)) * Translated using Weblate (Chinese (Taiwan)) * Translated using Weblate (Czech) * Translated using Weblate (Danish) * Translated using Weblate (Dutch) * Translated using Weblate (French) * Translated using Weblate (German) * Translated using Weblate (Hungarian) * Translated using Weblate (Italian) * Translated using Weblate (Japanese) * Translated using Weblate (Kabyle) * Translated using Weblate (Korean) * Translated using Weblate (Portuguese (Brazil)) * Translated using Weblate (Russian) * Translated using Weblate (Spanish) * Update strings OBS-URL: https://build.opensuse.org/request/show/674179 OBS-URL: https://build.opensuse.org/package/show/system:install:head/package-translations?expand=0&rev=286
2019-02-12 16:25:43 +00:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: package-translations
Version: 84.87.20190504.098d3e84
Release: 0
Summary: Summary and Descriptions Translations
License: BSD-3-Clause
Group: System/GUI/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
Url: https://github.com/openSUSE/packages-i18n/
%define build_languages cs de es fr hu it ja lt nl nn ru uk zh_CN
%description
This package provides translations for our packages. You don't want to install this
package on your system, it's only useful when you create openSUSE media.
%prep
%setup -q
%build
%install
target_dir=$RPM_BUILD_ROOT/usr/share/locale/en_US/LC_MESSAGES
mkdir -p $target_dir
for lang in %build_languages; do
msgcat --use-first $lang/po/*.po | msgfmt -o $target_dir/package-translations-$lang.mo -
done
%files
%defattr(-,root,root)
%lang(en) /usr/share/locale/en_US/LC_MESSAGES/*
%changelog