1 |
# $Id: smeserver-locale.spec,v 1.37 2008/09/27 11:04:25 dungog Exp $ |
# $Id: smeserver-locale.spec,v 1.89 2011/04/27 16:47:47 slords Exp $ |
2 |
|
|
3 |
Summary: SME Server localisation module |
Summary: SME Server localisation module |
4 |
%define name smeserver-locale |
%define name smeserver-locale |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.4.0 |
%define version 2.0.0 |
7 |
%define release 15 |
%define release 35 |
8 |
%define package_summary SME Server localisation module |
%define package_summary SME Server localisation module |
9 |
%define group Applications/System |
%define group Applications/System |
10 |
%define package_locales bg da de el es fr hu id it nl pt pt_BR sl sv tr |
%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 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch1: smeserver-locale-UTF8.patch |
Patch0: smeserver-locale-2.0.0-locale-2008-10-08.patch |
17 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch |
21 |
Patch6: smeserver-locale-2008-04-01.patch |
Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch |
22 |
Patch7: smeserver-locale-2008-05-05.patch |
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
23 |
Patch8: smeserver-locale-2008-06-27.patch |
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
24 |
Patch9: smeserver-locale-2008-07-01.patch |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
|
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
|
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
|
Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch |
31 |
|
Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch |
33 |
|
Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch |
41 |
|
Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch |
43 |
|
Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch |
44 |
|
Patch28: smeserver-locale-2.0.0-locale-2010-07-13.patch |
45 |
|
Patch29: smeserver-locale-2.0.0-locale-2010-08-18.patch |
46 |
|
Patch30: smeserver-locale-2.0.0-locale-2011-03-06.patch |
47 |
|
Patch31: smeserver-locale-2.0.0-locale-2011-04-27.patch |
48 |
|
Patch32: smeserver-locale-2.0.0-locale-2011-06-20.patch |
49 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
50 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
51 |
BuildRequires: perl |
BuildRequires: perl |
57 |
SME Server localisation module |
SME Server localisation module |
58 |
|
|
59 |
%changelog |
%changelog |
60 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.0.0-35.el6 |
61 |
|
- apply locale 2011-06-20 patch |
62 |
|
|
63 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0.0-34.sme |
64 |
|
- apply locale 2011-04-27 patch |
65 |
|
|
66 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme |
67 |
|
- apply locale 2011-03-06 patch |
68 |
|
|
69 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme |
70 |
|
- apply locale 2010-08-18 patch |
71 |
|
|
72 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.sme |
73 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
74 |
|
- apply locale 2010-07-13 patch |
75 |
|
|
76 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme |
77 |
|
- apply locale 2010-06-24 patch |
78 |
|
|
79 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
80 |
|
- Add Hebrew language [SME: 5970] |
81 |
|
- apply locale 2010-05-25 patch |
82 |
|
|
83 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
84 |
|
- apply locale 2010-05-23 patch |
85 |
|
|
86 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
87 |
|
- apply locale 2010-04-28 patch |
88 |
|
|
89 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
90 |
|
- apply locale 2010-03-02 patch |
91 |
|
|
92 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
93 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
94 |
|
|
95 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
96 |
|
- apply locale 2009-10-27 patch |
97 |
|
- Add Thai language [SME: 5466] |
98 |
|
|
99 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
100 |
|
- apply locale 2009-08-24 patch |
101 |
|
- Add Polish language [SME: 5436] |
102 |
|
|
103 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
104 |
|
- apply locale 2009-05-27 patch |
105 |
|
- Add Romanian language [SME: 5268] |
106 |
|
|
107 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
108 |
|
- apply locale 2009-05-20 patch |
109 |
|
|
110 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
111 |
|
- apply locale 2009-04-27 patch |
112 |
|
- Add Estonian language [SME: 5199] |
113 |
|
|
114 |
|
* Tue Mar 03 2009 SME Translation Server |
115 |
|
- re-apply locale 2009-03-03 patch |
116 |
|
|
117 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
118 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
119 |
|
|
120 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
121 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
122 |
|
- Added missing bug references to changelog entry [SME: 5002] |
123 |
|
|
124 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
125 |
|
- Add Chineese (China) language [SME: 5002] |
126 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
127 |
|
- Add Russian language [SME: 5002] |
128 |
|
|
129 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
130 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
131 |
|
|
132 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
133 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
134 |
|
|
135 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
136 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
137 |
|
|
138 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
139 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
140 |
|
|
141 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme |
142 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
143 |
|
|
144 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
145 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
146 |
|
|
147 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme |
148 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
149 |
|
|
150 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme |
151 |
|
- Apply 2 Nov 2008 locale patch |
152 |
|
|
153 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme |
154 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
155 |
|
|
156 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme |
157 |
|
- Apply 17 Oct 2008 locale patch |
158 |
|
|
159 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme |
160 |
|
- Apply 16 Oct 2008 locale patch |
161 |
|
|
162 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme |
163 |
|
- Apply 15 Oct 2008 locale patch |
164 |
|
|
165 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
166 |
|
- Add Japanese language [SME: 4637] |
167 |
|
|
168 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme |
169 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
170 |
|
|
171 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
172 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
173 |
|
|
174 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
175 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
176 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
177 |
|
|
178 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
179 |
|
- Apply 4 Oct locale patch |
180 |
|
|
181 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
182 |
|
- Remove colored highlights from German locale [SME: 4618] |
183 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
184 |
|
|
185 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
186 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
187 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
188 |
|
|
189 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
190 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
191 |
|
|
192 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
193 |
- Apply locale patch |
- Apply locale patch |
194 |
|
|
511 |
|
|
512 |
%prep |
%prep |
513 |
%setup |
%setup |
514 |
|
%patch0 -p1 |
515 |
%patch1 -p1 |
%patch1 -p1 |
516 |
%patch2 -p1 |
%patch2 -p1 |
517 |
%patch3 -p1 |
%patch3 -p1 |
524 |
%patch10 -p1 |
%patch10 -p1 |
525 |
%patch11 -p1 |
%patch11 -p1 |
526 |
%patch12 -p1 |
%patch12 -p1 |
527 |
|
%patch13 -p1 |
528 |
|
%patch14 -p1 |
529 |
|
%patch15 -p1 |
530 |
|
%patch16 -p1 |
531 |
|
%patch17 -p1 |
532 |
|
%patch18 -p1 |
533 |
|
%patch19 -p1 |
534 |
|
%patch20 -p1 |
535 |
|
%patch21 -p1 |
536 |
|
%patch22 -p1 |
537 |
|
%patch23 -p1 |
538 |
|
%patch24 -p1 |
539 |
|
%patch25 -p1 |
540 |
|
%patch26 -p1 |
541 |
|
%patch27 -p1 |
542 |
|
%patch28 -p1 |
543 |
|
%patch29 -p1 |
544 |
|
%patch30 -p1 |
545 |
|
%patch31 -p1 |
546 |
|
%patch32 -p1 |
547 |
|
|
548 |
%build |
%build |
549 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
571 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
572 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
573 |
|
|
574 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
575 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
576 |
done |
done |
577 |
|
|
578 |
%clean |
%clean |
623 |
%{summary} |
%{summary} |
624 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
625 |
|
|
626 |
|
%package et |
627 |
|
Summary: %{package_summary} - Estonian |
628 |
|
Group: %{group} |
629 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
630 |
|
%description et |
631 |
|
%{summary} |
632 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
633 |
|
|
634 |
%package fr |
%package fr |
635 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
636 |
Group: %{group} |
Group: %{group} |
640 |
%{summary} |
%{summary} |
641 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
642 |
|
|
643 |
|
%package he |
644 |
|
Summary: %{package_summary} - Hebrew |
645 |
|
Group: %{group} |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description he |
648 |
|
%{summary} |
649 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
650 |
|
|
651 |
%package hu |
%package hu |
652 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
653 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
654 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
655 |
%description hu |
%description hu |
656 |
%{summary} |
%{summary} |
674 |
%{summary} |
%{summary} |
675 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
676 |
|
|
677 |
|
%package ja |
678 |
|
Summary: %{package_summary} - Japanese |
679 |
|
Group: %{group} |
680 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
681 |
|
%description ja |
682 |
|
%{summary} |
683 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
684 |
|
|
685 |
|
%package nb |
686 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
687 |
|
Group: %{group} |
688 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
689 |
|
%description nb |
690 |
|
%{summary} |
691 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
692 |
|
|
693 |
%package nl |
%package nl |
694 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
695 |
Group: %{group} |
Group: %{group} |
699 |
%{summary} |
%{summary} |
700 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
701 |
|
|
702 |
|
%package pl |
703 |
|
Summary: %{package_summary} - Polish |
704 |
|
Group: %{group} |
705 |
|
Requires: aspell-pl |
706 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
707 |
|
%description pl |
708 |
|
%{summary} |
709 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
710 |
|
|
711 |
%package pt |
%package pt |
712 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
713 |
Group: %{group} |
Group: %{group} |
726 |
%{summary} |
%{summary} |
727 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
728 |
|
|
729 |
|
%package ro |
730 |
|
Summary: %{package_summary} - Romanian |
731 |
|
Group: %{group} |
732 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
733 |
|
%description ro |
734 |
|
%{summary} |
735 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
736 |
|
|
737 |
|
%package ru |
738 |
|
Summary: %{package_summary} - Russian |
739 |
|
Group: %{group} |
740 |
|
Requires: aspell-ru |
741 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
742 |
|
%description ru |
743 |
|
%{summary} |
744 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
745 |
|
|
746 |
%package sl |
%package sl |
747 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
748 |
Group: %{group} |
Group: %{group} |
761 |
%{summary} |
%{summary} |
762 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
763 |
|
|
764 |
|
%package th |
765 |
|
Summary: %{package_summary} - Thai |
766 |
|
Group: %{group} |
767 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
768 |
|
%description th |
769 |
|
%{summary} |
770 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
771 |
|
|
772 |
%package tr |
%package tr |
773 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
774 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
775 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
776 |
%description tr |
%description tr |
777 |
%{summary} |
%{summary} |
778 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
779 |
|
|
780 |
|
%package zh_CN |
781 |
|
Summary: %{package_summary} - Chinese (China) |
782 |
|
Group: %{group} |
783 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
784 |
|
%description zh_CN |
785 |
|
%{summary} |
786 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
787 |
|
|
788 |
|
%package zh_TW |
789 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
790 |
|
Group: %{group} |
791 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
792 |
|
%description zh_TW |
793 |
|
%{summary} |
794 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |