--- rpms/smeserver-locale/sme7/smeserver-locale.spec 2008/03/02 10:29:06 1.19 +++ rpms/smeserver-locale/sme7/smeserver-locale.spec 2011/10/04 19:39:05 1.91 @@ -1,82 +1,251 @@ +# $Id: smeserver-locale.spec,v 1.90 2011/06/20 19:31:29 slords Exp $ + Summary: SME Server localisation module %define name smeserver-locale Name: %{name} -%define version 1.2.0 -%define release 57 +%define version 2.0.0 +%define release 36 %define package_summary SME Server localisation module %define group Applications/System -%define package_locales da de el es fr id it nl pt sl sv +%define package_locales bg da de el es et fr he hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN zh_TW Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.gz -Patch0: smeserver-locale-1.2.0-italian_rc1.patch -Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch -Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch -Patch3: smeserver-locale-1.2.0-bug263-01.patch -Patch4: smeserver-locale-1.2.0-germanupdates.patch -Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch -Patch6: smeserver-locale-1.2.0-germanupdates1.patch -Patch7: smeserver-locale-1.2.0-bug1001-01.patch -Patch8: smeserver-locale-1.2.0-italian_rc4.patch -Patch9: smeserver-locale-1.2.0-initialtext.patch -Patch10: smeserver-locale-1.2.0-initialtext.patch2 -Patch11: smeserver-locale-1.2.0-initialtext.patch3 -Patch12: smeserver-locale-1.2.0-initialtext-fr.patch -Patch13: smeserver-locale-1.2.0-novirtual.patch -Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch -Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch -Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch -Patch17: smeserver-locale-1.2.0-spanishupdates2.patch -Patch18: smeserver-locale-1.2.0-spanishupdates3.patch -Patch19: smeserver-locale-1.2.0-germanupdates2.patch -Patch20: smeserver-locale-1.2.0-germanupdates3.patch -Patch21: smeserver-locale-1.2.0-spanishupdates4.patch -Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch -Patch23: smeserver-locale-1.2.0-italian_standby.patch -Patch24: smeserver-locale-1.2.0-frmenusplit.patch -Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch -Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch -Patch28: smeserver-locale-1.2.0-sshportfrde.patch -Patch29: smeserver-locale-1.2.0-sshport_es_update.patch -Patch30: smeserver-locale-1.2.0-spanishupdates5.patch -Patch31: smeserver-locale-1.2.0-up2date.patch -Patch32: smeserver-locale-1.2.0-itHostentries.patch -Patch33: smeserver-locale-1.2.0-systemPassword.patch -Patch34: smeserver-locale-1.2.0-sshport_sv.patch -Patch35: smeserver-locale-1.2.0-italian_yum_email.patch -Patch36: smeserver-locale-1.2.0-italian_smtpserver.patch -Patch37: smeserver-locale-1.2.0-de_es_fr_sv_emailupdate.patch -Patch38: smeserver-locale-1.2.0-de_fr_sv_smtpheaderupdate.patch -Patch39: smeserver-locale-1.2.0-de_es_fr_sv_yumtextupdate.patch -Patch40: smeserver-locale-1.2.0-frEmailsettings.patch -Patch41: smeserver-locale-1.2.0-removeDeReinstall.patch -Patch42: smeserver-locale-1.2.0-tmpl.patch -Patch43: smeserver-locale-1.2.0-enPOupdate.patch -Patch44: smeserver-locale-1.2.0-Updates2mar08de.patch -Patch45: smeserver-locale-1.2.0-Updates2mar08fr.patch -Patch46: smeserver-locale-1.2.0-Updates2mar08it.patch -Patch47: smeserver-locale-1.2.0-Updates2mar08es.patch -Patch48: smeserver-locale-1.2.0-Updates2mar08sv.patch -Patch49: smeserver-locale-1.2.0-AddDanish2mar08.patch -Patch50: smeserver-locale-1.2.0-AddGreek2mar08.patch -Patch51: smeserver-locale-1.2.0-AddIndonesian2mar08.patch -Patch52: smeserver-locale-1.2.0-AddDutch2mar08.patch -Patch53: smeserver-locale-1.2.0-AddSlovinian2mar08.patch -Patch54: smeserver-locale-1.2.0-AddPortugese2mar08.patch +Patch0: smeserver-locale-2.0.0-locale-2008-10-08.patch +Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch +Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch +Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch +Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch +Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch +Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch +Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch +Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch +Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch +Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch +Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch +Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch +Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch +Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch +Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch +Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch +Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch +Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch +Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch +Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch +Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch +Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch +Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch +Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch +Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch +Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch +Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch +Patch28: smeserver-locale-2.0.0-locale-2010-07-13.patch +Patch29: smeserver-locale-2.0.0-locale-2010-08-18.patch +Patch30: smeserver-locale-2.0.0-locale-2011-03-06.patch +Patch31: smeserver-locale-2.0.0-locale-2011-04-27.patch +Patch32: smeserver-locale-2.0.0-locale-2011-06-20.patch +Patch33: smeserver-locale-2.0.0-locale-2011-10-04.patch BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: perl BuildRequires: e-smith-devtools >= 1.13.1-03 BuildRequires: gettext -BuildRequires: dos2unix AutoReqProv: no %description SME Server localisation module %changelog +* Tue Oct 04 2011 SME Translation Server 2.0.0-36.el6 +- apply locale 2011-10-04 patch + +* Mon Jun 20 2011 SME Translation Server 2.0.0-35.el6 +- apply locale 2011-06-20 patch + +* Wed Apr 27 2011 SME Translation Server 2.0.0-34.sme +- apply locale 2011-04-27 patch + +* Sun Mar 06 2011 SME Translation Server 2.0.0-33.sme +- apply locale 2011-03-06 patch + +* Wed Aug 18 2010 SME Translation Server 2.0.0-32.sme +- apply locale 2010-08-18 patch + +* Tue Jul 13 2010 SME Translation Server 2.0.0-31.sme +- Add Chinese (Taiwan) language [SME: 6106] +- apply locale 2010-07-13 patch + +* Thu Jun 24 2010 SME Translation Server 2.0.0-30.sme +- apply locale 2010-06-24 patch + +* Tue May 25 2010 Shad L. Lords - 2.0.0-29.sme +- Add Hebrew language [SME: 5970] +- apply locale 2010-05-25 patch + +* Sun May 23 2010 SME Translation Server 2.0.0-28.sme +- apply locale 2010-05-23 patch + +* Wed Apr 28 2010 SME Translation Server 2.0.0-27.sme +- apply locale 2010-04-28 patch + +* Tue Mar 02 2010 SME Translation Server 2.0.0-26.sme +- apply locale 2010-03-02 patch + +* Sat Feb 27 2010 Jonathan Martens - 2.0.0-25.sme +- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] + +* Tue Oct 27 2009 SME Translation Server 2.0.0-24.sme +- apply locale 2009-10-27 patch +- Add Thai language [SME: 5466] + +* Mon Aug 24 2009 SME Translation Server 2.0.0-23.sme +- apply locale 2009-08-24 patch +- Add Polish language [SME: 5436] + +* Wed May 27 2009 SME Translation Server 2.0.0-22.sme +- apply locale 2009-05-27 patch +- Add Romanian language [SME: 5268] + +* Wed May 20 2009 SME Translation Server 2.0.0-21.sme +- apply locale 2009-05-20 patch + +* Mon Apr 27 2009 SME Translation Server 2.0.0-20.sme +- apply locale 2009-04-27 patch +- Add Estonian language [SME: 5199] + +* Tue Mar 03 2009 SME Translation Server +- re-apply locale 2009-03-03 patch + +* Tue Mar 3 2009 Jonathan Martens - 2.0.0-18.sme +- Apply 3 Mar 2009 locale patch [SME: 5051] + +* Sun Mar 1 2009 Jonathan Martens - 2.0.0-17.sme +- Apply 1 Mar 2009 locale patch [SME: 5017] +- Added missing bug references to changelog entry [SME: 5002] + +* Mon Feb 09 2009 Shad L. Lords - 2.0.0-16.sme +- Add Chineese (China) language [SME: 5002] +- Add Norwegian (Bokmal) language [SME: 5002] +- Add Russian language [SME: 5002] + +* Sat Jan 31 2009 Jonathan Martens - 2.0.0-15.sme +- Apply 31 Jan 2009 locale patch [SME: 4950] + +* Wed Dec 31 2008 Jonathan Martens - 2.0.0-14.sme +- Apply 31 Dec 2008 locale patch [SME: 4899] + +* Sun Nov 30 2008 Jonathan Martens - 2.0.0-13.sme +- Apply 30 Nov 2008 locale patch [SME: 4813] + +* Tue Nov 19 2008 Jonathan Martens - 2.0.0-12.sme +- Apply 19 Nov 2008 locale patch [SME: 4748] + +* Tue Nov 18 2008 Jonathan Martens - 2.0.0-11.sme +- Apply 18 Nov 2008 locale patch [SME: 4748] + +* Fri Nov 7 2008 Jonathan Martens - 2.0.0-10.sme +- Apply 7 Nov 2008 locale patch [SME: 4748] + +* Thu Nov 6 2008 Jonathan Martens - 2.0.0-9.sme +- Apply 6 Nov 2008 locale patch [SME: 4746] + +* Sun Nov 2 2008 Shad L. Lords - 2.0.0-8.sme +- Apply 2 Nov 2008 locale patch + +* Mon Oct 20 2008 Stephen Noble - 2.0.0-7.sme +- Apply 19 Oct 2008 locale patch [SME: 4692] + +* Thu Oct 17 2008 Jonathan Martens - 2.0.0-6.sme +- Apply 17 Oct 2008 locale patch + +* Thu Oct 16 2008 Jonathan Martens - 2.0.0-5.sme +- Apply 16 Oct 2008 locale patch + +* Wed Oct 15 2008 Jonathan Martens - 2.0.0-4.sme +- Apply 15 Oct 2008 locale patch + +* Mon Oct 13 2008 Shad L. Lords - 2.0.0-3.sme +- Add Japanese language [SME: 4637] + +* Wed Oct 8 2008 Jonathan Martens - 2.0.0-2.sme +- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] + +* Tue Oct 7 2008 Shad L. Lords 2.0.0-1.sme +- Roll new stream to separate sme7/sme8 trees [SME: 4633] + +* Sat Oct 4 2008 Jonathan Martens - 1.4.0-20 +- Reverting all changes made Oct 4, as they should be made through Pootle +- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] + +* Sat Oct 4 2008 Jonathan Martens - 1.4.0-19 +- Apply 4 Oct locale patch + +* Sat Oct 4 2008 Jonathan Martens - 1.4.0-18 +- Remove colored highlights from German locale [SME: 4618] +- Fix changelog entry in previous entry for [SME: 4616] + +* Sat Oct 4 2008 Jonathan Martens - 1.4.0-17 +- Remove references to the wiki from the German locale [SME: 4616] +- Fix bug referrence in previous changelog entry [SME: 4617] + +* Fri Oct 3 2008 Shad L. Lords - 1.4.0-16 +- Apply locale patch to fix many translation bugs [SME: 4615] + +* Tue Sep 30 2008 Stephen Noble - 1.4.0-15 +- Apply locale patch + +* Sat Sep 27 2008 Stephen Noble - 1.4.0-14 +- Apply locale patch + +* Sat Jul 26 2008 Jonathan Martens 1.4.0-13 +- Apply Jul 26 2008 locale patch +- Add Portuguese language +- Add Turkish language + +* Tue Jul 1 2008 Jonathan Martens 1.4.0-12 +- Apply 1 July 2008 locale patch + +* Fri Jun 27 2008 Jonathan Martens 1.4.0-11 +- Apply 27 Jun 2008 locale patch + +* Tue May 5 2008 Shad L. Lords 1.4.0-10 +- Update to May 5 2008 translations +- Revert Apr 23 2008 translations (bad patch) + +* Wed Apr 23 2008 Jonathan Martens 1.4.0-9 +- Update to Apr 23 2008 translations + +* Tue Apr 1 2008 Shad L. Lords 1.4.0-8 +- Update to Apr 1 2008 translations + +* Wed Mar 26 2008 Shad L. Lords 1.4.0-7 +- Update to Mar 26 2008 translations + +* Tue Mar 25 2008 Shad L. Lords 1.4.0-6 +- Update to Mar 25 2008 translations + +* Tue Mar 18 2008 Shad L. Lords 1.4.0-5 +- Fix packages for Brazilian portuguese +- Update to Mar 18 2008 translations + +* Tue Mar 11 2008 Shad L. Lords 1.4.0-4 +- Move requires e-smith-formmagick to correct places [SME: 3858] +- Add missing aspell module requires + +* Mon Mar 10 2008 Shad L. Lords 1.4.0-3 +- Fix requires to require e-smith-formmagick [SME: 3858] + +* Mon Mar 10 2008 Shad L. Lords 1.4.0-2 +- Convert panels to UTF-8 [SME: 3858] + +* Fri Mar 7 2008 Shad L. Lords 1.4.0-1 +- Roll new stream and considate patches + +* Wed Mar 05 2008 Stephen Noble 1.2.0-58 +- fix conversions for tags with CDATA or marked fuzzy [SME: 4014] + * Sun Feb 17 2008 Stephen Noble 1.2.0-57 - add translations for Brazilian portuguese [SME: 63] @@ -371,6 +540,7 @@ SME Server localisation module %patch22 -p1 %patch23 -p1 %patch24 -p1 +%patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 @@ -379,37 +549,11 @@ SME Server localisation module %patch31 -p1 %patch32 -p1 %patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -p1 -%patch37 -p1 -%patch38 -p1 -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 -%patch42 -p1 -%patch43 -p1 -%patch44 -p1 -%patch45 -p1 -%patch46 -p1 -%patch47 -p1 -%patch48 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 - -%post %build -LEXICONS=$((find root/etc/e-smith/locale -type f) \ - | grep -v CVS | grep -v pleasewait) - +LEXICONS=$(find root/etc/e-smith/locale -type f) for file in $LEXICONS do - /usr/bin/dos2unix $file /sbin/e-smith/validate-lexicon $file done @@ -420,19 +564,10 @@ done /sbin/e-smith/generate-lexicons -ln -s pt root/etc/e-smith/locale/pt-br - %install -set -x - rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) -# These live in the base packages - copied here to ease translation -# and to make it easier to see when the base changes -rm -rf $RPM_BUILD_ROOT/usr/share/locale/en_US -rm -rf $RPM_BUILD_ROOT/etc/e-smith/local/en-us - /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ > %{name}-%{version}-%{release}-filelist @@ -441,48 +576,27 @@ do echo "%defattr(-,root,root)" > \ %{name}-%{version}-%{release}-filelist-$locale - grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ - %{name}-%{version}-%{release}-filelist-$locale + grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ + %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale done -# cat >/tmp/pkgmap <= 1.4.0-10 +%description bg +%{summary} +%files bg -f %{name}-%{version}-%{release}-filelist-bg + %package da Summary: %{package_summary} - Danish Group: %{group} +Requires: aspell-da +Requires: e-smith-formmagick >= 1.4.0-10 %description da %{summary} %files da -f %{name}-%{version}-%{release}-filelist-da @@ -491,6 +605,7 @@ Group: %{group} Summary: %{package_summary} - German Group: %{group} Requires: aspell-de +Requires: e-smith-formmagick >= 1.4.0-10 %description de %{summary} %files de -f %{name}-%{version}-%{release}-filelist-de @@ -498,6 +613,8 @@ Requires: aspell-de %package el Summary: %{package_summary} - Greek Group: %{group} +Requires: aspell-el +Requires: e-smith-formmagick >= 1.4.0-10 %description el %{summary} %files el -f %{name}-%{version}-%{release}-filelist-el @@ -506,21 +623,49 @@ Group: %{group} Summary: %{package_summary} - Spanish Group: %{group} Requires: aspell-es +Requires: e-smith-formmagick >= 1.4.0-10 %description es %{summary} %files es -f %{name}-%{version}-%{release}-filelist-es +%package et +Summary: %{package_summary} - Estonian +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description et +%{summary} +%files et -f %{name}-%{version}-%{release}-filelist-et + %package fr Summary: %{package_summary} - French Group: %{group} Requires: aspell-fr +Requires: e-smith-formmagick >= 1.4.0-10 %description fr %{summary} %files fr -f %{name}-%{version}-%{release}-filelist-fr +%package he +Summary: %{package_summary} - Hebrew +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description he +%{summary} +%files he -f %{name}-%{version}-%{release}-filelist-he + +%package hu +Summary: %{package_summary} - Hungarian +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description hu +%{summary} +%files hu -f %{name}-%{version}-%{release}-filelist-hu + %package id Summary: %{package_summary} - Indonesian Group: %{group} +Requires: aspell-id +Requires: e-smith-formmagick >= 1.4.0-10 %description id %{summary} %files id -f %{name}-%{version}-%{release}-filelist-id @@ -529,27 +674,85 @@ Group: %{group} Summary: %{package_summary} - Italian Group: %{group} Requires: aspell-it +Requires: e-smith-formmagick >= 1.4.0-10 %description it %{summary} %files it -f %{name}-%{version}-%{release}-filelist-it +%package ja +Summary: %{package_summary} - Japanese +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description ja +%{summary} +%files ja -f %{name}-%{version}-%{release}-filelist-ja + +%package nb +Summary: %{package_summary} - Norwegian (Bokmal) +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description nb +%{summary} +%files nb -f %{name}-%{version}-%{release}-filelist-nb + %package nl Summary: %{package_summary} - Dutch Group: %{group} +Requires: aspell-nl +Requires: e-smith-formmagick >= 1.4.0-10 %description nl %{summary} %files nl -f %{name}-%{version}-%{release}-filelist-nl +%package pl +Summary: %{package_summary} - Polish +Group: %{group} +Requires: aspell-pl +Requires: e-smith-formmagick >= 1.4.0-10 +%description pl +%{summary} +%files pl -f %{name}-%{version}-%{release}-filelist-pl + %package pt Summary: %{package_summary} - Portugese Group: %{group} +Requires: aspell-pt +Requires: e-smith-formmagick >= 1.4.0-10 %description pt %{summary} %files pt -f %{name}-%{version}-%{release}-filelist-pt +%package pt_BR +Summary: %{package_summary} - Portugese (Brazilian) +Group: %{group} +Requires: aspell-pt +Requires: e-smith-formmagick >= 1.4.0-10 +%description pt_BR +%{summary} +%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR + +%package ro +Summary: %{package_summary} - Romanian +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description ro +%{summary} +%files ro -f %{name}-%{version}-%{release}-filelist-ro + +%package ru +Summary: %{package_summary} - Russian +Group: %{group} +Requires: aspell-ru +Requires: e-smith-formmagick >= 1.4.0-10 +%description ru +%{summary} +%files ru -f %{name}-%{version}-%{release}-filelist-ru + %package sl Summary: %{package_summary} - Slovinian Group: %{group} +Requires: aspell-sl +Requires: e-smith-formmagick >= 1.4.0-10 %description sl %{summary} %files sl -f %{name}-%{version}-%{release}-filelist-sl @@ -558,6 +761,39 @@ Group: %{group} Summary: %{package_summary} - Swedish Group: %{group} Requires: aspell-sv +Requires: e-smith-formmagick >= 1.4.0-10 %description sv %{summary} %files sv -f %{name}-%{version}-%{release}-filelist-sv + +%package th +Summary: %{package_summary} - Thai +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description th +%{summary} +%files th -f %{name}-%{version}-%{release}-filelist-th + +%package tr +Summary: %{package_summary} - Turkish +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description tr +%{summary} +%files tr -f %{name}-%{version}-%{release}-filelist-tr + +%package zh_CN +Summary: %{package_summary} - Chinese (China) +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description zh_CN +%{summary} +%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN + +%package zh_TW +Summary: %{package_summary} - Chinese (Taiwan) +Group: %{group} +Requires: e-smith-formmagick >= 1.4.0-10 +%description zh_TW +%{summary} +%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW