File kde4-l10n.spec of Package kde4-l10n
#
# spec file for package kde4-l10n
#
# Copyright (c) 2011 SUSE LINUX Products 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/
#
# icecream 0
Name: kde4-l10n
Version: 4.7.2
Release: 1
License: GPLv2+
Summary: KDE translations base package
Url: http://l10n.kde.org/
Group: System/Localization
Source0: kde-l10n-ar-%version.tar.bz2
Source1: kde-l10n-bg-%version.tar.bz2
Source2: kde-l10n-bs-%version.tar.bz2
Source3: kde-l10n-ca-%version.tar.bz2
Source4: kde-l10n-ca@valencia-%version.tar.bz2
Source5: kde-l10n-cs-%version.tar.bz2
Source6: kde-l10n-da-%version.tar.bz2
Source7: kde-l10n-de-%version.tar.bz2
Source8: kde-l10n-el-%version.tar.bz2
Source9: kde-l10n-en_GB-%version.tar.bz2
Source10: kde-l10n-es-%version.tar.bz2
Source11: kde-l10n-et-%version.tar.bz2
Source12: kde-l10n-eu-%version.tar.bz2
Source13: kde-l10n-fi-%version.tar.bz2
Source14: kde-l10n-fr-%version.tar.bz2
Source15: kde-l10n-ga-%version.tar.bz2
Source16: kde-l10n-gl-%version.tar.bz2
Source17: kde-l10n-he-%version.tar.bz2
Source18: kde-l10n-hr-%version.tar.bz2
Source19: kde-l10n-hu-%version.tar.bz2
Source20: kde-l10n-ia-%version.tar.bz2
Source21: kde-l10n-id-%version.tar.bz2
Source22: kde-l10n-is-%version.tar.bz2
Source23: kde-l10n-it-%version.tar.bz2
Source24: kde-l10n-ja-%version.tar.bz2
Source25: kde-l10n-kk-%version.tar.bz2
Source26: kde-l10n-km-%version.tar.bz2
Source27: kde-l10n-kn-%version.tar.bz2
Source28: kde-l10n-ko-%version.tar.bz2
Source29: kde-l10n-lt-%version.tar.bz2
Source30: kde-l10n-lv-%version.tar.bz2
Source31: kde-l10n-nb-%version.tar.bz2
Source32: kde-l10n-nds-%version.tar.bz2
Source33: kde-l10n-nl-%version.tar.bz2
Source34: kde-l10n-nn-%version.tar.bz2
Source35: kde-l10n-pa-%version.tar.bz2
Source36: kde-l10n-pl-%version.tar.bz2
Source37: kde-l10n-pt-%version.tar.bz2
Source38: kde-l10n-pt_BR-%version.tar.bz2
Source39: kde-l10n-ro-%version.tar.bz2
Source40: kde-l10n-ru-%version.tar.bz2
Source41: kde-l10n-sk-%version.tar.bz2
Source42: kde-l10n-sl-%version.tar.bz2
Source43: kde-l10n-sr-%version.tar.bz2
Source44: kde-l10n-sv-%version.tar.bz2
Source45: kde-l10n-th-%version.tar.bz2
Source46: kde-l10n-tr-%version.tar.bz2
Source47: kde-l10n-ug-%version.tar.bz2
Source48: kde-l10n-uk-%version.tar.bz2
Source49: kde-l10n-wa-%version.tar.bz2
Source50: kde-l10n-zh_CN-%version.tar.bz2
Source51: kde-l10n-zh_TW-%version.tar.bz2
#@SOURCES@
Source1000: COPYING
Source1001: texts
Source1002: update_spec.pl
Source1003: pre_checkin.sh
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: libkde4-devel
BuildRequires: recode
BuildRequires: update-desktop-files
%define kdepim_version %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%define build_languages ar bg bs ca ca@valencia cs da de el en_GB es et eu fi fr ga gl he hr hu ia id is it ja kk km kn ko lt lv nb nds nl nn pa pl pt pt_BR ro ru sk sl sr sv th tr ug uk wa zh_CN zh_TW
%define split_languages da de en_GB es et fr it nl pl pt_BR ru sv uk
%description
This package provides translations for KDE applications
%package ar
License: GPL v2 or later
Summary: Arabic (ar) translations for KDE
Group: System/Localization
Provides: kde-l10n-ar locale(kdelibs4:ar)
Supplements: packageand(kdelibs4:kde3-i18n-ar)
%description ar
All the requirements for a KDE desktop in Arabic. This package contains
application translations, help files, and screenshots.
%package bg
License: GPL v2 or later
Summary: Bulgarian (bg) translations for KDE
Group: System/Localization
Provides: kde-l10n-bg locale(kdelibs4:bg)
Supplements: packageand(kdelibs4:kde3-i18n-bg)
%description bg
All the requirements for a KDE desktop in Bulgarian. This package contains
application translations, help files, and screenshots.
%package bs
License: GPL v2 or later
Summary: Bosnian (bs) translations for KDE
Group: System/Localization
Provides: kde-l10n-bs locale(kdelibs4:bs)
Supplements: packageand(kdelibs4:kde3-i18n-bs)
%description bs
All the requirements for a KDE desktop in Bosnian. This package contains
application translations, help files, and screenshots.
%package ca
License: GPL v2 or later
Summary: Catalan (ca) translations for KDE
Group: System/Localization
Provides: kde-l10n-ca locale(kdelibs4:ca)
Supplements: packageand(kdelibs4:kde3-i18n-ca)
%description ca
All the requirements for a KDE desktop in Catalan. This package contains
application translations, help files, and screenshots.
%package ca@valencia
License: GPL v2 or later
Summary: Valencian (ca@valencia) translations for KDE
Group: System/Localization
Provides: kde-l10n-ca@valencia locale(kdelibs4:ca@valencia)
Supplements: packageand(kdelibs4:kde3-i18n-ca@valencia)
%description ca@valencia
All the requirements for a KDE desktop in Valencian. This package contains
application translations, help files, and screenshots.
%package cs
License: GPL v2 or later
Summary: Czech (cs) translations for KDE
Group: System/Localization
Provides: kde-l10n-cs locale(kdelibs4:cs)
Supplements: packageand(kdelibs4:kde3-i18n-cs)
%description cs
All the requirements for a KDE desktop in Czech. This package contains
application translations, help files, and screenshots.
%package da
License: GPL v2 or later
Summary: Danish (da) translations for KDE
Group: System/Localization
Provides: kde-l10n-da locale(kdelibs4:da)
Supplements: packageand(kdelibs4:kde3-i18n-da)
%description da
All the requirements for a KDE desktop in Danish. This package contains
application translations.
%package da-doc
Summary: Danish (da) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:da)
Supplements: packageand(kdelibs4:kde3-i18n-da)
%description da-doc
This package contains Danish application manual translations for KDE.
%package da-data
Summary: Danish (da) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:da)
Supplements: packageand(kdelibs4:kde3-i18n-da)
%description da-data
This package contains Danish localized application data for KDE.
%package de
License: GPL v2 or later
Summary: German (de) translations for KDE
Group: System/Localization
Provides: kde-l10n-de locale(kdelibs4:de)
Supplements: packageand(kdelibs4:kde3-i18n-de)
%description de
All the requirements for a KDE desktop in German. This package contains
application translations.
%package de-doc
Summary: German (de) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:de)
Supplements: packageand(kdelibs4:kde3-i18n-de)
%description de-doc
This package contains German application manual translations for KDE.
%package de-data
Summary: German (de) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:de)
Supplements: packageand(kdelibs4:kde3-i18n-de)
%description de-data
This package contains German localized application data for KDE.
%package el
License: GPL v2 or later
Summary: Greek (el) translations for KDE
Group: System/Localization
Provides: kde-l10n-el locale(kdelibs4:el)
Supplements: packageand(kdelibs4:kde3-i18n-el)
%description el
All the requirements for a KDE desktop in Greek. This package contains
application translations, help files, and screenshots.
%package en_GB
License: GPL v2 or later
Summary: British English (en_GB) translations for KDE
Group: System/Localization
Provides: kde-l10n-en_GB locale(kdelibs4:en_GB)
Supplements: packageand(kdelibs4:kde3-i18n-en_GB)
%description en_GB
All the requirements for a KDE desktop in British English. This package
contains application translations.
%package en_GB-doc
Summary: British English (en_GB) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:en_GB)
Supplements: packageand(kdelibs4:kde3-i18n-en_GB)
%description en_GB-doc
This package contains British English application manual translations for KDE.
%package en_GB-data
Summary: British English (en_GB) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:en_GB)
Supplements: packageand(kdelibs4:kde3-i18n-en_GB)
%description en_GB-data
This package contains British English localized application data for KDE.
%package es
License: GPL v2 or later
Summary: Spanish (es) translations for KDE
Group: System/Localization
Provides: kde-l10n-es locale(kdelibs4:es)
Supplements: packageand(kdelibs4:kde3-i18n-es)
%description es
All the requirements for a KDE desktop in Spanish. This package contains
application translations.
%package es-doc
Summary: Spanish (es) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:es)
Supplements: packageand(kdelibs4:kde3-i18n-es)
%description es-doc
This package contains Spanish application manual translations for KDE.
%package es-data
Summary: Spanish (es) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:es)
Supplements: packageand(kdelibs4:kde3-i18n-es)
%description es-data
This package contains Spanish localized application data for KDE.
%package et
License: GPL v2 or later
Summary: Estonian (et) translations for KDE
Group: System/Localization
Provides: kde-l10n-et locale(kdelibs4:et)
Supplements: packageand(kdelibs4:kde3-i18n-et)
%description et
All the requirements for a KDE desktop in Estonian. This package contains
application translations.
%package et-doc
Summary: Estonian (et) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:et)
Supplements: packageand(kdelibs4:kde3-i18n-et)
%description et-doc
This package contains Estonian application manual translations for KDE.
%package et-data
Summary: Estonian (et) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:et)
Supplements: packageand(kdelibs4:kde3-i18n-et)
%description et-data
This package contains Estonian localized application data for KDE.
%package eu
License: GPL v2 or later
Summary: Basque (eu) translations for KDE
Group: System/Localization
Provides: kde-l10n-eu locale(kdelibs4:eu)
Supplements: packageand(kdelibs4:kde3-i18n-eu)
%description eu
All the requirements for a KDE desktop in Basque. This package contains
application translations, help files, and screenshots.
%package fi
License: GPL v2 or later
Summary: Finish (fi) translations for KDE
Group: System/Localization
Provides: kde-l10n-fi locale(kdelibs4:fi)
Supplements: packageand(kdelibs4:kde3-i18n-fi)
%description fi
All the requirements for a KDE desktop in Finish. This package contains
application translations, help files, and screenshots.
%package fr
License: GPL v2 or later
Summary: French (fr) translations for KDE
Group: System/Localization
Provides: kde-l10n-fr locale(kdelibs4:fr)
Supplements: packageand(kdelibs4:kde3-i18n-fr)
%description fr
All the requirements for a KDE desktop in French. This package contains
application translations.
%package fr-doc
Summary: French (fr) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:fr)
Supplements: packageand(kdelibs4:kde3-i18n-fr)
%description fr-doc
This package contains French application manual translations for KDE.
%package fr-data
Summary: French (fr) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:fr)
Supplements: packageand(kdelibs4:kde3-i18n-fr)
%description fr-data
This package contains French localized application data for KDE.
%package ga
License: GPL v2 or later
Summary: Irish Gaelic (ga) translations for KDE
Group: System/Localization
Provides: kde-l10n-ga locale(kdelibs4:ga)
Supplements: packageand(kdelibs4:kde3-i18n-ga)
%description ga
All the requirements for a KDE desktop in Irish Gaelic. This package
contains application translations, help files, and screenshots.
%package gl
License: GPL v2 or later
Summary: Galician (gl) translations for KDE
Group: System/Localization
Provides: kde-l10n-gl locale(kdelibs4:gl)
Supplements: packageand(kdelibs4:kde3-i18n-gl)
%description gl
All the requirements for a KDE desktop in Galician. This package contains
application translations, help files, and screenshots.
%package he
License: GPL v2 or later
Summary: Hebrew (he) translations for KDE
Group: System/Localization
Provides: kde-l10n-he locale(kdelibs4:he)
Supplements: packageand(kdelibs4:kde3-i18n-he)
%description he
All the requirements for a KDE desktop in Hebrew. This package
contains application translations, help files, and screenshots.
%package hr
License: GPL v2 or later
Summary: Croatian (hr) translations for KDE
Group: System/Localization
Provides: kde-l10n-hr locale(kdelibs4:hr)
Supplements: packageand(kdelibs4:kde3-i18n-hr)
%description hr
All the requirements for a KDE desktop in Croatian. This package contains
application translations, help files, and screenshots.
%package hu
License: GPL v2 or later
Summary: Hungarian (hu) translations for KDE
Group: System/Localization
Provides: kde-l10n-hu locale(kdelibs4:hu)
Supplements: packageand(kdelibs4:kde3-i18n-hu)
%description hu
All the requirements for a KDE desktop in Hungarian. This package contains
application translations, help files, and screenshots.
%package ia
License: GPL v2 or later
Summary: Interlingua (ia) translations for KDE
Group: System/Localization
Provides: kde-l10n-ia locale(kdelibs4:ia)
Supplements: packageand(kdelibs4:kde3-i18n-ia)
%description ia
All the requirements for a KDE desktop in Interlingua (International
Auxiliary Language Association). This package contains application
translations, help files, and screenshots.
%package id
License: GPL v2 or later
Summary: Indonesian (id) translations for KDE
Group: System/Localization
Provides: kde-l10n-id locale(kdelibs4:id)
Supplements: packageand(kdelibs4:kde3-i18n-id)
%description id
All the requirements for a KDE desktop in Indonesian. This package contains
application translations, help files, and screenshots.
%package is
License: GPL v2 or later
Summary: Icelandic (is) translations for KDE
Group: System/Localization
Provides: kde-l10n-is locale(kdelibs4:is)
Supplements: packageand(kdelibs4:kde3-i18n-is)
%description is
All the requirements for a KDE desktop in Icelandic. This package contains
application translations, help files, and screenshots.
%package it
License: GPL v2 or later
Summary: Italian (it) translations for KDE
Group: System/Localization
Provides: kde-l10n-it locale(kdelibs4:it)
Supplements: packageand(kdelibs4:kde3-i18n-it)
%description it
All the requirements for a KDE desktop in Italian. This package contains
application translations.
%package it-doc
Summary: Italian (it) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:it)
Supplements: packageand(kdelibs4:kde3-i18n-it)
%description it-doc
This package contains Italian application manual translations for KDE.
%package it-data
Summary: Italian (it) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:it)
Supplements: packageand(kdelibs4:kde3-i18n-it)
%description it-data
This package contains Italian localized application data for KDE.
%package ja
License: GPL v2 or later
Summary: Japanese (ja) translations for KDE
Group: System/Localization
Provides: kde-l10n-ja locale(kdelibs4:ja)
Supplements: packageand(kdelibs4:kde3-i18n-ja)
%description ja
All the requirements for a KDE desktop in Japanese. This package contains
application translations, help files, and screenshots.
%package kk
License: GPL v2 or later
Summary: Khmer (km) translations for KDE
Group: System/Localization
Provides: kde-l10n-kk locale(kdelibs4:kk)
Supplements: packageand(kdelibs4:kde3-i18n-kk)
%description kk
All the requirements for a KDE desktop in Khmer. This package contains
application translations, help files, and screenshots.
%package km
License: GPL v2 or later
Summary: Khmer (km) translations for KDE
Group: System/Localization
Provides: kde-l10n-km locale(kdelibs4:km)
Supplements: packageand(kdelibs4:kde3-i18n-km)
%description km
All the requirements for a KDE desktop in Khmer. This package contains
application translations, help files, and screenshots.
%package kn
License: GPL v2 or later
Summary: Kannada (ka) translations for KDE
Group: System/Localization
Provides: kde-l10n-kn locale(kdelibs4:kn)
Supplements: packageand(kdelibs4:kde3-i18n-kn)
%description kn
All the requirements for a KDE desktop in Kannada. This package contains
application translations, help files, and screenshots.
%package ko
License: GPL v2 or later
Summary: Korean (ko) translations for KDE
Group: System/Localization
Provides: kde-l10n-ko locale(kdelibs4:ko)
Supplements: packageand(kdelibs4:kde3-i18n-ko)
%description ko
All the requirements for a KDE desktop in Korean. This package contains
application translations, help files, and screenshots.
%package lt
License: GPL v2 or later
Summary: Lithuanian (lt) translations for KDE
Group: System/Localization
Provides: kde-l10n-lt locale(kdelibs4:lt)
Supplements: packageand(kdelibs4:kde3-i18n-lt)
%description lt
All the requirements for a KDE desktop in Lithanian. This package contains
application translations, help files, and screenshots.
%package lv
License: GPL v2 or later
Summary: Latvian (lv) translations for KDE
Group: System/Localization
Provides: kde-l10n-lv locale(kdelibs4:lv)
Supplements: packageand(kdelibs4:kde3-i18n-lv)
%description lv
All the requirements for a KDE desktop in Latvian. This package contains
application translations, help files, and screenshots.
%package nb
License: GPL v2 or later
Summary: Norwegian Bokmål (nb) translations for KDE
Group: System/Localization
Provides: kde-l10n-nb locale(kdelibs4:nb)
Supplements: packageand(kdelibs4:kde3-i18n-nb)
%description nb
All the requirements for a KDE desktop in Norwegian Bokmål. This package
contains application translations, help files, and screenshots.
%package nds
License: GPL v2 or later
Summary: Low Saxon (nds) translations for KDE
Group: System/Localization
Provides: kde-l10n-nds locale(kdelibs4:nds)
Supplements: packageand(kdelibs4:kde3-i18n-nds)
%description nds
All the requirements for a KDE desktop in Low Saxon. This package contains
application translations, help files, and screenshots.
%package nl
License: GPL v2 or later
Summary: Dutch (nl) translations for KDE
Group: System/Localization
Provides: kde-l10n-nl locale(kdelibs4:nl)
Supplements: packageand(kdelibs4:kde3-i18n-nl)
%description nl
All the requirements for a KDE desktop in Dutch. This package contains
application translations.
%package nl-doc
Summary: Dutch (nl) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:nl)
Supplements: packageand(kdelibs4:kde3-i18n-nl)
%description nl-doc
This package contains Dutch application manual translations for KDE.
%package nl-data
Summary: Dutch (nl) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:nl)
Supplements: packageand(kdelibs4:kde3-i18n-nl)
%description nl-data
This package contains Dutch localized application data for KDE.
%package nn
License: GPL v2 or later
Summary: Nynorsk (nn) translations for KDE
Group: System/Localization
Provides: kde-l10n-nn locale(kdelibs4:nn)
Supplements: packageand(kdelibs4:kde3-i18n-nn)
Provides: kde4-l10n-no_NY = %{version}
Obsoletes: kde4-l10n-no_NY < %{version}
%description nn
All the requirements for a KDE desktop is Nynorsk. This package contains
application translations, help files, and screenshots.
%package pa
License: GPL v2 or later
Summary: Punjabi (pa) translations for KDE
Group: System/Localization
Provides: kde-l10n-pa locale(kdelibs4:pa)
Supplements: packageand(kdelibs4:kde3-i18n-pa)
%description pa
All the requirements for a KDE desktop in Punjabi. This package contains
application translations, help files, and screenshots.
%package pl
License: GPL v2 or later
Summary: Polish (pl) translations for KDE
Group: System/Localization
Provides: kde-l10n-pl locale(kdelibs4:pl)
Supplements: packageand(kdelibs4:kde3-i18n-pl)
%description pl
All the requirements for a KDE desktop in Polish. This package contains
application translations.
%package pl-doc
Summary: Polish (pl) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:pl)
Supplements: packageand(kdelibs4:kde3-i18n-pl)
%description pl-doc
This package contains Polish application manual translations for KDE.
%package pl-data
Summary: Polish (pl) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:pl)
Supplements: packageand(kdelibs4:kde3-i18n-pl)
%description pl-data
This package contains Polish localized application data for KDE.
%package pt
License: GPL v2 or later
Summary: Portuguese (pt) translations for KDE
Group: System/Localization
Provides: kde-l10n-pt locale(kdelibs4:pt)
Supplements: packageand(kdelibs4:kde3-i18n-pt)
%description pt
All the requirements for a KDE desktop in Portuguese. This package contains
application translations, help files, and screenshots.
%package pt_BR
License: GPL v2 or later
Summary: Brazilian (pt_BR) translations for KDE
Group: System/Localization
Provides: kde-l10n-pt_BR locale(kdelibs4:pt_BR)
Supplements: packageand(kdelibs4:kde3-i18n-pt_BR)
%description pt_BR
All the requirements for a KDE desktop in Brazilian. This package contains
application translations.
%package pt_BR-doc
Summary: Brazilian (pt_BR) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:pt_BR)
Supplements: packageand(kdelibs4:kde3-i18n-pt_BR)
%description pt_BR-doc
This package contains Brazilian application manual translations for KDE.
%package pt_BR-data
Summary: Brazilian (pt_BR) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:pt_BR)
Supplements: packageand(kdelibs4:kde3-i18n-pt_BR)
%description pt_BR-data
This package contains Brazilian localized application data for KDE.
%package ro
License: GPL v2 or later
Summary: Romanian (ro) translations for KDE
Group: System/Localization
Provides: kde-l10n-ro locale(kdelibs4:ro)
Supplements: packageand(kdelibs4:kde3-i18n-ro)
%description ro
All the requirements for a KDE desktop in Romanian. This package contains
application translations, help files, and screenshots.
%package ru
License: GPL v2 or later
Summary: Russian (ru) translations for KDE
Group: System/Localization
Provides: kde-l10n-ru locale(kdelibs4:ru)
Supplements: packageand(kdelibs4:kde3-i18n-ru)
%description ru
All the requirements for a KDE desktop in Russian. This package contains
application translations.
%package ru-doc
Summary: Russian (ru) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:ru)
Supplements: packageand(kdelibs4:kde3-i18n-ru)
%description ru-doc
This package contains Russian application manual translations for KDE.
%package ru-data
Summary: Russian (ru) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:ru)
Supplements: packageand(kdelibs4:kde3-i18n-ru)
%description ru-data
This package contains Russian localized application data for KDE.
%package sk
License: GPL v2 or later
Summary: Slovak (sk) translations for KDE
Group: System/Localization
Provides: kde-l10n-sk locale(kdelibs4:sk)
Supplements: packageand(kdelibs4:kde3-i18n-sk)
%description sk
All the requirements for a KDE desktop in Slovak. This package contains
application translations, help files, and screenshots.
%package sl
License: GPL v2 or later
Summary: Slovenian (sl) translations for KDE
Group: System/Localization
Provides: kde-l10n-sl locale(kdelibs4:sl)
Supplements: packageand(kdelibs4:kde3-i18n-sl)
%description sl
All the requirements for a KDE desktop in Slovenian. This package contains
application translations, help files, and screenshots.
%package sr
License: GPL v2 or later
Summary: Serbian (sr) translations for KDE
Group: System/Localization
Provides: kde-l10n-sr locale(kdelibs4:sr)
Supplements: packageand(kdelibs4:kde3-i18n-sr)
%description sr
All the requirements for a KDE desktop in Serbian. This package contains
application translations, help files, and screenshots.
%package sv
License: GPL v2 or later
Summary: Swedish (sv) translations for KDE
Group: System/Localization
Provides: kde-l10n-sv locale(kdelibs4:sv)
Supplements: packageand(kdelibs4:kde3-i18n-sv)
%description sv
All the requirements for a KDE desktop in Swedish. This package contains
application translations.
%package sv-doc
Summary: Swedish (sv) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:sv)
Supplements: packageand(kdelibs4:kde3-i18n-sv)
%description sv-doc
This package contains Swedish application manual translations for KDE.
%package sv-data
Summary: Swedish (sv) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:sv)
Supplements: packageand(kdelibs4:kde3-i18n-sv)
%description sv-data
This package contains Swedish localized application data for KDE.
%package th
License: GPL v2 or later
Summary: Thai (th) translations for KDE
Group: System/Localization
Provides: kde-l10n-th locale(kdelibs4:th)
Supplements: packageand(kdelibs4:kde3-i18n-th)
%description th
All the requirements for a KDE desktop in Thai. This package contains
application translations, help files, and screenshots.
%package tr
License: GPL v2 or later
Summary: Turkish (tr) translations for KDE
Group: System/Localization
Provides: kde-l10n-tr locale(kdelibs4:tr)
Supplements: packageand(kdelibs4:kde3-i18n-tr)
%description tr
All the requirements for a KDE desktop in Turkish. This package contains
application translations, help files, and screenshots.
%package ug
License: GPL v2 or later
Summary: Uighur (ug) translations for KDE
Group: System/Localization
Provides: kde-l10n-ug locale(kdelibs4:ug)
Supplements: packageand(kdelibs4:kde3-i18n-ug)
%description ug
All the requirements for a KDE desktop in Ukrainian. This package contains
application translations, help files, and screenshots.
%package uk
License: GPL v2 or later
Summary: Ukrainian (uk) translations for KDE
Group: System/Localization
Provides: kde-l10n-uk locale(kdelibs4:uk)
Supplements: packageand(kdelibs4:kde3-i18n-uk)
%description uk
All the requirements for a KDE desktop in Uighur. This package contains
application translations.
%package uk-doc
Summary: Ukrainian (uk) manuals for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:uk)
Supplements: packageand(kdelibs4:kde3-i18n-uk)
%description uk-doc
This package contains Ukrainian application manual translations for KDE.
%package uk-data
Summary: Ukrainian (uk) application data for KDE
License: GPL v2 or later
Group: System/Localization
Provides: locale(kdelibs4:uk)
Supplements: packageand(kdelibs4:kde3-i18n-uk)
%description uk-data
This package contains Ukrainian localized application data for KDE.
%package wa
License: GPL v2 or later
Summary: Walloon (wa) translations for KDE
Group: System/Localization
Provides: kde-l10n-wa locale(kdelibs4:wa)
Supplements: packageand(kdelibs4:kde3-i18n-wa)
%description wa
All the requirements for a KDE desktop in Walloon. This package contains
application translations, help files, and screenshots.
%package zh_CN
License: GPL v2 or later
Summary: Chinese simplified (zh_CN) translations for KDE
Group: System/Localization
Provides: kde-l10n-zh_CN locale(kdelibs4:zh_CN)
Supplements: packageand(kdelibs4:kde3-i18n-zh_CN)
%description zh_CN
All the requirements for a KDE desktop in simplified Chinese. This package
contains application translations, help files, and screenshots.
%package zh_TW
License: GPL v2 or later
Summary: Chinese traditional (zh_TW) translations for KDE
Group: System/Localization
Provides: kde-l10n-zh_TW locale(kdelibs4:zh_TW)
Supplements: packageand(kdelibs4:kde3-i18n-zh_TW)
%description zh_TW
All the requirements for a KDE desktop in traditional Chinese. This package
contains application translations, help files, and screenshots.
%prep
%setup -q -T -c %{name}
for i in $RPM_SOURCE_DIR/kde-l10n-*.tar.bz2; do tar xjf $i; done
#Create top CMakeLists.txt
echo "cmake_minimum_required(VERSION 2.6)" >> CMakeLists.txt
echo "project(kde-i18n)" >> CMakeLists.txt
echo "" >> CMakeLists.txt
echo "find_package(KDE4 REQUIRED)" >> CMakeLists.txt
echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt
echo "include(KDE4Defaults)" >> CMakeLists.txt
echo "include(MacroOptionalAddSubdirectory)" >> CMakeLists.txt
echo "" >> CMakeLists.txt
echo "if(NOT GETTEXT_MSGMERGE_EXECUTABLE)" >> CMakeLists.txt
echo " MESSAGE(FATAL_ERROR \"Please install the msgmerge binary\")" >> CMakeLists.txt
echo "endif(NOT GETTEXT_MSGMERGE_EXECUTABLE)" >> CMakeLists.txt
echo "if(NOT GETTEXT_MSGFMT_EXECUTABLE)" >> CMakeLists.txt
echo " MESSAGE(FATAL_ERROR \"Please install the msgfmt binary\")" >> CMakeLists.txt
echo "endif(NOT GETTEXT_MSGFMT_EXECUTABLE)" >> CMakeLists.txt
echo "" >> CMakeLists.txt
echo "set(BUILD_ALL 1)" >> CMakeLists.txt
echo "" >> CMakeLists.txt
for lang in $(ls); do
if [ -f $lang/CMakeLists.txt ]; then
echo "macro_optional_add_subdirectory($lang)" >>CMakeLists.txt
fi
done
%build
for i in $(find . -name "desktop_*.po"); do
rm -f $i
done
%cmake_kde4
%make_jobs
%install
make DESTDIR=%{buildroot} install/fast
for i in %build_languages; do
mkdir -p %{buildroot}%{_docdir}/kde4-l10n-$i
install -m 644 %{SOURCE1000} %{buildroot}%{_docdir}/kde4-l10n-$i
done
for i in %split_languages; do
mkdir -p %{buildroot}%{_docdir}/kde4-l10n-$i-doc
install -m 644 %{SOURCE1000} %{buildroot}%{_docdir}/kde4-l10n-$i-doc
mkdir -p %{buildroot}%{_docdir}/kde4-l10n-$i-data
install -m 644 %{SOURCE1000} %{buildroot}%{_docdir}/kde4-l10n-$i-data
done
# hacks
rm -f %{buildroot}%{_datadir}/locale/*/flag.png
rm -f %{buildroot}%{_datadir}/locale/*/charset
rm -f %{buildroot}%{_datadir}/locale/*/index.lokalize
#
# remove unwanted files
#
rm -f %{buildroot}/opt/kde3/share/locale/*/charset
find %{buildroot}%{_kde4_htmldir}/ -type l -name common -print0 | xargs -0 rm
#
rm -f files.* files.data.* files.doc.*
for i in %build_languages sr@latin sr@ijekavian sr@ijekavianlatin; do
turtlelang=$i
l=$i
case $i in
de)
turtlelang=de_DE
;;
mk)
turtlelang=mk_MK
;;
fr)
turtlelang=fr_FR
;;
sr@latin)
l=sr
;;
sr@ijekavian)
l=sr
;;
sr@ijekavianlatin)
l=sr
;;
esac
{
echo "%defattr(-,root,root)"
if test -d %{buildroot}%{_datadir}/locale/$i; then
echo "%dir %{_datadir}/locale/$i"
echo "%dir %{_datadir}/locale/$i/LC_MESSAGES"
echo "%lang($l) %{_datadir}/locale/$i/LC_MESSAGES/*.mo"
fi
if test -d %{buildroot}%{_datadir}/locale/$i/LC_SCRIPTS; then
echo "%lang($l) %{_datadir}/locale/$i/LC_SCRIPTS/*"
echo "%dir %{_datadir}/locale/$i/LC_SCRIPTS"
fi
if test -f %{buildroot}%{_datadir}/locale/$i/entry.desktop; then
echo "%lang($l) %{_datadir}/locale/$i/entry.desktop"
fi
if test -d %{buildroot}%{_mandir}/$i; then
echo "%lang($l) %{_mandir}/$i"
fi
for d in %{buildroot}%{_kde4_iconsdir}/*/*/*/l10n/$i %{buildroot}%{_kde4_iconsdir}/*/scalable/*/*/*/l10n/$i; do
if test -d $d; then
echo "%lang($l) ${d##%{buildroot}}"
echo "%dir ${d##%{buildroot}}/../"
fi
done
echo "%{_docdir}/kde4-l10n-$l"
} >> files.$l
{
echo "%defattr(-,root,root)"
if test -d %{buildroot}%{_kde4_appsdir}/khangman/data/$i; then
echo "%lang($l) %{_kde4_appsdir}/khangman/data/$i"
echo "%dir %{_kde4_appsdir}/khangman"
echo "%dir %{_kde4_appsdir}/khangman/data"
fi
if test -d %{buildroot}%{_kde4_appsdir}/kanagram/data/$i; then
echo "%lang($l) %{_kde4_appsdir}/kanagram/data/$i"
echo "%dir %{_kde4_appsdir}/kanagram"
echo "%dir %{_kde4_appsdir}/kanagram/data"
fi
if test -f %{buildroot}%{_kde4_appsdir}/step/objinfo/l10n/$i/Box.html; then
echo "%dir %{_kde4_appsdir}/step"
echo "%dir %{_kde4_appsdir}/step/objinfo"
echo "%dir %{_kde4_appsdir}/step/objinfo/l10n"
echo "%dir %{_kde4_appsdir}/step/objinfo/l10n/$i"
echo "%lang($l) %{_kde4_appsdir}/step/objinfo/l10n/$i/*"
fi
if test -f %{buildroot}%{_kde4_appsdir}/khangman/$i.txt; then
echo "%dir %{_kde4_appsdir}/khangman"
echo "%lang($l) %{_kde4_appsdir}/khangman/$i.txt"
fi
if test -f %{buildroot}%{_kde4_appsdir}/katepart/syntax/logohighlightstyle.$turtlelang.xml; then
echo "%lang($l) %{_kde4_appsdir}/katepart/syntax/logohighlightstyle.$turtlelang.xml"
echo "%dir %{_kde4_appsdir}/katepart/syntax"
echo "%dir %{_kde4_appsdir}/katepart"
fi
kturtle=0
if test -f %{buildroot}%{_kde4_appsdir}/kturtle/data/logokeywords.$turtlelang.xml; then
echo "%lang($l) %{_kde4_appsdir}/kturtle/data/logokeywords.$turtlelang.xml"
echo "%dir %{_kde4_appsdir}/kturtle/data"
echo "%dir %{_kde4_appsdir}/kturtle"
kturtle=1
fi
if test -d %{buildroot}%{_kde4_appsdir}/kturtle/examples/$turtlelang; then
echo "%lang($l) %{_kde4_appsdir}/kturtle/examples/$turtlelang"
echo "%dir %{_kde4_appsdir}/kturtle/examples"
if test "$kturtle" = 0; then
echo "%dir %{_kde4_appsdir}/kturtle"
fi
fi
if test -d %{buildroot}%{_kde4_appsdir}/klettres/$i; then
echo "%lang($l) %{_kde4_appsdir}/klettres/$i"
echo "%dir %{_kde4_appsdir}/klettres"
fi
if test -f %{buildroot}%{_kde4_appsdir}/ktuberling/sounds/$i.soundtheme; then
echo "%lang($l) %{_kde4_appsdir}/ktuberling/sounds/$i.soundtheme"
fi
if test -d %{buildroot}%{_kde4_appsdir}/ktuberling/sounds/$i; then
echo "%lang($l) %{_kde4_appsdir}/ktuberling/sounds/$i"
echo "%dir %{_kde4_appsdir}/ktuberling"
echo "%dir %{_kde4_appsdir}/ktuberling/sounds"
fi
if test -d %{buildroot}%{_kde4_appsdir}/ksplash/Themes/Default/*/l10n/$i; then
echo "%lang($l) %{_kde4_appsdir}/ksplash/Themes/Default/*/l10n/$i"
echo "%dir %{_kde4_appsdir}/ksplash/Themes/Default/*/l10n"
echo "%dir %{_kde4_appsdir}/ksplash/Themes/Default/*"
echo "%dir %{_kde4_appsdir}/ksplash/Themes/Default"
echo "%dir %{_kde4_appsdir}/ksplash/Themes"
echo "%dir %{_kde4_appsdir}/ksplash"
fi
if test -d %{buildroot}%{_kde4_appsdir}/kvtml/$i; then
echo "%lang($l) %{_kde4_appsdir}/kvtml/$i"
echo "%dir %{_kde4_appsdir}/kvtml"
fi
for d in %{buildroot}%{_kde4_appsdir}/desktoptheme/*/widgets/l10n/$i; do
if test -d $d; then
echo "%lang($l) %{_kde4_appsdir}/desktoptheme/*/widgets/l10n/$i"
echo "%dir %{_kde4_appsdir}/desktoptheme/*/widgets/l10n"
echo "%dir %{_kde4_appsdir}/desktoptheme/*/widgets"
echo "%dir %{_kde4_appsdir}/desktoptheme/*"
echo "%dir %{_kde4_appsdir}/desktoptheme"
fi
done
for d in %{buildroot}%{_kde4_appsdir}/desktoptheme/*/icons/l10n/$i; do
if test -d $d; then
echo "%lang($l) %{_kde4_appsdir}/desktoptheme/*/icons/l10n/$i"
echo "%dir %{_kde4_appsdir}/desktoptheme/*/icons/l10n"
echo "%dir %{_kde4_appsdir}/desktoptheme/*/icons"
echo "%dir %{_kde4_appsdir}/desktoptheme/*"
echo "%dir %{_kde4_appsdir}/desktoptheme"
fi
done
if test -d %{buildroot}%{_docdir}/kde4-l10n-$i-data; then
echo "%{_docdir}/kde4-l10n-$i-data"
fi
} >> files.data.$l
{
echo "%defattr(-,root,root)"
if test -d %{buildroot}%{_kde_html_dir}/$i; then
echo "%lang($l) %doc %{_kde_html_dir}/$i"
fi
if test -d %{buildroot}%{_docdir}/kde4-l10n-$i-doc ; then
echo "%{_docdir}/kde4-l10n-$i-doc"
fi
} >> files.doc.$l
cat files.$l files.data.$l files.doc.$l >files.all.$l
done
%fdupes %{buildroot}
for file in %{buildroot}%{_datadir}/locale/*/entry.desktop; do
grep -q "X-SuSE-translate" "$file" || %suse_update_desktop_file $file
done
%files ar -f files.all.ar
%files bg -f files.all.bg
%files bs -f files.all.bs
%files ca -f files.all.ca
%files ca@valencia -f files.all.ca@valencia
%files cs -f files.all.cs
%files da -f files.da
%files da-doc -f files.doc.da
%files da-data -f files.data.da
%files de -f files.de
%files de-doc -f files.doc.de
%files de-data -f files.data.de
%files el -f files.all.el
%files en_GB -f files.en_GB
%files en_GB-doc -f files.doc.en_GB
%files en_GB-data -f files.data.en_GB
%files es -f files.es
%files es-doc -f files.doc.es
%files es-data -f files.data.es
%files et -f files.et
%files et-doc -f files.doc.et
%files et-data -f files.data.et
%files eu -f files.all.eu
%files fi -f files.all.fi
%files fr -f files.fr
%files fr-doc -f files.doc.fr
%files fr-data -f files.data.fr
%files ga -f files.all.ga
%files gl -f files.all.gl
%files he -f files.all.he
%files hr -f files.all.hr
%files hu -f files.all.hu
%files ia -f files.all.ia
%files id -f files.all.id
%files is -f files.all.is
%files it -f files.it
%files it-doc -f files.doc.it
%files it-data -f files.data.it
%files ja -f files.all.ja
%files kk -f files.all.kk
%files km -f files.all.km
%files kn -f files.all.kn
%files ko -f files.all.ko
%files lt -f files.all.lt
%files lv -f files.all.lv
%files nb -f files.all.nb
%files nds -f files.all.nds
%files nl -f files.nl
%files nl-doc -f files.doc.nl
%files nl-data -f files.data.nl
%files nn -f files.all.nn
%files pa -f files.all.pa
%files pl -f files.pl
%files pl-doc -f files.doc.pl
%files pl-data -f files.data.pl
%files pt -f files.all.pt
%files pt_BR -f files.pt_BR
%files pt_BR-doc -f files.doc.pt_BR
%files pt_BR-data -f files.data.pt_BR
%files ro -f files.all.ro
%files ru -f files.ru
%files ru-doc -f files.doc.ru
%files ru-data -f files.data.ru
%files sk -f files.all.sk
%files sl -f files.all.sl
%files sr -f files.all.sr
%files sv -f files.sv
%files sv-doc -f files.doc.sv
%files sv-data -f files.data.sv
%files th -f files.all.th
%files tr -f files.all.tr
%files ug -f files.all.ug
%files uk -f files.uk
%files uk-doc -f files.doc.uk
%files uk-data -f files.data.uk
%files wa -f files.all.wa
%files zh_CN -f files.all.zh_CN
%files zh_TW -f files.all.zh_TW
#@FILES@
%clean
rm -rf %{buildroot}
%changelog