--- rpms/smeserver-locale/sme7/smeserver-locale.spec 2008/10/15 08:13:00 1.50 +++ rpms/smeserver-locale/sme7/smeserver-locale.spec 2010/05/23 19:13:52 1.78 @@ -1,13 +1,13 @@ -# $Id: smeserver-locale.spec,v 1.49 2008/10/13 22:22:41 slords Exp $ +# $Id: smeserver-locale.spec,v 1.77 2010/04/28 21:38:33 slords Exp $ Summary: SME Server localisation module %define name smeserver-locale Name: %{name} %define version 2.0.0 -%define release 4 +%define release 28 %define package_summary SME Server localisation module %define group Applications/System -%define package_locales bg da de el es fr hu id it ja nl pt pt_BR sl sv tr +%define package_locales bg da de el es et fr hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN Version: %{version} Release: %{release}%{?dist} License: GPL @@ -16,6 +16,29 @@ Source: %{name}-%{version}.tar.gz 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 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot BuildArchitectures: noarch BuildRequires: perl @@ -27,6 +50,85 @@ AutoReqProv: no SME Server localisation module %changelog +* 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 @@ -382,6 +484,29 @@ SME Server localisation module %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 +%patch25 -p1 %build LEXICONS=$(find root/etc/e-smith/locale -type f) @@ -409,8 +534,8 @@ 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 %clean @@ -461,6 +586,14 @@ Requires: e-smith-formmagick >= 1.4.0-10 %{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} @@ -473,7 +606,6 @@ Requires: e-smith-formmagick >= 1.4.0-10 %package hu Summary: %{package_summary} - Hungarian Group: %{group} -#Requires: aspell-hu Requires: e-smith-formmagick >= 1.4.0-10 %description hu %{summary} @@ -505,6 +637,14 @@ Requires: e-smith-formmagick >= 1.4.0-10 %{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} @@ -514,6 +654,15 @@ Requires: e-smith-formmagick >= 1.4.0-10 %{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} @@ -532,6 +681,23 @@ Requires: e-smith-formmagick >= 1.4.0-10 %{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} @@ -550,11 +716,26 @@ Requires: e-smith-formmagick >= 1.4.0-10 %{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: aspell-tr 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