You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/main/tde-i18n/tde-i18n.spec

1495 lines
42 KiB

#
# spec file for package tde-i18n (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
# 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://www.trinitydesktop.org/
#
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
%define tde_version 14.1.0
%endif
%define tde_pkg tde-i18n
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man
%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# Builds all supported languages (not unsupported ones)
%if "%{?TDE_LANGS}" == ""
%define TDE_LANGS af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW
%endif
Name: trinity-%{tde_pkg}
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
Summary: Internationalization support for Trinity
Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
%else
License: GPLv2+
%endif
#Vendor: Trinity Desktop
#Packager: Francois Andriot <francois.andriot@free.fr>
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Speed build options
%define debug_package %{nil}
%define __spec_install_post %{nil}
AutoReq: no
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: findutils
BuildRequires: gettext
BuildRequires: cmake
BuildRequires: gcc-c++
%description
This package contains %{summary}.
##########
%package Afrikaans
Summary: Afrikaans(af) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-af = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Afrikaans < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Afrikaans = %{?epoch:%{epoch}:}%{version}-%{release}
%description Afrikaans
This package contains %{summary}.
%files Afrikaans
%defattr(-,root,root,-)
%{tde_datadir}/locale/af/
##########
%package Arabic
Summary: Arabic(ar) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ar = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Arabic < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Arabic = %{?epoch:%{epoch}:}%{version}-%{release}
%description Arabic
This package contains %{summary}.
%files Arabic
%defattr(-,root,root,-)
%{tde_datadir}/locale/ar/
##########
%package Azerbaijani
Summary: Azerbaijani(az) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-az = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Arabic < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Arabic = %{?epoch:%{epoch}:}%{version}-%{release}
%description Azerbaijani
This package contains %{summary}.
%files Azerbaijani
%defattr(-,root,root,-)
%{tde_datadir}/locale/az/
##########
%package Belarusian
Summary: Belarusian(be) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-be = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Belarusian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Belarusian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Belarusian
This package contains %{summary}.
%files Belarusian
%defattr(-,root,root,-)
%{tde_datadir}/locale/be/
##########
%package Bulgarian
Summary: Bulgarian(bg) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-bg = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Bulgarian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Bulgarian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Bulgarian
This package contains %{summary}.
%files Bulgarian
%defattr(-,root,root,-)
%{tde_datadir}/locale/bg/
##########
%package Bengali
Summary: Bengali(bn) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-bn = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Bengali < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Bengali = %{?epoch:%{epoch}:}%{version}-%{release}
%description Bengali
This package contains %{summary}.
%files Bengali
%defattr(-,root,root,-)
%{tde_datadir}/locale/bn/
##########
%package Tibetan
Summary: Tibetan(bo) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-bo = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Tibetan < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Tibetan = %{?epoch:%{epoch}:}%{version}-%{release}
%description Tibetan
This package contains %{summary}.
#%files Tibetan
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/bo/
##########
%package Breton
Summary: Breton(br) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-br = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Breton < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Breton = %{?epoch:%{epoch}:}%{version}-%{release}
%description Breton
This package contains %{summary}.
%files Breton
%defattr(-,root,root,-)
%{tde_datadir}/locale/br/
##########
%package Bosnian
Summary: Bosnian(bs) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-bs = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Bosnian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Bosnian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Bosnian
This package contains %{summary}.
%files Bosnian
%defattr(-,root,root,-)
%{tde_datadir}/locale/bs/
##########
%package Catalan
Summary: Catalan(ca) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ca = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Catalan < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Catalan = %{?epoch:%{epoch}:}%{version}-%{release}
%description Catalan
This package contains %{summary}.
%files Catalan
%defattr(-,root,root,-)
%{tde_datadir}/locale/ca/
%{tde_tdedocdir}/HTML/ca/
##########
%package Czech
Summary: Czech(cs) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-cs = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Czech < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Czech = %{?epoch:%{epoch}:}%{version}-%{release}
%description Czech
This package contains %{summary}.
%files Czech
%defattr(-,root,root,-)
%{tde_datadir}/locale/cs/
%{tde_tdedocdir}/HTML/cs/
##########
%package Kashubian
Summary: Kashubian(csb) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-csb = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Kashubian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Kashubian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Kashubian
This package contains %{summary}.
%files Kashubian
%defattr(-,root,root,-)
%{tde_datadir}/locale/csb/
##########
%package Cymraeg
Summary: Cymraeg language support for TDE
Group: User Interface/Desktops
Obsoletes: trinity-kde-i18n-Cymraeg < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Cymraeg = %{?epoch:%{epoch}:}%{version}-%{release}
%description Cymraeg
This package contains %{summary}.
##########
%package Welsh
Summary: Welsh(cy) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-cy = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Welsh < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Welsh = %{?epoch:%{epoch}:}%{version}-%{release}
%description Welsh
This package contains %{summary}.
%files Welsh
%defattr(-,root,root,-)
%{tde_datadir}/locale/cy/
##########
%package Danish
Summary: Danish(da) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-da = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Danish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Danish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Danish
This package contains %{summary}.
%files Danish
%defattr(-,root,root,-)
%{tde_datadir}/locale/da/
%{tde_tdedocdir}/HTML/da/
##########
%package German
Summary: German(de) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-de = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-German < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-German = %{?epoch:%{epoch}:}%{version}-%{release}
%description German
This package contains %{summary}.
%files German
%defattr(-,root,root,-)
%{tde_datadir}/locale/de/
%{tde_tdedocdir}/HTML/de/
##########
%package Greek
Summary: Greek(el) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-el = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Greek < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Greek = %{?epoch:%{epoch}:}%{version}-%{release}
%description Greek
This package contains %{summary}.
%files Greek
%defattr(-,root,root,-)
%{tde_datadir}/locale/el/
##########
%package British
Summary: British(en_GB) English support for TDE
Group: User Interface/Desktops
Provides: %{name}-en_GB = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-British < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-British = %{?epoch:%{epoch}:}%{version}-%{release}
%description British
This package contains %{summary}.
%files British
%defattr(-,root,root,-)
%{tde_datadir}/locale/en_GB/
%{tde_tdedocdir}/HTML/en_GB/
##########
%package Esperanto
Summary: Esperanto(eo) support for TDE
Group: User Interface/Desktops
Provides: %{name}-eo = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Esperanto < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Esperanto = %{?epoch:%{epoch}:}%{version}-%{release}
%description Esperanto
This package contains %{summary}.
%files Esperanto
%defattr(-,root,root,-)
%{tde_datadir}/locale/eo/
##########
%package Spanish
Summary: Spanish(es) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-es = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Spanish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Spanish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Spanish
This package contains %{summary}.
%files Spanish
%defattr(-,root,root,-)
%{tde_datadir}/locale/es/
%{tde_tdedocdir}/HTML/es/
##########
%package Estonian
Summary: Estonian(et) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-et = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Estonian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Estonian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Estonian
This package contains %{summary}.
%files Estonian
%defattr(-,root,root,-)
%{tde_datadir}/locale/et/
%{tde_tdedocdir}/HTML/et/
##########
%package Basque
Summary: Basque(eu) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-eu = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Basque < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Basque = %{?epoch:%{epoch}:}%{version}-%{release}
%description Basque
This package contains %{summary}.
%files Basque
%defattr(-,root,root,-)
%{tde_datadir}/locale/eu/
%{tde_tdedocdir}/HTML/eu/
##########
%package Farsi
Summary: Farsi(fa) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-fa = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Farsi < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Farsi = %{?epoch:%{epoch}:}%{version}-%{release}
%description Farsi
This package contains %{summary}.
%files Farsi
%defattr(-,root,root,-)
%{tde_datadir}/locale/fa/
##########
%package Finnish
Summary: Finnish(fi) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-fi = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Finnish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Finnish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Finnish
This package contains %{summary}.
%files Finnish
%defattr(-,root,root,-)
%{tde_datadir}/locale/fi/
%{tde_tdedocdir}/HTML/fi/
##########
%package Faroese
Summary: Faroese(fo) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-fo = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Faroese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Faroese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Faroese
This package contains %{summary}.
#%files Faroese
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/fo/
##########
%package French
Summary: French(fr) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-fr = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-French < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-French = %{?epoch:%{epoch}:}%{version}-%{release}
%description French
This package contains %{summary}.
%files French
%defattr(-,root,root,-)
%{tde_datadir}/locale/fr/
%{tde_tdedocdir}/HTML/fr/
##########
%package Frisian
Summary: Frisian(fy) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-fy = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Frisian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Frisian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Frisian
This package contains %{summary}.
%files Frisian
%defattr(-,root,root,-)
%{tde_datadir}/locale/fy/
##########
%package Irish
Summary: Irish(ga) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ga = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Irish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Irish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Irish
This package contains %{summary}.
%files Irish
%defattr(-,root,root,-)
%{tde_datadir}/locale/ga/
##########
%package Galician
Summary: Galician(gl) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-gl = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Galician < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Galician = %{?epoch:%{epoch}:}%{version}-%{release}
%description Galician
This package contains %{summary}.
%files Galician
%defattr(-,root,root,-)
%{tde_datadir}/locale/gl/
##########
%package Hebrew
Summary: Hebrew(he) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-he = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Hebrew < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Hebrew = %{?epoch:%{epoch}:}%{version}-%{release}
%description Hebrew
This package contains %{summary}.
%files Hebrew
%defattr(-,root,root,-)
%{tde_datadir}/locale/he/
%{tde_tdedocdir}/HTML/he/
##########
%package Hindi
Summary: Hindi(hi) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-hi = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Hindi < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Hindi = %{?epoch:%{epoch}:}%{version}-%{release}
%description Hindi
This package contains %{summary}.
%files Hindi
%defattr(-,root,root,-)
%{tde_datadir}/locale/hi/
##########
%package Croatian
Summary: Croatian(hr) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-hr = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Croatian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Croatian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Croatian
This package contains %{summary}.
%files Croatian
%defattr(-,root,root,-)
%{tde_datadir}/locale/hr/
%{tde_tdedocdir}/HTML/hr/
##########
%package Hungarian
Summary: Hungarian(hu) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-hu = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Hungarian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Hungarian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Hungarian
This package contains %{summary}.
%files Hungarian
%defattr(-,root,root,-)
%{tde_datadir}/locale/hu/
%{tde_tdedocdir}/HTML/hu/
##########
%package Indonesian
Summary: Indonesian(id) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-id = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Indonesian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Indonesian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Indonesian
This package contains %{summary}.
#%files Indonesian
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/id/
##########
%package Icelandic
Summary: Icelandic(is) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-is = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Icelandic < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Icelandic = %{?epoch:%{epoch}:}%{version}-%{release}
%description Icelandic
This package contains %{summary}.
%files Icelandic
%defattr(-,root,root,-)
%{tde_datadir}/locale/is/
##########
%package Italian
Summary: Italian(it) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-it = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Italian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Italian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Italian
This package contains %{summary}.
%files Italian
%defattr(-,root,root,-)
%{tde_datadir}/locale/it/
%{tde_tdedocdir}/HTML/it/
##########
%package Japanese
Summary: Japanese(ja) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ja = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Japanese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Japanese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Japanese
This package contains %{summary}.
%files Japanese
%defattr(-,root,root,-)
%{tde_datadir}/locale/ja/
%{tde_tdedocdir}/HTML/ja/
##########
%package Kazakh
Summary: Kazakh(kk) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-kk = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Kazakh < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Kazakh = %{?epoch:%{epoch}:}%{version}-%{release}
%description Kazakh
This package contains %{summary}.
%files Kazakh
%defattr(-,root,root,-)
%{tde_datadir}/locale/kk/
##########
%package Khmer
Summary: Khmer(km) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Khmer < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Khmer = %{?epoch:%{epoch}:}%{version}-%{release}
%description Khmer
This package contains %{summary}.
%files Khmer
%defattr(-,root,root,-)
%{tde_datadir}/locale/km/
##########
%package Korean
Summary: Korean(ko) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Korean < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Korean = %{?epoch:%{epoch}:}%{version}-%{release}
%description Korean
This package contains %{summary}.
%files Korean
%defattr(-,root,root,-)
%{tde_datadir}/locale/ko/
%{tde_tdedocdir}/HTML/ko/
##########
%package Kurdish
Summary: Kurdish(ku) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ku = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Kurdish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Kurdish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Kurdish
This package contains %{summary}.
#%files Kurdish
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/ku/
##########
%package Lao
Summary: Lao(lo) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-lo = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Lao < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Lao = %{?epoch:%{epoch}:}%{version}-%{release}
%description Lao
This package contains %{summary}.
#%files Lao
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/lo/
##########
%package Lithuanian
Summary: Lithuanian(lt) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-lt = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Lithuanian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Lithuanian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Lithuanian
This package contains %{summary}.
%files Lithuanian
%defattr(-,root,root,-)
%{tde_datadir}/locale/lt/
##########
%package Latvian
Summary: Latvian(lv) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-lv = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Latvian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Latvian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Latvian
This package contains %{summary}.
%files Latvian
%defattr(-,root,root,-)
%{tde_datadir}/locale/lv/
##########
%package Maori
Summary: Maori(mi) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-mi = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Maori < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Maori = %{?epoch:%{epoch}:}%{version}-%{release}
%description Maori
This package contains %{summary}.
#%files Maori
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/mi/
##########
%package Macedonian
Summary: Macedonian(mk) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-mk = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Macedonian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Macedonian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Macedonian
This package contains %{summary}.
%files Macedonian
%defattr(-,root,root,-)
%{tde_datadir}/locale/mk/
##########
%package Mongolian
Summary: Mongolian(mn) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-mn = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Mongolian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Mongolian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Mongolian
This package contains %{summary}.
%files Mongolian
%defattr(-,root,root,-)
%{tde_datadir}/locale/mn/
##########
%package Malay
Summary: Malay(ms) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ms = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Malay < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Malay = %{?epoch:%{epoch}:}%{version}-%{release}
%description Malay
This package contains %{summary}.
%files Malay
%defattr(-,root,root,-)
%{tde_datadir}/locale/ms/
##########
%package Maltese
Summary: Maltese(mt) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-mt = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Maltese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Maltese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Maltese
This package contains %{summary}.
#%files Maltese
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/mt/
##########
%package Low-Saxon
Summary: Low Saxon(nds) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-nds = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Low-Saxon < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Low-Saxon = %{?epoch:%{epoch}:}%{version}-%{release}
%description Low-Saxon
This package contains %{summary}.
%files Low-Saxon
%defattr(-,root,root,-)
%{tde_datadir}/locale/nds/
##########
%package Dutch
Summary: Dutch(nl) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-nl = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Dutch < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Dutch = %{?epoch:%{epoch}:}%{version}-%{release}
%description Dutch
This package contains %{summary}.
%files Dutch
%defattr(-,root,root,-)
%{tde_datadir}/locale/nl/
%{tde_tdedocdir}/HTML/nl/
##########
%package Norwegian
Summary: Norwegian(no) (Bokmaal) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-no = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Norwegian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Norwegian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Norwegian
This package contains %{summary}.
%files Norwegian
%defattr(-,root,root,-)
%{tde_datadir}/locale/nb/
##########
%package Norwegian-Nynorsk
Summary: Norwegian(nn) (Nynorsk) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-nn = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{?epoch:%{epoch}:}%{version}-%{release}
%description Norwegian-Nynorsk
This package contains %{summary}.
%files Norwegian-Nynorsk
%defattr(-,root,root,-)
%{tde_datadir}/locale/nn/
##########
%package Occitan
Summary: Occitan(oc) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-oc = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Occitan < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Occitan = %{?epoch:%{epoch}:}%{version}-%{release}
%description Occitan
This package contains %{summary}.
#%files Occitan
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/oc/
##########
%package Polish
Summary: Polish(pl) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-pl = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Polish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Polish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Polish
This package contains %{summary}.
%files Polish
%defattr(-,root,root,-)
%{tde_datadir}/locale/pl/
%{tde_tdedocdir}/HTML/pl/
##########
%package Portuguese
Summary: Portuguese(pt) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-pt = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Portuguese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Portuguese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Portuguese
This package contains %{summary}.
%files Portuguese
%defattr(-,root,root,-)
%{tde_datadir}/locale/pt/
%{tde_tdedocdir}/HTML/pt/
##########
%package Punjabi
Summary: Punjabi(pa) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-pa = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Punjabi < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Punjabi = %{?epoch:%{epoch}:}%{version}-%{release}
%description Punjabi
This package contains %{summary}.
%files Punjabi
%defattr(-,root,root,-)
%{tde_datadir}/locale/pa/
##########
%package Brazil
Summary: Brazil(pt_BR) Portuguese language support for TDE
Group: User Interface/Desktops
Provides: %{name}-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Brazil < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Brazil = %{?epoch:%{epoch}:}%{version}-%{release}
%description Brazil
This package contains %{summary}.
%files Brazil
%defattr(-,root,root,-)
%{tde_datadir}/locale/pt_BR/
%{tde_tdedocdir}/HTML/pt_BR/
##########
%package Romanian
Summary: Romanian(ro) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ro = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Romanian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Romanian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Romanian
This package contains %{summary}.
%files Romanian
%defattr(-,root,root,-)
%{tde_datadir}/locale/ro/
%{tde_tdedocdir}/HTML/ro/
##########
%package Russian
Summary: Russian(ru) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ru = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Russian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Russian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Russian
This package contains %{summary}.
%files Russian
%defattr(-,root,root,-)
%{tde_datadir}/locale/ru/
%{tde_tdedocdir}/HTML/ru/
##########
%package Kinyarwanda
Summary: Kinyarwanda(rw) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-rw = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Kinyarwanda < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Kinyarwanda = %{?epoch:%{epoch}:}%{version}-%{release}
%description Kinyarwanda
This package contains %{summary}.
%files Kinyarwanda
%defattr(-,root,root,-)
%{tde_datadir}/locale/rw/
##########
%package Northern-Sami
Summary: Northern-Sami(se) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-se = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Northern-Sami < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Northern-Sami = %{?epoch:%{epoch}:}%{version}-%{release}
%description Northern-Sami
This package contains %{summary}.
%files Northern-Sami
%defattr(-,root,root,-)
%{tde_datadir}/locale/se/
##########
%package Slovak
Summary: Slovak(sk) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-sk = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Slovak < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Slovak = %{?epoch:%{epoch}:}%{version}-%{release}
%description Slovak
This package contains %{summary}.
%files Slovak
%defattr(-,root,root,-)
%{tde_datadir}/locale/sk/
%{tde_tdedocdir}/HTML/sk/
##########
%package Slovenian
Summary: Slovenian(sl) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-sl = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Slovenian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Slovenian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Slovenian
This package contains %{summary}.
%files Slovenian
%defattr(-,root,root,-)
%{tde_datadir}/locale/sl/
%{tde_tdedocdir}/HTML/sl/
##########
%package Serbian
Summary: Serbian(sr) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-sr = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Serbian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Serbian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Serbian
This package contains %{summary}.
%files Serbian
%defattr(-,root,root,-)
%{tde_datadir}/locale/sr/
%{tde_tdedocdir}/HTML/sr/
##########
%package Serbian-Latin
Summary: Serbian-Latin(sr@Latn) language support for TDE
Group: User Interface/Desktops
Obsoletes: trinity-kde-i18n-Serbian-Latin < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Serbian-Latin = %{?epoch:%{epoch}:}%{version}-%{release}
%description Serbian-Latin
This package contains %{summary}.
%files Serbian-Latin
%defattr(-,root,root,-)
%{tde_datadir}/locale/sr@Latn/
##########
%package South-Sudan
Summary: South-Sudan(ss) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ss = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-South-Sudan < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-South-Sudan = %{?epoch:%{epoch}:}%{version}-%{release}
%description South-Sudan
This package contains %{summary}.
%files South-Sudan
%defattr(-,root,root,-)
%{tde_datadir}/locale/ss/
##########
%package Swedish
Summary: Swedish(sv) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-sv = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Swedish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Swedish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Swedish
This package contains %{summary}.
%files Swedish
%defattr(-,root,root,-)
%{tde_datadir}/locale/sv/
%{tde_tdedocdir}/HTML/sv/
##########
%package Tamil
Summary: Tamil(ta) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ta = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Tamil < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Tamil = %{?epoch:%{epoch}:}%{version}-%{release}
%description Tamil
This package contains %{summary}.
%files Tamil
%defattr(-,root,root,-)
%{tde_datadir}/locale/ta/
##########
%package Telugu
Summary: Telugu(te) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-te = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Telugu < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Telugu = %{?epoch:%{epoch}:}%{version}-%{release}
%description Telugu
This package contains %{summary}.
%files Telugu
%defattr(-,root,root,-)
%{tde_datadir}/locale/te/
##########
%package Tajik
Summary: Tajik(tg) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-tg = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Tajik < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Tajik = %{?epoch:%{epoch}:}%{version}-%{release}
%description Tajik
This package contains %{summary}.
%files Tajik
%defattr(-,root,root,-)
%{tde_datadir}/locale/tg/
##########
%package Thai
Summary: Thai(th) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-th = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Thai < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Thai = %{?epoch:%{epoch}:}%{version}-%{release}
%description Thai
This package contains %{summary}.
%files Thai
%defattr(-,root,root,-)
%{tde_datadir}/locale/th/
##########
%package Turkish
Summary: Turkish(tr) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-tr = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Turkish < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Turkish = %{?epoch:%{epoch}:}%{version}-%{release}
%description Turkish
This package contains %{summary}.
%files Turkish
%defattr(-,root,root,-)
%{tde_datadir}/locale/tr/
%{tde_tdedocdir}/HTML/tr/
##########
%package Ukrainian
Summary: Ukrainian(uk) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-uk = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Ukrainian < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Ukrainian = %{?epoch:%{epoch}:}%{version}-%{release}
%description Ukrainian
This package contains %{summary}.
%files Ukrainian
%defattr(-,root,root,-)
%{tde_tdedocdir}/HTML/uk/
%{tde_datadir}/locale/uk/
##########
%package Uzbek
Summary: Uzbek(uz) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-uz = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Uzbek < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Uzbek = %{?epoch:%{epoch}:}%{version}-%{release}
%description Uzbek
This package contains %{summary}.
%files Uzbek
%defattr(-,root,root,-)
%{tde_datadir}/locale/uz/
##########
%package Uzbek-Cyrillic
Summary: Uzbek(uz@cyrillic) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-uz@cyrillic = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{?epoch:%{epoch}:}%{version}-%{release}
%description Uzbek-Cyrillic
This package contains %{summary}.
%files Uzbek-Cyrillic
%defattr(-,root,root,-)
%{tde_datadir}/locale/uz@cyrillic/
##########
%package Venda
Summary: Venda(ven) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-ven = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Venda < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Venda = %{?epoch:%{epoch}:}%{version}-%{release}
%description Venda
This package contains %{summary}.
#%files Venda
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/ven/
##########
%package Vietnamese
Summary: Vietnamese(vi) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-vi = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Vietnamese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Vietnamese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Vietnamese
This package contains %{summary}.
%files Vietnamese
%defattr(-,root,root,-)
%{tde_datadir}/locale/vi/
##########
%package Walloon
Summary: Walloon(wa) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-wa = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Walloon < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Walloon = %{?epoch:%{epoch}:}%{version}-%{release}
%description Walloon
This package contains %{summary}.
%files Walloon
%defattr(-,root,root,-)
%{tde_datadir}/locale/wa/
##########
%package Xhosa
Summary: Xhosa(xh) (a Bantu language) support for TDE
Group: User Interface/Desktops
Provides: %{name}-xh = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Xhosa < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Xhosa = %{?epoch:%{epoch}:}%{version}-%{release}
%description Xhosa
This package contains %{summary}.
#%files Xhosa
#%defattr(-,root,root,-)
#%{tde_datadir}/locale/xh/
##########
%package Chinese
Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-zh_CN = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Chinese < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Chinese = %{?epoch:%{epoch}:}%{version}-%{release}
%description Chinese
This package contains %{summary}.
%files Chinese
%defattr(-,root,root,-)
%{tde_datadir}/locale/zh_CN/
%{tde_tdedocdir}/HTML/zh_CN/
##########
%package Chinese-Big5
Summary: Chinese(zh_TW) (Big5) language support for TDE
Group: User Interface/Desktops
Provides: %{name}-tz_TW = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-kde-i18n-Chinese-Big5 = %{?epoch:%{epoch}:}%{version}-%{release}
%description Chinese-Big5
This package contains %{summary}.
%files Chinese-Big5
%defattr(-,root,root,-)
%{tde_datadir}/locale/zh_TW/
%{tde_tdedocdir}/HTML/zh_TW/
##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
(
for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do
if [ -d "${f}" ]; then
pushd ${f}
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
fi
%cmake \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_VERBOSE_MAKEFILE=ON \
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
\
-DBUILD_ALL=ON \
-DBUILD_DOC=ON \
-DBUILD_DATA=ON \
-DBUILD_MESSAGES=ON \
..
# Run the build process in background
( %__make -j4 || %__make || echo TDE_Error ) &
# Do not build more than 4 languages at the same time
while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done
popd
fi
done
done
) 2>&1 | tee /tmp/rpmbuild.$$
if grep -qw TDE_Error /tmp/rpmbuild.$$; then
echo "Error while building. See '/tmp/rpmbuild.$$'"
exit 1
fi
wait
rm -f /tmp/rpmbuild.$$
%install
%__rm -rf %{?buildroot}
export PATH="%{tde_bindir}:${PATH}"
for l in %{TDE_LANGS}; do
for f in tde-i18n-${l}/; do
%__make install DESTDIR="%{?buildroot}" -C "${f}/build"
done
done
# remove zero-length file
find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
# remove obsolete KDE 3 application data translations
%__rm -rf "%{buildroot}%{tde_datadir}/apps"
%clean
%__rm -rf %{buildroot}
%changelog