From c883400be2d73f8a8fa8f0ca3ec355dbf7b5b088 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:06:35 +0100 Subject: [PATCH] langspacks build integrated [release 2.9.4-3mamba;Thu May 28 2015] --- calligra-autoupdate | 15 + calligra.spec | 1026 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 1036 insertions(+), 5 deletions(-) create mode 100644 calligra-autoupdate diff --git a/calligra-autoupdate b/calligra-autoupdate new file mode 100644 index 0000000..faf9652 --- /dev/null +++ b/calligra-autoupdate @@ -0,0 +1,15 @@ +#!/bin/sh + +CALLIGRA_VERSION=$1 + +if [ -z "$CALLIGRA_VERSION" ]; then + echo "Usage: $0 " + exit 2 +fi + +rm -rf calligra-$CALLIGRA_VERSION +mkdir calligra-$CALLIGRA_VERSION +cd calligra-$CALLIGRA_VERSION +wget -r -N -l 1 -np -nd -A "*.tar.xz" http://download.kde.org/stable/calligra-$CALLIGRA_VERSION/calligra-l10n/ +tar -cJ calligra-l10n-*-$CALLIGRA_VERSION.tar.xz > ../calligra-l10n-$CALLIGRA_VERSION-langpacks.tar.xz +rm -rf calligra-$CALLIGRA_VERSION diff --git a/calligra.spec b/calligra.spec index c505f71..f01067f 100644 --- a/calligra.spec +++ b/calligra.spec @@ -1,6 +1,6 @@ Name: calligra Version: 2.9.4 -Release: 2mamba +Release: 3mamba Epoch: 1 Summary: An integrated office suite built on the KDE platform (formerly known as koffice) Group: Graphical Desktop/Applications/Office @@ -9,7 +9,8 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.calligra.org Source: http://download.kde.org/stable/calligra-%{version}/calligra-%{version}.tar.xz -#Source1: calligramobile.png +Source1: calligra-autoupdate +Source2: calligra-l10n-%{version}-langpacks.tar.xz License: GPL, LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -28,6 +29,9 @@ BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: libXi-devel BuildRequires: libXpm-devel +BuildRequires: libboost-devel +BuildRequires: libcurl-devel +BuildRequires: libetonyek-devel BuildRequires: libexiv2-devel BuildRequires: libfftw-devel BuildRequires: libfontconfig-devel @@ -36,6 +40,7 @@ BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglew-devel BuildRequires: libglib-devel +BuildRequires: libgomp-devel BuildRequires: libgsl-devel BuildRequires: libicu-devel BuildRequires: libilmbase-devel @@ -43,21 +48,29 @@ BuildRequires: libjpeg-devel BuildRequires: libkdcraw-devel BuildRequires: liblcms2-devel BuildRequires: libmarble-devel -BuildRequires: libmysql5-devel +BuildRequires: libmysqlclient-devel +BuildRequires: libodfgen-devel BuildRequires: libokular-devel +BuildRequires: libopencolorio-devel BuildRequires: libopenexr-devel +BuildRequires: libopenjpeg1-devel BuildRequires: libphonon-devel BuildRequires: libpng-devel BuildRequires: libpoppler-devel BuildRequires: libpoppler-qt4-devel -BuildRequires: libpostgresql-devel BuildRequires: libpqxx-devel BuildRequires: libqca-devel BuildRequires: libqt4-devel +BuildRequires: librevenge-devel BuildRequires: libsoprano-devel +BuildRequires: libspnav-devel BuildRequires: libsqlite-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel +BuildRequires: libvisio-devel +BuildRequires: libwpd-devel +BuildRequires: libwpg-devel +BuildRequires: libwps-devel BuildRequires: libxbase-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END @@ -98,6 +111,7 @@ Requires: libcalligra = %{?epoch:%epoch:}%{version}-%{release} Requires: kde-runtime Provides: koffice-core Obsoletes: koffice-core +Requires: calligral10n %description core Calligra is an integrated office suite built on the KDE platform. @@ -397,17 +411,45 @@ A Calligra tool to assist creating an eBook from concept to publication. %debug_package %prep -%setup -q -D -T +%setup -q +#-D -T +#:<< _EOF +mkdir langpacks +cd langpacks +tar xf %{SOURCE2} +for d in *.tar.xz; do + tar xf $d +done +rm -f *.tar.xz +cd .. %build #:<< _EOF # -DCREATERESOURCES_INCLUDE_DIR:PATH=%{_datadir}/create %cmake_kde4 -d build +%make +cd .. + +cd langpacks +for d in *; do + cd $d + echo "compiling $d ..." + %cmake_kde4 + %make + cd .. +done +cd .. %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall -C build +cd langpacks +for d in `find . -mindepth 1 -maxdepth 1 -type d`; do + %makeinstall -C $d +done +cd .. + #install -D -m0644 %{SOURCE1} %{buildroot}%{_kde4_icondir}/oxygen/64x64/apps/calligramobile.png @@ -1091,7 +1133,981 @@ A Calligra tool to assist creating an eBook from concept to publication. #%{_kde4_libdir}/kde4/wpsimport.so #%{_kde4_libdir}/kde4/formulashape.so +############################################# +# +# l10n packages section +# +############################################# + +#%package af +#Summary: Afrikaans language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-af +# +#%description af +#Afrikaans language support for Calligra. + +#%package ar +#Summary: Arabic language support for Calligra +#Group: System/Internationalization +#Obsoletes: koffice-i18n-ar +# +#%description ar +#Arabic language support for Calligra. + +#%package bg +#Summary: Bulgarian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-bg +# +#%description bg +#Bulgarian language support for Calligra. + +#%package br +#Summary: Breton language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-br +# +#%description br +#Breton language support for Calligra. + +%package l10n-bs +Summary: Bosnian language support for Calligra +Group: System/Internationalization +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Provides: calligral10n +Obsoletes: koffice-i18n-bs + +%description l10n-bs +Bosnian language support for Calligra. + +%package l10n-ca +Summary: Catalan language support for Calligra +Group: System/Internationalization +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Provides: calligral10n +Obsoletes: koffice-i18n-ca + +%description l10n-ca +Catalan language support for Calligra. + +%package l10n-ca@valencia +Summary: Catalan (Valencian) language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} + +%description l10n-ca@valencia +Catalan (Valencian) language support for Calligra. + +%package l10n-cs +Summary: Czech language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-cs + +%description l10n-cs +Czech language support for Calligra. + +#%package cy +#Summary: Welsh language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-cy +# +#%description cy +#Welsh language support for Calligra. + +%package l10n-da +Summary: Danish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-da + +%description l10n-da +Danish language support for Calligra. + +%package l10n-de +Summary: German language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-de + +%description l10n-de +German language support for Calligra. + +%package l10n-el +Summary: Greek language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-el + +%description l10n-el +Greek language support for Calligra. + +%package l10n-en_GB +Summary: English GB language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-en_GB + +%description l10n-en_GB +English GB language support for Calligra. + +#%package eo +#Summary: Esperanto language supporzh_CNt for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-eo +# +#%description eo +#Esperanto language support for Calligra. + +%package l10n-es +Summary: Spanish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-es + +%description l10n-es +Spanish language support for Calligra. + +%package l10n-et +Summary: Estonian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-et + +%description l10n-et +Estonian language support for Calligra. + +#%package eu +#Summary: Basque language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-eu +# +#%description eu +#Basque language support for Calligra. + +#%package fa +#Summary: Farsi language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-fa +# +#%description fa +#Farsi language support for Calligra. + +%package l10n-fi +Summary: Finnish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-fi + +%description l10n-fi +Finnish language support for Calligra. + +%package l10n-fr +Summary: French language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-fr + +%description l10n-fr +French language support for Calligra. + +%package l10n-fy +Summary: Abkhasysk language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-fy + +%description l10n-fy +Abkhasysk language support for Calligra. + +#%package ga +#Summary: Irish language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ga +# +#%description ga +#Irish language support for Calligra. + +%package l10n-gl +Summary: Galician language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-gl + +%description l10n-gl +Galician language support for Calligra. + +#%package he +#Summary: Hebrew language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-he +# +#%description he +#Hebrew language support for Calligra. + +%package l10n-hi +Summary: Hindi language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-hi + +%description l10n-hi +Hindi language support for Calligra. + +%package l10n-hne +Summary: Chhattisgarhi language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-hne + +%description l10n-hne +Chhattisgarhi language support for Calligra. + +#%package hr +#Summary: Croatiaa language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-hr +# +#%description hr +#Croatian language support for Calligra. + +#%package hsb +#Summary: Upper Sorbian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-hsb +# +#%description hsb +#Upper Sorbian language support for Calligra. + +%package l10n-hu +Summary: Hungarian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-hu + +%description l10n-hu +Hungarian language support for Calligra. + +#%package is +#Summary: Icelandic language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-is +# +#%description is +#Icelandic language support for Calligra. + +%package l10n-it +Summary: Italian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-it + +%description l10n-it +Italian language support for Calligra. + +%package l10n-ja +Summary: Japanese language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-ja + +%description l10n-ja +Japanese language support for Calligra. + +%package l10n-kk +Summary: Kazakh language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-kk + +%description l10n-kk +Kazakh language support for Calligra. + +#%package km +#Summary: Khmer language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-km +# +#%description km +#Khmer language support for Calligra. + +#%package lo +#Summary: Lao language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-lo +# +#%description lo +#Lao language support for Calligra. + +#%package lt +#Summary: Lithuanian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-lt +# +#%description lt +#Lithuanian language support for Calligra. + +#%package lv +#Summary: Latvian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-lv +# +#%description lv +#Latvian language support for Calligra. + +#%package mk +#Summary: Macedonian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-mk +# +#%description mk +#Macedonian language support for Calligra. + +#%package ms +#Summary: Malay language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ms +# +#%description ms +#Malay language support for Calligra. + +#%package mt +#Summary: Maltese language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-mt +# +#%description mt +#Maltese language support for Calligra. + +%package l10n-nb +Summary: Norwegian bokmaal language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-nb + +%description l10n-nb +Bokmaal norwegian language support for Calligra. + +%package l10n-nds +Summary: Low Saxon language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-nds + +%description l10n-nds +Low Saxon language support for Calligra. + +#%package ne +#Summary: Nepali language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ne +# +#%description ne +#Nepali language support for Calligra. + +%package l10n-nl +Summary: Dutch language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-nl + +%description l10n-nl +Dutch language support for Calligra. + +#%package nn +#Summary: Norwegian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-nn +# +#%description nn +#Norwegian language support for Calligra. + +#%package nso +#Summary: Northern sotho language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-nso +# +#%description nso +#Northern sotho language support for Calligra. + +%package l10n-pl +Summary: Polish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-pl + +%description l10n-pl +Polish language support for Calligra. + +%package l10n-pt +Summary: Portugueselanguage support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-pt + +%description l10n-pt +Portuguese language support for Calligra. + +%package l10n-pt_BR +Summary: Brazil portugueselanguage support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-pt_BR + +%description l10n-pt_BR +Brazil portuguese language support for Calligra. + +#%package ro +#Summary: Romanian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ro +# +#%description ro +#Romanian language support for Calligra. + +%package l10n-ru +Summary: Russian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-ru + +%description l10n-ru +Russian language support for Calligra. + +#%package se +#Summary: Northern sami language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-se +# +#%description se +#Northern sami language support for Calligra. + +%package l10n-sk +Summary: Slovak language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-sk + +%description l10n-sk +Slovak language support for Calligra. + +%package l10n-sl +Summary: Slovenian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-sl + +%description l10n-sl +Slovenian language support for Calligra. + +#%package sr +#Summary: Serbian language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-sr +# +#%description sr +#Serbian language support for Calligra. + +#%package sr@Latn +#Summary: Serbian - Latin language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-sr@Latn +# +#%description sr@Latn +#Serbian - Latin language support for Calligra. + +#%package ss +#Summary: Swati language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ss +# +#%description ss +#Swati language support for Calligra. + +%package l10n-sv +Summary: Swedish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-sv + +%description l10n-sv +Swedish language support for Calligra. + +#%package ta +#Summary: Tamil language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-ta +# +#%description ta +#Tamil language support for Calligra. + +#%package tg +#Summary: Tajik language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-tg +# +#%description tg +#Tajik language support for Calligra. + +#%package th +#Summary: Thai language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-th +# +#%description th +#Thai language support for Calligra. + +%package l10n-tr +Summary: Turkish language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-tr + +%description l10n-tr +Turkish language support for Calligra. + +%package l10n-uk +Summary: Ukrainian language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-uk + +%description l10n-uk +Ukrainian language support for Calligra. + +#%package uz +#Summary: Uzbek language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-uz +# +#%description uz +#Uzbek language support for Calligra. + +#%package ven +#Summary: Venda language support for Calligra +#Group: System/Internationalization +#Obsoletes: koffice-i18n-ven +# +#%description ven +#Venda language support for Calligra. + +#%package vi +#Summary: Vietnamese language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-vi +# +#%description vi +#Vietnamese language support for Calligra. + +#%package xh +#Summary: Xhosa language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-xh +# +#%description xh +#Xhosa language support for Calligra. + +%package l10n-wa +Summary: Walloon language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-wa + +%description l10n-wa +Walloon language support for Calligra. + +%package l10n-zh_CN +Summary: Simplified chinese language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-zh_CN + +%description l10n-zh_CN +Simplified chinese language support for Calligra. + +%package l10n-zh_TW +Summary: Chinese language support for Calligra +Group: System/Internationalization +Provides: calligral10n +Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: koffice-i18n-zh_TW + +%description l10n-zh_TW +Chinese language support for Calligra. + +#%package zu +#Summary: Zulu language support for Calligra +#Group: System/Internationalization +#Requires: calligra-core >= %{?epoch:%epoch:}%{version}-%{release} +#Obsoletes: koffice-i18n-zu +# +#%description zu +#Zulu language support for Calligra. + +#%files af +#%defattr(-,root,root) +#%lang(af) %{_kde4_localedir}/af/LC_MESSAGES/* + +#%files ar +#%defattr(-,root,root) +#%lang(ar) %{_kde4_localedir}/ar/LC_MESSAGES/* + +#%files bg +#%defattr(-,root,root) +#%lang(bg) %{_kde4_localedir}/bg/LC_MESSAGES/* + +#%files br +#%defattr(-,root,root) +#%lang(br) %{_kde4_localedir}/br/LC_MESSAGES/* + +%files l10n-bs +%defattr(-,root,root) +%lang(bs) %{_kde4_localedir}/bs/LC_MESSAGES/* + +%files l10n-ca -f langpacks/%{name}-l10n-ca-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/ca/calligra/common +%{_kde4_htmldir}/ca/sheets/common +%{_kde4_htmldir}/ca/stage/common + +%files l10n-ca@valencia -f langpacks/%{name}-l10n-ca@valencia-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-cs -f langpacks/%{name}-l10n-cs-%{version}/install_manifest.txt +%defattr(-,root,root) +#%{_kde4_datadir}/calligra/autocorrect/cs.xml +#%lang(cs) %{_kde4_localedir}/cs/LC_MESSAGES/* + +#%files cy +#%defattr(-,root,root) +#%lang(cy) %{_kde4_localedir}/cy/LC_MESSAGES/* + +%files l10n-da -f langpacks/%{name}-l10n-da-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-de -f langpacks/%{name}-l10n-de-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/de/calligra/common +%{_kde4_htmldir}/de/kexi/common +%{_kde4_htmldir}/de/sheets/common +%{_kde4_htmldir}/de/stage/common + +%files l10n-el -f langpacks/%{name}-l10n-el-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-en_GB -f langpacks/%{name}-l10n-en_GB-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files eo +#%defattr(-,root,root) +#%lang(eo) %{_kde4_localedir}/eo/LC_MESSAGES/* + +%files l10n-es -f langpacks/%{name}-l10n-es-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/es/calligra/common +%{_kde4_htmldir}/es/kexi/common +%{_kde4_htmldir}/es/sheets/common +%{_kde4_htmldir}/es/stage/common + +%files l10n-et -f langpacks/%{name}-l10n-et-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/et/calligra/common +%{_kde4_htmldir}/et/kexi/common +#%{_kde4_htmldir}/et/sheets/common +#%{_kde4_htmldir}/et/stage/common + +#%files eu +#%defattr(-,root,root) +#%lang(eu) %{_kde4_localedir}/eu/LC_MESSAGES/* + +#%files fa +#%defattr(-,root,root) +#%lang(fa) %{_kde4_localedir}/fa/LC_MESSAGES/* + +%files l10n-fi -f langpacks/%{name}-l10n-fi-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-fr -f langpacks/%{name}-l10n-fr-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/fr/calligra/common +%{_kde4_htmldir}/fr/stage/common + +#%files fy +#%defattr(-,root,root) +#%lang(fy) %{_kde4_localedir}/fy/LC_MESSAGES/* + +#%files ga +#%defattr(-,root,root) +#%lang(ga) %{_kde4_localedir}/ga/LC_MESSAGES/* + +%files l10n-gl -f langpacks/%{name}-l10n-gl-%{version}/install_manifest.txt +%defattr(-,root,root) +#%{_kde4_htmldir}/gl/thesaurus/common + +#%files he +#%defattr(-,root,root) +#%lang(he) %{_kde4_localedir}/he/LC_MESSAGES/* + +#%files hi +#%defattr(-,root,root) +#%lang(hi) %{_kde4_localedir}/hi/LC_MESSAGES/* + +#%files hne +#%defattr(-,root,root) +#%lang(hne) %{_kde4_localedir}/hne/LC_MESSAGES/* + +#%files hsb +#%defattr(-,root,root) +#%lang(hsb) %{_kde4_localedir}/hsb/LC_MESSAGES/* + +%files l10n-hu -f langpacks/%{name}-l10n-hu-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files is +#%defattr(-,root,root) +#%lang(is) %{_kde4_localedir}/is/LC_MESSAGES/* + +%files l10n-it -f langpacks/%{name}-l10n-it-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/it/calligra/common +%{_kde4_htmldir}/it/kexi/common +%{_kde4_htmldir}/it/sheets/common +%{_kde4_htmldir}/it/stage/common + +%files l10n-ja -f langpacks/%{name}-l10n-ja-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-kk -f langpacks/%{name}-l10n-kk-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files km +#%defattr(-,root,root) +#%lang(km) %{_kde4_localedir}/km/LC_MESSAGES/* + +#%files lo +#%defattr(-,root,root) +#%lang(lo) %{_kde4_localedir}/lo/LC_MESSAGES/* + +#%files lt +#%defattr(-,root,root) +#%lang(lt) %{_kde4_localedir}/lt/LC_MESSAGES/* + +#%files lv +#%defattr(-,root,root) +#%lang(lv) %{_kde4_localedir}/lv/LC_MESSAGES/* + +#%files mt +#%defattr(-,root,root) +#%lang(mt) %{_kde4_localedir}/mt/LC_MESSAGES/* + +#%files mk +#%defattr(-,root,root) +#%lang(mk) %{_kde4_localedir}/mk/LC_MESSAGES/* + +#%files ms +#%defattr(-,root,root) +#%lang(ms) %{_kde4_localedir}/ms/LC_MESSAGES/* + +%files l10n-nb -f langpacks/%{name}-l10n-nb-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files l10n-nds -f langpacks/%{name}-l10n-nds-%{version}/install_manifest.txt +#%defattr(-,root,root) + +#%files ne +#%defattr(-,root,root) +#%lang(ne) %{_kde4_localedir}/ne/LC_MESSAGES/* + +%files l10n-nl -f langpacks/%{name}-l10n-nl-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/nl/calligra/common +%{_kde4_htmldir}/nl/kexi/common +%{_kde4_htmldir}/nl/sheets/common +%{_kde4_htmldir}/nl/stage/common + +#%files nn +#%defattr(-,root,root) +#%lang(nn) %{_kde4_localedir}/nn/LC_MESSAGES/* + +%files l10n-pl -f langpacks/%{name}-l10n-pl-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-pt -f langpacks/%{name}-l10n-pt-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/pt/calligra/common +%{_kde4_htmldir}/pt/kexi/common +%{_kde4_htmldir}/pt/sheets/common +%{_kde4_htmldir}/pt/stage/common + +%files l10n-pt_BR -f langpacks/%{name}-l10n-pt_BR-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/pt_BR/calligra/common +%{_kde4_htmldir}/pt_BR/kexi/common +%{_kde4_htmldir}/pt_BR/sheets/common +%{_kde4_htmldir}/pt_BR/stage/common + +#%files ro +#%defattr(-,root,root) +#%lang(ro) %{_kde4_localedir}/ro/LC_MESSAGES/* + +%files l10n-ru -f langpacks/%{name}-l10n-ru-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/ru/calligra/common +%{_kde4_htmldir}/ru/sheets/common + +#%{_kde4_htmldir}/ru/sheets/common +#%{_kde4_htmldir}/ru/thesaurus/common + +#%files se +#%defattr(-,root,root) +#%lang(se) %{_kde4_localedir}/se/LC_MESSAGES/* + +%files l10n-sk -f langpacks/%{name}-l10n-sk-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files l10n-sl +#%defattr(-,root,root) +#%lang(sl) %{_kde4_localedir}/sl/LC_MESSAGES/* + +#%files sr +#%defattr(-,root,root) +#%lang(sr) %{_kde4_localedir}/sr/LC_MESSAGES/* + +#%files sr@Latn +#%defattr(-,root,root) +#%lang(sr@Latn) %{_kde4_localedir}/sr@Latn/LC_MESSAGES/* + +#%files wa +#%defattr(-,root,root) +#%lang(wa) %{_kde4_localedir}/wa/LC_MESSAGES/* + +%files l10n-sv -f langpacks/%{name}-l10n-sv-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/sv/calligra/common +%{_kde4_htmldir}/sv/kexi/common +%{_kde4_htmldir}/sv/sheets/common +%{_kde4_htmldir}/sv/stage/common + +#%files ta +#%defattr(-,root,root) +#%lang(ta) %{_kde4_localedir}/ta/LC_MESSAGES/* + +#%files tg +#%defattr(-,root,root) +#%lang(tg) %{_kde4_localedir}/tg/LC_MESSAGES/* + +#%files th +#%defattr(-,root,root) +#%lang(th) %{_kde4_localedir}/th/LC_MESSAGES/* + +#%files l10n-tr -f langpacks/%{name}-l10n-tr-%{version}/install_manifest.txt +#%defattr(-,root,root) + +%files l10n-uk -f langpacks/%{name}-l10n-uk-%{version}/install_manifest.txt +%defattr(-,root,root) +%{_kde4_htmldir}/uk/calligra/common +%{_kde4_htmldir}/uk/kexi/common +%{_kde4_htmldir}/uk/sheets/common +%{_kde4_htmldir}/uk/stage/common + +#%files uz +#%defattr(-,root,root) +#%lang(uz) %{_kde4_localedir}/uz/LC_MESSAGES/* + +#%files ven +#%defattr(-,root,root) +#%lang(ven) %{_kde4_localedir}/ven/LC_MESSAGES/* + +#%files xh +#%defattr(-,root,root) +#%lang(xh) %{_kde4_localedir}/xh/LC_MESSAGES/* + +%files l10n-zh_CN -f langpacks/%{name}-l10n-zh_CN-%{version}/install_manifest.txt +%defattr(-,root,root) + +%files l10n-zh_TW -f langpacks/%{name}-l10n-zh_TW-%{version}/install_manifest.txt +%defattr(-,root,root) + +#%files zu +#%defattr(-,root,root) +#%lang(zu) %{_kde4_localedir}/zu/LC_MESSAGES/* + +########################################## +# +# End of l10n section +# +########################################## + %changelog +* Thu May 28 2015 Silvan Calarco 2.9.4-3mamba +- langspacks build integrated + * Sat May 16 2015 Silvan Calarco 2.9.4-2mamba - move libkritacolord.so from devel package to libcalligra-krita