--- rpms/smeserver-locale/sme7/smeserver-locale.spec 2008/01/21 17:54:06 1.12 +++ rpms/smeserver-locale/sme7/smeserver-locale.spec 2008/10/07 15:30:17 1.46 @@ -1,64 +1,157 @@ +# $Id: smeserver-locale.spec,v 1.45 2008/10/04 22:34:30 snetram Exp $ + Summary: SME Server localisation module %define name smeserver-locale Name: %{name} -%define version 1.2.0 -%define release 39 +%define version 2.0.0 +%define release 1 %define package_summary SME Server localisation module %define group Applications/System -%define package_locales de es fr it sv +%define package_locales bg da de el es fr hu id it nl pt pt_BR sl sv tr 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 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 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] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-56 +- add translations for Slovian [SME: 892] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-55 +- add translations for Dutch [SME: 2737] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-54 +- add translations for Indonesian [SME: 3260] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-53 +- add translations for Greek [SME: 1690] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-52 +- add translations for Danish [SME: 2688] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-51 +- update translations for Swedish [SME: 3934] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-50 +- update translations for Spanish [SME: 3937] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-49 +- update translations for Italian [SME: 3936] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-48 +- update translations for French [SME: 3935] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-47 +- update translations for German [SME: 3933] + +* Sun Feb 17 2008 Stephen Noble 1.2.0-46 +- update po files, include script to recreate, in .src.rpm only [SME: 3833] + +* Fri Feb 15 2008 Stephen Noble 1.2.0-45 +- rename de and it quota .po files with .tmpl [SME: 3834] + +* Sat Feb 09 2008 Stephen Noble 1.2.0-44 +- Remove redundant germam lexicon reinstall [SME: 3881] + +* Thu Jan 31 2008 Stephen Noble 1.2.0-43 +- Fix fr translation for smtp header in email panels. [SME: 3831] + +* Sat Jan 26 2008 Gavin Weight 1.2.0-42 +- Update de, es, fr and sv translations for yum panel. [SME: 2090] + +* Sat Jan 26 2008 Gavin Weight 1.2.0-41 +- Update de, fr and sv translations for smtp header in email panels. [SME: 2305] + +* Sat Jan 26 2008 Gavin Weight 1.2.0-40 +- Update de, es, fr and sv translations for email panels. [SME: 2296] + * Mon Jan 21 2008 Filippo Carletti 1.2.0-39 - Italian update for SMTP server [SME: 2305] @@ -274,52 +367,11 @@ SME Server localisation module %prep %setup -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch19 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch26 -p1 -%patch27 -p1 -%patch28 -p1 -%patch29 -p1 -%patch30 -p1 -%patch31 -p1 -%patch32 -p1 -%patch33 -p1 -%patch34 -p1 -%patch35 -p1 -%patch36 -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 @@ -331,16 +383,9 @@ done /sbin/e-smith/generate-lexicons %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 @@ -353,53 +398,50 @@ do %{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 + %package de 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 +%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 + %package es 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 @@ -408,22 +450,88 @@ Requires: aspell-es 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 hu +Summary: %{package_summary} - Hungarian +Group: %{group} +#Requires: aspell-hu +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 + %package it 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 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 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 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 + %package sv 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 tr +Summary: %{package_summary} - Turkish +Group: %{group} +#Requires: aspell-tr +Requires: e-smith-formmagick >= 1.4.0-10 +%description tr +%{summary} +%files tr -f %{name}-%{version}-%{release}-filelist-tr