2009-10-29 04:35:17 +01:00
|
|
|
#
|
2011-05-27 15:45:00 +02:00
|
|
|
# spec file for package package-translations
|
2009-10-29 04:35:17 +01:00
|
|
|
#
|
2024-05-03 14:01:56 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-10-29 04:35:17 +01: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.
|
|
|
|
|
2019-05-13 10:24:39 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-10-29 04:35:17 +01:00
|
|
|
#
|
|
|
|
|
2012-02-14 16:13:35 +01:00
|
|
|
|
2009-10-29 04:35:17 +01:00
|
|
|
Name: package-translations
|
2024-05-03 14:01:56 +02:00
|
|
|
Version: 89.87.20240323.9bdb784
|
2012-01-29 08:40:17 +01:00
|
|
|
Release: 0
|
2009-10-29 04:35:17 +01:00
|
|
|
Summary: Summary and Descriptions Translations
|
2011-12-06 18:35:27 +01:00
|
|
|
License: BSD-3-Clause
|
2009-10-29 04:35:17 +01:00
|
|
|
Group: System/GUI/Other
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2017-07-10 16:53:59 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2009-10-29 04:35:17 +01:00
|
|
|
BuildArch: noarch
|
2020-03-24 13:05:47 +01:00
|
|
|
URL: https://github.com/openSUSE/packages-i18n/
|
2016-11-08 21:58:58 +01:00
|
|
|
|
|
|
|
%define build_languages cs de es fr hu it ja lt nl nn ru uk zh_CN
|
2009-10-29 04:35:17 +01:00
|
|
|
|
2022-01-07 04:06:47 +01:00
|
|
|
%description
|
2009-10-29 04:35:17 +01:00
|
|
|
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
|
2017-07-10 16:53:59 +02:00
|
|
|
%setup -q
|
2009-10-29 04:35:17 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2016-11-08 21:58:58 +01:00
|
|
|
target_dir=$RPM_BUILD_ROOT/usr/share/locale/en_US/LC_MESSAGES
|
|
|
|
mkdir -p $target_dir
|
|
|
|
for lang in %build_languages; do
|
2017-07-10 16:53:59 +02:00
|
|
|
msgcat --use-first $lang/po/*.po | msgfmt -o $target_dir/package-translations-$lang.mo -
|
2016-11-08 21:58:58 +01:00
|
|
|
done
|
2009-10-29 04:35:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%lang(en) /usr/share/locale/en_US/LC_MESSAGES/*
|
|
|
|
|
|
|
|
%changelog
|