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
|
|
|
#
|
2015-10-08 10:00:06 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-14 16:13:35 +01:00
|
|
|
|
2009-10-29 04:35:17 +01:00
|
|
|
Name: package-translations
|
|
|
|
Version: 1.0
|
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
|
|
|
|
Source0: package-translations.tar.bz2
|
|
|
|
Source1: translate_packages.pl
|
|
|
|
Source99: PREPARE_PACKAGE
|
|
|
|
BuildArch: noarch
|
2011-10-28 11:00:09 +02:00
|
|
|
Requires: perl-gettext
|
2009-10-29 04:35:17 +01:00
|
|
|
|
|
|
|
%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 -c %name
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/locale/en_US/LC_MESSAGES
|
|
|
|
cp -a mo/* $RPM_BUILD_ROOT/usr/share/locale/en_US/LC_MESSAGES
|
2009-10-30 17:35:20 +01:00
|
|
|
install -D -m 755 %{SOURCE1} $RPM_BUILD_ROOT/usr/bin/translate_packages.pl
|
2009-10-29 04:35:17 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%lang(en) /usr/share/locale/en_US/LC_MESSAGES/*
|
|
|
|
/usr/bin/translate_packages.pl
|
|
|
|
|
|
|
|
%changelog
|