RHEL/Fedora: updates kde-i18n packaging

pull/3/head
albator 13 years ago
parent 3ab3e65898
commit f4a746cfc0

@ -2,7 +2,7 @@
%if "%{?version}" == "" %if "%{?version}" == ""
%define version 3.5.13 %define version 3.5.13
%endif %endif
%define release 2 %define release 3
# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". # If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
%if "%{?_prefix}" != "/usr" %if "%{?_prefix}" != "/usr"
@ -46,6 +46,9 @@ AutoReq: no
Source0: kde-i18n-%{version}.tar.gz Source0: kde-i18n-%{version}.tar.gz
# [zh_TW] Updated translations, thanks to Wei-Lun Chao !
Source1: kde-i18n-zh_TW-3.5.10.tar.bz2
# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package # TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package
Patch0: kde-i18n-kdesu.patch Patch0: kde-i18n-kdesu.patch
@ -619,6 +622,7 @@ Requires: kde-filesystem
%prep %prep
%setup -q -n kde-i18n %setup -q -n kde-i18n
%__cp -f %{SOURCE1} .
for l in %{KDE_LANGS}; do for l in %{KDE_LANGS}; do
for f in kde-i18n-${l}-*.tar.bz2; do for f in kde-i18n-${l}-*.tar.bz2; do
@ -701,476 +705,414 @@ popd
find %{buildroot}%{_docdir}/HTML -size 0 -exec rm -f {} \; find %{buildroot}%{_docdir}/HTML -size 0 -exec rm -f {} \;
# See http://fedoraproject.org/wiki/Languages (???) # See http://fedoraproject.org/wiki/Languages (???)
rm -f %{buildroot}%{_datadir}/locale/*/flag.png %__rm -f %{buildroot}%{_datadir}/locale/*/flag.png
# And also the 'desktop.entry' (???)
rm -f %{buildroot}%{_datadir}/locale/*/entry.desktop # Removes conflict with KDE4
%if "%{?_prefix}" == "/usr"
%__rm -f %{buildroot}%{_datadir}/locale/*/entry.desktop
%endif
# remove obsolete KDE 3 application data translations # remove obsolete KDE 3 application data translations
rm -rf %{buildroot}%{_datadir}/apps %__rm -rf %{buildroot}%{_datadir}/apps
%clean %clean
rm -rf %{buildroot} %__rm -rf %{buildroot}
%if "%( grep -w af <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w af <<< '%{KDE_LANGS}' )" != ""
%files Afrikaans %files Afrikaans
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(af) %{_datadir}/locale/af/LC_MESSAGES/* %lang(af) %{_datadir}/locale/af/*
%lang(af) %{_datadir}/locale/af/charset
%lang(af) %{_docdir}/HTML/af/ %lang(af) %{_docdir}/HTML/af/
%endif %endif
%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ar <<< '%{KDE_LANGS}' )" != ""
%files Arabic %files Arabic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ar) %{_datadir}/locale/ar/LC_MESSAGES/* %lang(ar) %{_datadir}/locale/ar/*
%lang(ar) %{_datadir}/locale/ar/charset
%endif %endif
%if "%( grep -w az <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w az <<< '%{KDE_LANGS}' )" != ""
%files Azerbaijani %files Azerbaijani
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(az) %{_datadir}/locale/az/LC_MESSAGES/* %lang(az) %{_datadir}/locale/az/*
%lang(az) %{_datadir}/locale/az/charset
%endif %endif
%if "%( grep -w be <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w be <<< '%{KDE_LANGS}' )" != ""
%files Belarusian %files Belarusian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(be) %{_datadir}/locale/be/LC_MESSAGES/* %lang(be) %{_datadir}/locale/be/*
%lang(be) %{_datadir}/locale/be/charset
%endif %endif
%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bg <<< '%{KDE_LANGS}' )" != ""
%files Bulgarian %files Bulgarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bg) %{_datadir}/locale/bg/LC_MESSAGES/* %lang(bg) %{_datadir}/locale/bg/*
%lang(bg) %{_datadir}/locale/bg/charset
%endif %endif
%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bn <<< '%{KDE_LANGS}' )" != ""
%files Bengali %files Bengali
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bn) %{_datadir}/locale/bn/LC_MESSAGES/* %lang(bn) %{_datadir}/locale/bn/*
%lang(bn) %{_datadir}/locale/bn/charset
%endif %endif
%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bo <<< '%{KDE_LANGS}' )" != ""
%files Tibetan %files Tibetan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bo) %{_datadir}/locale/bo/LC_MESSAGES/* %lang(bo) %{_datadir}/locale/bo/*
%lang(bo) %{_datadir}/locale/bo/charset
%endif %endif
%if "%( grep -w br <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w br <<< '%{KDE_LANGS}' )" != ""
%files Breton %files Breton
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(br) %{_datadir}/locale/br/LC_MESSAGES/* %lang(br) %{_datadir}/locale/br/*
%lang(br) %{_datadir}/locale/br/charset
%endif %endif
%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w bs <<< '%{KDE_LANGS}' )" != ""
%files Bosnian %files Bosnian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(bs) %{_datadir}/locale/bs/LC_MESSAGES/* %lang(bs) %{_datadir}/locale/bs/*
%lang(bs) %{_datadir}/locale/bs/charset
%endif %endif
%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ca <<< '%{KDE_LANGS}' )" != ""
%files Catalan %files Catalan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ca) %{_datadir}/locale/ca/LC_MESSAGES/* %lang(ca) %{_datadir}/locale/ca/*
%lang(ca) %{_datadir}/locale/ca/charset
%lang(ca) %{_docdir}/HTML/ca/ %lang(ca) %{_docdir}/HTML/ca/
%endif %endif
%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cs <<< '%{KDE_LANGS}' )" != ""
%files Czech %files Czech
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cs) %{_datadir}/locale/cs/LC_MESSAGES/* %lang(cs) %{_datadir}/locale/cs/*
%lang(cs) %{_datadir}/locale/cs/charset
%lang(cs) %{_docdir}/HTML/cs/ %lang(cs) %{_docdir}/HTML/cs/
%endif %endif
%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w cy <<< '%{KDE_LANGS}' )" != ""
%files Welsh %files Welsh
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(cy) %{_datadir}/locale/cy/LC_MESSAGES/* %lang(cy) %{_datadir}/locale/cy/*
%lang(cy) %{_datadir}/locale/cy/charset
%endif %endif
%if "%( grep -w da <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w da <<< '%{KDE_LANGS}' )" != ""
%files Danish %files Danish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(da) %{_datadir}/locale/da/LC_MESSAGES/* %lang(da) %{_datadir}/locale/da/*
%lang(da) %{_datadir}/locale/da/charset
%lang(da) %{_datadir}/locale/da/da.compendium
%lang(da) %{_docdir}/HTML/da/ %lang(da) %{_docdir}/HTML/da/
%endif %endif
%if "%( grep -w de <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w de <<< '%{KDE_LANGS}' )" != ""
%files German %files German
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(de) %{_datadir}/locale/de/LC_MESSAGES/* %lang(de) %{_datadir}/locale/de/*
%lang(de) %{_datadir}/locale/de/charset
%lang(de) %{_docdir}/HTML/de/ %lang(de) %{_docdir}/HTML/de/
%endif %endif
%if "%( grep -w el <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w el <<< '%{KDE_LANGS}' )" != ""
%files Greek %files Greek
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(el) %{_datadir}/locale/el/LC_MESSAGES/* %lang(el) %{_datadir}/locale/el/*
%lang(el) %{_datadir}/locale/el/charset
%endif %endif
%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != ""
%files British %files British
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(en_GB) %{_datadir}/locale/en_GB/LC_MESSAGES/* %lang(en_GB) %{_datadir}/locale/en_GB/*
%lang(en_GB) %{_datadir}/locale/en_GB/charset
%lang(en_GB) %{_docdir}/HTML/en_GB/ %lang(en_GB) %{_docdir}/HTML/en_GB/
%endif %endif
%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eo <<< '%{KDE_LANGS}' )" != ""
%files Esperanto %files Esperanto
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eo) %{_datadir}/locale/eo/LC_MESSAGES/* %lang(eo) %{_datadir}/locale/eo/*
%lang(eo) %{_datadir}/locale/eo/charset
%endif %endif
%if "%( grep -w es <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w es <<< '%{KDE_LANGS}' )" != ""
%files Spanish %files Spanish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(es) %{_datadir}/locale/es/LC_MESSAGES/* %lang(es) %{_datadir}/locale/es/*
%lang(es) %{_datadir}/locale/es/charset
%lang(es) %{_docdir}/HTML/es/ %lang(es) %{_docdir}/HTML/es/
%endif %endif
%if "%( grep -w et <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w et <<< '%{KDE_LANGS}' )" != ""
%files Estonian %files Estonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(et) %{_datadir}/locale/et/LC_MESSAGES/* %lang(et) %{_datadir}/locale/et/*
%lang(et) %{_datadir}/locale/et/charset
%lang(et) %{_docdir}/HTML/et/ %lang(et) %{_docdir}/HTML/et/
%endif %endif
%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w eu <<< '%{KDE_LANGS}' )" != ""
%files Basque %files Basque
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(eu) %{_datadir}/locale/eu/LC_MESSAGES/* %lang(eu) %{_datadir}/locale/eu/*
%lang(eu) %{_datadir}/locale/eu/charset
%endif %endif
%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fa <<< '%{KDE_LANGS}' )" != ""
%files Farsi %files Farsi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fa) %{_datadir}/locale/fa/LC_MESSAGES/* %lang(fa) %{_datadir}/locale/fa/*
%lang(fa) %{_datadir}/locale/fa/charset
%endif %endif
%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fi <<< '%{KDE_LANGS}' )" != ""
%files Finnish %files Finnish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fi) %{_datadir}/locale/fi/LC_MESSAGES/* %lang(fi) %{_datadir}/locale/fi/*
%lang(fi) %{_datadir}/locale/fi/charset
%lang(fi) %{_docdir}/HTML/fi/ %lang(fi) %{_docdir}/HTML/fi/
%endif %endif
%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fo <<< '%{KDE_LANGS}' )" != ""
%files Faroese %files Faroese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fo) %{_datadir}/locale/fo/LC_MESSAGES/* %lang(fo) %{_datadir}/locale/fo/*
%lang(fo) %{_datadir}/locale/fo/charset
%endif %endif
%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fr <<< '%{KDE_LANGS}' )" != ""
%files French %files French
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fr) %{_datadir}/locale/fr/LC_MESSAGES/* %lang(fr) %{_datadir}/locale/fr/*
%lang(fr) %{_datadir}/locale/fr/charset
%lang(fr) %{_datadir}/locale/fr/nbsp_gui_fr.txt
%lang(fr) %{_datadir}/locale/fr/relecture_*
%lang(fr) %{_docdir}/HTML/fr/ %lang(fr) %{_docdir}/HTML/fr/
%endif %endif
%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w fy <<< '%{KDE_LANGS}' )" != ""
%files Frisian %files Frisian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(fy) %{_datadir}/locale/fy/LC_MESSAGES/* %lang(fy) %{_datadir}/locale/fy/*
%lang(fy) %{_datadir}/locale/fy/charset
%endif %endif
%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ga <<< '%{KDE_LANGS}' )" != ""
%files Irish %files Irish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ga) %{_datadir}/locale/ga/LC_MESSAGES/* %lang(ga) %{_datadir}/locale/ga/*
%lang(ga) %{_datadir}/locale/ga/charset
%endif %endif
%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w gl <<< '%{KDE_LANGS}' )" != ""
%files Galician %files Galician
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(gl) %{_datadir}/locale/gl/LC_MESSAGES/* %lang(gl) %{_datadir}/locale/gl/*
%lang(gl) %{_datadir}/locale/gl/charset
%endif %endif
%if "%( grep -w he <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w he <<< '%{KDE_LANGS}' )" != ""
%files Hebrew %files Hebrew
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(he) %{_datadir}/locale/he/LC_MESSAGES/* %lang(he) %{_datadir}/locale/he/*
%lang(he) %{_datadir}/locale/he/charset
%lang(he) %{_docdir}/HTML/he/ %lang(he) %{_docdir}/HTML/he/
%endif %endif
%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hi <<< '%{KDE_LANGS}' )" != ""
%files Hindi %files Hindi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hi) %{_datadir}/locale/hi/LC_MESSAGES/* %lang(hi) %{_datadir}/locale/hi/*
%lang(hi) %{_datadir}/locale/hi/charset
%endif %endif
%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hr <<< '%{KDE_LANGS}' )" != ""
%files Croatian %files Croatian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hr) %{_datadir}/locale/hr/LC_MESSAGES/* %lang(hr) %{_datadir}/locale/hr/*
%lang(hr) %{_datadir}/locale/hr/charset
%lang(hr) %{_docdir}/HTML/hr/ %lang(hr) %{_docdir}/HTML/hr/
%endif %endif
%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w hu <<< '%{KDE_LANGS}' )" != ""
%files Hungarian %files Hungarian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(hu) %{_datadir}/locale/hu/LC_MESSAGES/* %lang(hu) %{_datadir}/locale/hu/*
%lang(hu) %{_datadir}/locale/hu/charset
%lang(hu) %{_docdir}/HTML/hu/ %lang(hu) %{_docdir}/HTML/hu/
%endif %endif
%if "%( grep -w id <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w id <<< '%{KDE_LANGS}' )" != ""
%files Indonesian %files Indonesian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(id) %{_datadir}/locale/id/LC_MESSAGES/* %lang(id) %{_datadir}/locale/id/*
%lang(id) %{_datadir}/locale/id/charset
%lang(id) %{_docdir}/HTML/id/ %lang(id) %{_docdir}/HTML/id/
%endif %endif
%if "%( grep -w is <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w is <<< '%{KDE_LANGS}' )" != ""
%files Icelandic %files Icelandic
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(is) %{_datadir}/locale/is/LC_MESSAGES/* %lang(is) %{_datadir}/locale/is/*
%lang(is) %{_datadir}/locale/is/charset
%endif %endif
%if "%( grep -w it <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w it <<< '%{KDE_LANGS}' )" != ""
%files Italian %files Italian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(it) %{_datadir}/locale/it/LC_MESSAGES/* %lang(it) %{_datadir}/locale/it/*
%lang(it) %{_datadir}/locale/it/charset
%lang(it) %{_docdir}/HTML/it/ %lang(it) %{_docdir}/HTML/it/
%endif %endif
%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ja <<< '%{KDE_LANGS}' )" != ""
%files Japanese %files Japanese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ja) %{_datadir}/locale/ja/LC_MESSAGES/* %lang(ja) %{_datadir}/locale/ja/*
%lang(ja) %{_datadir}/locale/ja/charset
%lang(ja) %{_docdir}/HTML/ja/ %lang(ja) %{_docdir}/HTML/ja/
%endif %endif
%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ko <<< '%{KDE_LANGS}' )" != ""
%files Korean %files Korean
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ko) %{_datadir}/locale/ko/LC_MESSAGES/* %lang(ko) %{_datadir}/locale/ko/*
%lang(ko) %{_datadir}/locale/ko/charset
%lang(ko) %{_docdir}/HTML/ko/ %lang(ko) %{_docdir}/HTML/ko/
%endif %endif
%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ku <<< '%{KDE_LANGS}' )" != ""
%files Kurdish %files Kurdish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ku) %{_datadir}/locale/ku/LC_MESSAGES/* %lang(ku) %{_datadir}/locale/ku/*
%lang(ku) %{_datadir}/locale/ku/charset
%lang(ku) %{_docdir}/HTML/ku/ %lang(ku) %{_docdir}/HTML/ku/
%endif %endif
%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lao <<< '%{KDE_LANGS}' )" != ""
%files Lao %files Lao
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lo) %{_datadir}/locale/lo/LC_MESSAGES/* %lang(lo) %{_datadir}/locale/lo/*
%lang(lo) %{_datadir}/locale/lo/charset
%lang(lo) %{_docdir}/HTML/lo/ %lang(lo) %{_docdir}/HTML/lo/
%endif %endif
%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lt <<< '%{KDE_LANGS}' )" != ""
%files Lithuanian %files Lithuanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lt) %{_datadir}/locale/lt/LC_MESSAGES/* %lang(lt) %{_datadir}/locale/lt/*
%lang(lt) %{_datadir}/locale/lt/charset
%endif %endif
%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w lv <<< '%{KDE_LANGS}' )" != ""
%files Latvian %files Latvian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(lv) %{_datadir}/locale/lv/LC_MESSAGES/* %lang(lv) %{_datadir}/locale/lv/*
%lang(lv) %{_datadir}/locale/lv/charset
%endif %endif
%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mi <<< '%{KDE_LANGS}' )" != ""
%files Maori %files Maori
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mi) %{_datadir}/locale/mi/LC_MESSAGES/* %lang(mi) %{_datadir}/locale/mi/*
%lang(mi) %{_datadir}/locale/mi/charset
%endif %endif
%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mk <<< '%{KDE_LANGS}' )" != ""
%files Macedonian %files Macedonian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mk) %{_datadir}/locale/mk/LC_MESSAGES/* %lang(mk) %{_datadir}/locale/mk/*
%lang(mk) %{_datadir}/locale/mk/charset
%endif %endif
%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w mt <<< '%{KDE_LANGS}' )" != ""
%files Maltese %files Maltese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(mt) %{_datadir}/locale/mt/LC_MESSAGES/* %lang(mt) %{_datadir}/locale/mt/*
%lang(mt) %{_datadir}/locale/mt/charset
%endif %endif
%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nl <<< '%{KDE_LANGS}' )" != ""
%files Dutch %files Dutch
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nl) %{_datadir}/locale/nl/LC_MESSAGES/* %lang(nl) %{_datadir}/locale/nl/*
%lang(nl) %{_datadir}/locale/nl/charset
%lang(nl) %{_docdir}/HTML/nl/ %lang(nl) %{_docdir}/HTML/nl/
%endif %endif
%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nb <<< '%{KDE_LANGS}' )" != ""
%files Norwegian %files Norwegian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nb) %{_datadir}/locale/nb/LC_MESSAGES/* %lang(nb) %{_datadir}/locale/nb/*
%lang(nb) %{_datadir}/locale/nb/charset
%lang(nb) %{_datadir}/locale/nb/README
#%lang(nb) %{_docdir}/HTML/nb/ #%lang(nb) %{_docdir}/HTML/nb/
%endif %endif
%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w nn <<< '%{KDE_LANGS}' )" != ""
%files Norwegian-Nynorsk %files Norwegian-Nynorsk
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(nn) %{_datadir}/locale/nn/LC_MESSAGES/* %lang(nn) %{_datadir}/locale/nn/*
%lang(nn) %{_datadir}/locale/nn/charset
#%lang(nn) %{_docdir}/HTML/nn/ #%lang(nn) %{_docdir}/HTML/nn/
%endif %endif
%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w oc <<< '%{KDE_LANGS}' )" != ""
%files Occitan %files Occitan
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(oc) %{_datadir}/locale/oc/LC_MESSAGES/* %lang(oc) %{_datadir}/locale/oc/*
%lang(oc) %{_datadir}/locale/oc/charset
%endif %endif
%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pa <<< '%{KDE_LANGS}' )" != ""
%files Punjabi %files Punjabi
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pa) %{_datadir}/locale/pa/LC_MESSAGES/* %lang(pa) %{_datadir}/locale/pa/*
%lang(pa) %{_datadir}/locale/pa/charset
%endif %endif
%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pl <<< '%{KDE_LANGS}' )" != ""
%files Polish %files Polish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pl) %{_datadir}/locale/pl/LC_MESSAGES/* %lang(pl) %{_datadir}/locale/pl/*
%lang(pl) %{_datadir}/locale/pl/charset
%lang(pl) %{_docdir}/HTML/pl/ %lang(pl) %{_docdir}/HTML/pl/
%endif %endif
%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt <<< '%{KDE_LANGS}' )" != ""
%files Portuguese %files Portuguese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt) %{_datadir}/locale/pt/LC_MESSAGES/* %lang(pt) %{_datadir}/locale/pt/*
%lang(pt) %{_datadir}/locale/pt/charset
%lang(pt) %{_docdir}/HTML/pt/ %lang(pt) %{_docdir}/HTML/pt/
%endif %endif
%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != ""
%files Brazil %files Brazil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_MESSAGES/* %lang(pt_BR) %{_datadir}/locale/pt_BR/*
%lang(pt_BR) %{_datadir}/locale/pt_BR/charset
%lang(pt_BR) %{_docdir}/HTML/pt_BR/ %lang(pt_BR) %{_docdir}/HTML/pt_BR/
%endif %endif
%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ro <<< '%{KDE_LANGS}' )" != ""
%files Romanian %files Romanian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ro) %{_datadir}/locale/ro/LC_MESSAGES/* %lang(ro) %{_datadir}/locale/ro/*
%lang(ro) %{_datadir}/locale/ro/charset
%lang(ro) %{_docdir}/HTML/ro/ %lang(ro) %{_docdir}/HTML/ro/
%endif %endif
%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ru <<< '%{KDE_LANGS}' )" != ""
%files Russian %files Russian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ru) %{_datadir}/locale/ru/LC_MESSAGES/* %lang(ru) %{_datadir}/locale/ru/*
%lang(ru) %{_datadir}/locale/ru/charset
%lang(ru) %{_docdir}/HTML/ru/ %lang(ru) %{_docdir}/HTML/ru/
%endif %endif
%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sk <<< '%{KDE_LANGS}' )" != ""
%files Slovak %files Slovak
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sk) %{_datadir}/locale/sk/LC_MESSAGES/* %lang(sk) %{_datadir}/locale/sk/*
%lang(sk) %{_datadir}/locale/sk/charset
%lang(sk) %{_docdir}/HTML/sk/ %lang(sk) %{_docdir}/HTML/sk/
%endif %endif
%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sl <<< '%{KDE_LANGS}' )" != ""
%files Slovenian %files Slovenian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sl) %{_datadir}/locale/sl/LC_MESSAGES/* %lang(sl) %{_datadir}/locale/sl/*
%lang(sl) %{_datadir}/locale/sl/charset
%lang(sl) %{_docdir}/HTML/sl/ %lang(sl) %{_docdir}/HTML/sl/
%endif %endif
%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sr <<< '%{KDE_LANGS}' )" != ""
%files Serbian %files Serbian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sr) %{_datadir}/locale/sr/LC_MESSAGES/* %lang(sr) %{_datadir}/locale/sr/*
%lang(sr) %{_datadir}/locale/sr/charset
%lang(sr) %{_docdir}/HTML/sr/ %lang(sr) %{_docdir}/HTML/sr/
%endif %endif
%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w sv <<< '%{KDE_LANGS}' )" != ""
%files Swedish %files Swedish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(sv) %{_datadir}/locale/sv/LC_MESSAGES/* %lang(sv) %{_datadir}/locale/sv/*
%lang(sv) %{_datadir}/locale/sv/charset
%lang(sv) %{_docdir}/HTML/sv/ %lang(sv) %{_docdir}/HTML/sv/
%endif %endif
%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ta <<< '%{KDE_LANGS}' )" != ""
%files Tamil %files Tamil
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ta) %{_datadir}/locale/ta/LC_MESSAGES/* %lang(ta) %{_datadir}/locale/ta/*
%lang(ta) %{_datadir}/locale/ta/charset
%endif %endif
%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tg <<< '%{KDE_LANGS}' )" != ""
%files Tajik %files Tajik
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tg) %{_datadir}/locale/tg/LC_MESSAGES/* %lang(tg) %{_datadir}/locale/tg/*
%lang(tg) %{_datadir}/locale/tg/charset
%endif %endif
%if "%( grep -w th <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w th <<< '%{KDE_LANGS}' )" != ""
%files Thai %files Thai
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(th) %{_datadir}/locale/th/LC_MESSAGES/* %lang(th) %{_datadir}/locale/th/*
%lang(th) %{_datadir}/locale/th/charset
%endif %endif
%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w tr <<< '%{KDE_LANGS}' )" != ""
%files Turkish %files Turkish
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(tr) %{_datadir}/locale/tr/LC_MESSAGES/* %lang(tr) %{_datadir}/locale/tr/*
%lang(tr) %{_datadir}/locale/tr/charset
%lang(tr) %{_docdir}/HTML/tr/ %lang(tr) %{_docdir}/HTML/tr/
%endif %endif
@ -1178,56 +1120,53 @@ rm -rf %{buildroot}
%files Ukrainian %files Ukrainian
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(uk) %{_docdir}/HTML/uk/ %lang(uk) %{_docdir}/HTML/uk/
%lang(uk) %{_datadir}/locale/uk/LC_MESSAGES/* %lang(uk) %{_datadir}/locale/uk/*
%lang(uk) %{_datadir}/locale/uk/charset
%endif %endif
%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w ven <<< '%{KDE_LANGS}' )" != ""
%files Venda %files Venda
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(ven) %{_datadir}/locale/ven/LC_MESSAGES/* %lang(ven) %{_datadir}/locale/ven/*
%lang(ven) %{_datadir}/locale/ven/charset
%endif %endif
%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w vi <<< '%{KDE_LANGS}' )" != ""
%files Vietnamese %files Vietnamese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(vi) %{_datadir}/locale/vi/LC_MESSAGES/* %lang(vi) %{_datadir}/locale/vi/*
%lang(vi) %{_datadir}/locale/vi/charset
%endif %endif
%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w wa <<< '%{KDE_LANGS}' )" != ""
%files Walloon %files Walloon
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(wa) %{_datadir}/locale/wa/LC_MESSAGES/* %lang(wa) %{_datadir}/locale/wa/*
%lang(wa) %{_datadir}/locale/wa/charset
%endif %endif
%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w xh <<< '%{KDE_LANGS}' )" != ""
%files Xhosa %files Xhosa
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(xh) %{_datadir}/locale/xh/LC_MESSAGES/* %lang(xh) %{_datadir}/locale/xh/*
%lang(xh) %{_datadir}/locale/xh/charset
%lang(xh) %{_docdir}/HTML/xh/ %lang(xh) %{_docdir}/HTML/xh/
%endif %endif
%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != ""
%files Chinese %files Chinese
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_MESSAGES/* %lang(zh_CN) %{_datadir}/locale/zh_CN/*
%lang(zh_CN) %{_datadir}/locale/zh_CN/charset
%lang(zh_CN) %{_docdir}/HTML/zh_CN/ %lang(zh_CN) %{_docdir}/HTML/zh_CN/
%endif %endif
%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != "" %if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != ""
%files Chinese-Big5 %files Chinese-Big5
%defattr(-,root,root,-) %defattr(-,root,root,-)
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_MESSAGES/* %lang(zh_TW) %{_datadir}/locale/zh_TW/*
%lang(zh_TW) %{_datadir}/locale/zh_TW/charset
%lang(zh_TW) %{_docdir}/HTML/zh_TW/ %lang(zh_TW) %{_docdir}/HTML/zh_TW/
%endif %endif
%changelog %changelog
* Fri Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
- Re-adds missing files 'entry.desktop'
- Updates zh_TW translation, thanks to Wei-Lun Chao
* Tue Nov 01 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2 * Tue Nov 01 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
- Add missing french translations for TDE 3.5.13 - Add missing french translations for TDE 3.5.13

Loading…
Cancel
Save