1 |
|
# $Id: smeserver-locale.spec,v 1.83 2010/05/25 16:55:30 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.2.0 |
%define version 2.2.0 |
7 |
%define release 37 |
%define release 30 |
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 de es fr it 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 |
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 |
Patch0: smeserver-locale-1.2.0-italian_rc1.patch |
Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch |
17 |
Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch |
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
18 |
Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch |
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
19 |
Patch3: smeserver-locale-1.2.0-bug263-01.patch |
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
20 |
Patch4: smeserver-locale-1.2.0-germanupdates.patch |
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
21 |
Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
Patch6: smeserver-locale-1.2.0-germanupdates1.patch |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
Patch7: smeserver-locale-1.2.0-bug1001-01.patch |
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
24 |
Patch8: smeserver-locale-1.2.0-italian_rc4.patch |
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
Patch9: smeserver-locale-1.2.0-initialtext.patch |
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
Patch10: smeserver-locale-1.2.0-initialtext.patch2 |
Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch |
27 |
Patch11: smeserver-locale-1.2.0-initialtext.patch3 |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch12: smeserver-locale-1.2.0-initialtext-fr.patch |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
patch13: smeserver-locale-1.2.0-novirtual.patch |
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch |
30 |
Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch |
Patch14: smeserver-locale-2.2.0-locale-2009-02-09.patch |
31 |
Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch |
Patch15: smeserver-locale-2.2.0-locale-2009-03-01.patch |
32 |
Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch |
Patch16: smeserver-locale-2.2.0-locale-2009-03-03.patch |
33 |
Patch17: smeserver-locale-1.2.0-spanishupdates2.patch |
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
Patch18: smeserver-locale-1.2.0-spanishupdates3.patch |
Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch |
35 |
Patch19: smeserver-locale-1.2.0-germanupdates2.patch |
Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch |
36 |
Patch20: smeserver-locale-1.2.0-germanupdates3.patch |
Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch |
37 |
Patch21: smeserver-locale-1.2.0-spanishupdates4.patch |
Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch |
38 |
Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch |
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
Patch23: smeserver-locale-1.2.0-italian_standby.patch |
Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch |
40 |
Patch24: smeserver-locale-1.2.0-frmenusplit.patch |
Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch |
41 |
Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch |
Patch25: smeserver-locale-2.2.0-locale-2010-05-23.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 |
|
42 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
43 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
BuildRequires: perl |
BuildRequires: perl |
45 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
46 |
BuildRequires: gettext |
BuildRequires: gettext |
|
BuildRequires: dos2unix |
|
47 |
AutoReqProv: no |
AutoReqProv: no |
48 |
|
|
49 |
%description |
%description |
50 |
SME Server localisation module |
SME Server localisation module |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
54 |
|
- Add Hebrew language [SME: 5971] |
55 |
|
|
56 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
57 |
|
- apply locale 2010-05-23 patch |
58 |
|
|
59 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
60 |
|
- apply locale 2010-04-29 patch |
61 |
|
|
62 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
63 |
|
- apply locale 2010-03-02 patch |
64 |
|
|
65 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
66 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
67 |
|
- Correct previous changelog entry |
68 |
|
- Apply locale 2010-02-27 patch |
69 |
|
|
70 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
71 |
|
- apply locale 2010-02-25 patch |
72 |
|
|
73 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
74 |
|
- apply locale 2009-10-27 patch |
75 |
|
- Add Thai language [SME: 5466] |
76 |
|
|
77 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
78 |
|
- apply locale 2009-08-24 patch |
79 |
|
- Add Polish language [SME: 5437] |
80 |
|
|
81 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
82 |
|
- apply locale 2009-05-27 patch |
83 |
|
- Add Romanian language [SME: 5268] |
84 |
|
|
85 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
86 |
|
- apply locale 2009-05-20 patch |
87 |
|
|
88 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
89 |
|
- apply locale 2009-04-27 patch |
90 |
|
- Add Estonian language [SME: 5199] |
91 |
|
|
92 |
|
* Tue Mar 03 2009 SME Translation Server |
93 |
|
- re-apply locale 2009-03-03 patch |
94 |
|
|
95 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
96 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
97 |
|
|
98 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
99 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
100 |
|
- Added missing bug references to changelog entry [SME: 5002] |
101 |
|
|
102 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
103 |
|
- Add Chineese (China) language [SME: 5002] |
104 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
105 |
|
- Add Russian language [SME: 5002] |
106 |
|
|
107 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
108 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
109 |
|
|
110 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
111 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
112 |
|
|
113 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
114 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
115 |
|
|
116 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
117 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
118 |
|
|
119 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
120 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
121 |
|
|
122 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
123 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
124 |
|
|
125 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
126 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
127 |
|
|
128 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
129 |
|
- Apply 2 Nov 2008 locale patch |
130 |
|
|
131 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
132 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
133 |
|
|
134 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
135 |
|
- Apply 17 Oct 2008 locale patch |
136 |
|
|
137 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
138 |
|
- Apply 16 Oct 2008 locale patch |
139 |
|
|
140 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
141 |
|
- Apply 15 Oct 2008 locale patch |
142 |
|
|
143 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
144 |
|
- Add Japanese language [SME: 4637] |
145 |
|
|
146 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
147 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
148 |
|
|
149 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
150 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
151 |
|
|
152 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
153 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
154 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
155 |
|
|
156 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
157 |
|
- Apply 4 Oct locale patch |
158 |
|
|
159 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
160 |
|
- Remove colored highlights from German locale [SME: 4618] |
161 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
162 |
|
|
163 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
164 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
165 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
166 |
|
|
167 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
168 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
169 |
|
|
170 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
171 |
|
- Apply locale patch |
172 |
|
|
173 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
174 |
|
- Apply locale patch |
175 |
|
|
176 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
177 |
|
- Apply Jul 26 2008 locale patch |
178 |
|
- Add Portuguese language |
179 |
|
- Add Turkish language |
180 |
|
|
181 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
182 |
|
- Apply 1 July 2008 locale patch |
183 |
|
|
184 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
185 |
|
- Apply 27 Jun 2008 locale patch |
186 |
|
|
187 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
188 |
|
- Update to May 5 2008 translations |
189 |
|
- Revert Apr 23 2008 translations (bad patch) |
190 |
|
|
191 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
192 |
|
- Update to Apr 23 2008 translations |
193 |
|
|
194 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
195 |
|
- Update to Apr 1 2008 translations |
196 |
|
|
197 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
198 |
|
- Update to Mar 26 2008 translations |
199 |
|
|
200 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
201 |
|
- Update to Mar 25 2008 translations |
202 |
|
|
203 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
204 |
|
- Fix packages for Brazilian portuguese |
205 |
|
- Update to Mar 18 2008 translations |
206 |
|
|
207 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
208 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
209 |
|
- Add missing aspell module requires |
210 |
|
|
211 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
212 |
|
- Fix requires to require e-smith-formmagick [SME: 3858] |
213 |
|
|
214 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2 |
215 |
|
- Convert panels to UTF-8 [SME: 3858] |
216 |
|
|
217 |
|
* Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1 |
218 |
|
- Roll new stream and considate patches |
219 |
|
|
220 |
|
* Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58 |
221 |
|
- fix conversions for tags with CDATA or marked fuzzy [SME: 4014] |
222 |
|
|
223 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57 |
224 |
|
- add translations for Brazilian portuguese [SME: 63] |
225 |
|
|
226 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56 |
227 |
|
- add translations for Slovian [SME: 892] |
228 |
|
|
229 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55 |
230 |
|
- add translations for Dutch [SME: 2737] |
231 |
|
|
232 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54 |
233 |
|
- add translations for Indonesian [SME: 3260] |
234 |
|
|
235 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53 |
236 |
|
- add translations for Greek [SME: 1690] |
237 |
|
|
238 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
239 |
|
- add translations for Danish [SME: 2688] |
240 |
|
|
241 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51 |
242 |
|
- update translations for Swedish [SME: 3934] |
243 |
|
|
244 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
245 |
|
- update translations for Spanish [SME: 3937] |
246 |
|
|
247 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
248 |
|
- update translations for Italian [SME: 3936] |
249 |
|
|
250 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48 |
251 |
|
- update translations for French [SME: 3935] |
252 |
|
|
253 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47 |
254 |
|
- update translations for German [SME: 3933] |
255 |
|
|
256 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
257 |
|
- update po files, include script to recreate, in .src.rpm only [SME: 3833] |
258 |
|
|
259 |
|
* Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
260 |
|
- rename de and it quota .po files with .tmpl [SME: 3834] |
261 |
|
|
262 |
|
* Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
263 |
|
- Remove redundant germam lexicon reinstall [SME: 3881] |
264 |
|
|
265 |
|
* Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
266 |
|
- Fix fr translation for smtp header in email panels. [SME: 3831] |
267 |
|
|
268 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42 |
269 |
|
- Update de, es, fr and sv translations for yum panel. [SME: 2090] |
270 |
|
|
271 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41 |
272 |
|
- Update de, fr and sv translations for smtp header in email panels. [SME: 2305] |
273 |
|
|
274 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
275 |
|
- Update de, es, fr and sv translations for email panels. [SME: 2296] |
276 |
|
|
277 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39 |
278 |
|
- Italian update for SMTP server [SME: 2305] |
279 |
|
|
280 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38 |
281 |
|
- Italian translations for yum and email panels [SME: 2090] [SME: 2296] |
282 |
|
|
283 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37 |
284 |
- Add SSH_PORT for sv [SME: 3215] |
- Add SSH_PORT for sv [SME: 3748] |
285 |
|
|
286 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36 |
287 |
- System password change made consistant [SME: 3533] |
- System password change made consistant [SME: 3533] |
514 |
%patch22 -p1 |
%patch22 -p1 |
515 |
%patch23 -p1 |
%patch23 -p1 |
516 |
%patch24 -p1 |
%patch24 -p1 |
517 |
%patch26 -p1 |
%patch25 -p1 |
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
%patch34 -p1 |
|
|
|
|
|
%post |
|
518 |
|
|
519 |
%build |
%build |
520 |
LEXICONS=$((find root/etc/e-smith/locale -type f) \ |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
|
| grep -v CVS | grep -v pleasewait) |
|
|
|
|
521 |
for file in $LEXICONS |
for file in $LEXICONS |
522 |
do |
do |
|
/usr/bin/dos2unix $file |
|
523 |
/sbin/e-smith/validate-lexicon $file |
/sbin/e-smith/validate-lexicon $file |
524 |
done |
done |
525 |
|
|
531 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
532 |
|
|
533 |
%install |
%install |
|
set -x |
|
|
|
|
534 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
535 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
536 |
|
|
|
# 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 |
|
|
|
|
537 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
538 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
539 |
|
|
542 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
543 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
544 |
|
|
545 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
546 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
547 |
done |
done |
548 |
|
|
|
# cat >/tmp/pkgmap <<HERE |
|
|
# LPRng printers |
|
|
# base groups|initial.cgi|localnetworks|reboot|remoteaccess|review|useraccounts|userpassword |
|
|
# backup backup |
|
|
# clamav clamav |
|
|
# domains domains |
|
|
# email emailsettings|pseudonyms |
|
|
# formmagick FormMagick |
|
|
# hosts hostentries |
|
|
# ibays ibays |
|
|
# ldap directory |
|
|
# ntp datetime |
|
|
# portforwarding portforwarding |
|
|
# support online-manual|support |
|
|
# proxy proxy |
|
|
# qmailanalog qmailanalog |
|
|
# quota quota |
|
|
# samba workgroup |
|
|
# starterwebsite starterwebsite |
|
|
# viewlogfiles viewlogfiles |
|
|
# yum yum |
|
|
# HERE |
|
|
# |
|
|
# cat /tmp/pkgmap | while read pkg parts |
|
|
# do |
|
|
# for locale in %{package_locales} |
|
|
# do |
|
|
# egrep $parts %{name}-%{version}-%{release}-filelist-$locale \ |
|
|
# %{name}-%{version}-%{release}-filelist-$locale-$pkg |
|
|
# done |
|
|
# done |
|
|
|
|
549 |
%clean |
%clean |
550 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
551 |
|
|
552 |
|
%package bg |
553 |
|
Summary: %{package_summary} - Bulgarian |
554 |
|
Group: %{group} |
555 |
|
Requires: aspell-bg |
556 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
557 |
|
%description bg |
558 |
|
%{summary} |
559 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
560 |
|
|
561 |
|
%package da |
562 |
|
Summary: %{package_summary} - Danish |
563 |
|
Group: %{group} |
564 |
|
Requires: aspell-da |
565 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
566 |
|
%description da |
567 |
|
%{summary} |
568 |
|
%files da -f %{name}-%{version}-%{release}-filelist-da |
569 |
|
|
570 |
%package de |
%package de |
571 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
572 |
Group: %{group} |
Group: %{group} |
573 |
Requires: aspell-de |
Requires: aspell-de |
574 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
575 |
%description de |
%description de |
576 |
%{summary} |
%{summary} |
577 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
578 |
|
|
579 |
|
%package el |
580 |
|
Summary: %{package_summary} - Greek |
581 |
|
Group: %{group} |
582 |
|
Requires: aspell-el |
583 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
584 |
|
%description el |
585 |
|
%{summary} |
586 |
|
%files el -f %{name}-%{version}-%{release}-filelist-el |
587 |
|
|
588 |
%package es |
%package es |
589 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
590 |
Group: %{group} |
Group: %{group} |
591 |
Requires: aspell-es |
Requires: aspell-es |
592 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
593 |
%description es |
%description es |
594 |
%{summary} |
%{summary} |
595 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
596 |
|
|
597 |
|
%package et |
598 |
|
Summary: %{package_summary} - Estonian |
599 |
|
Group: %{group} |
600 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
601 |
|
%description et |
602 |
|
%{summary} |
603 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
604 |
|
|
605 |
%package fr |
%package fr |
606 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
607 |
Group: %{group} |
Group: %{group} |
608 |
Requires: aspell-fr |
Requires: aspell-fr |
609 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
610 |
%description fr |
%description fr |
611 |
%{summary} |
%{summary} |
612 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
613 |
|
|
614 |
|
%package he |
615 |
|
Summary: %{package_summary} - Hungarian |
616 |
|
Group: %{group} |
617 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
618 |
|
%description he |
619 |
|
%{summary} |
620 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
621 |
|
|
622 |
|
%package hu |
623 |
|
Summary: %{package_summary} - Hungarian |
624 |
|
Group: %{group} |
625 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
626 |
|
%description hu |
627 |
|
%{summary} |
628 |
|
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
629 |
|
|
630 |
|
%package id |
631 |
|
Summary: %{package_summary} - Indonesian |
632 |
|
Group: %{group} |
633 |
|
Requires: aspell-id |
634 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
635 |
|
%description id |
636 |
|
%{summary} |
637 |
|
%files id -f %{name}-%{version}-%{release}-filelist-id |
638 |
|
|
639 |
%package it |
%package it |
640 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
641 |
Group: %{group} |
Group: %{group} |
642 |
Requires: aspell-it |
Requires: aspell-it |
643 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
644 |
%description it |
%description it |
645 |
%{summary} |
%{summary} |
646 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
647 |
|
|
648 |
|
%package ja |
649 |
|
Summary: %{package_summary} - Japanese |
650 |
|
Group: %{group} |
651 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
652 |
|
%description ja |
653 |
|
%{summary} |
654 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
655 |
|
|
656 |
|
%package nb |
657 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
658 |
|
Group: %{group} |
659 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
660 |
|
%description nb |
661 |
|
%{summary} |
662 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
663 |
|
|
664 |
|
%package nl |
665 |
|
Summary: %{package_summary} - Dutch |
666 |
|
Group: %{group} |
667 |
|
Requires: aspell-nl |
668 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
669 |
|
%description nl |
670 |
|
%{summary} |
671 |
|
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
672 |
|
|
673 |
|
%package pl |
674 |
|
Summary: %{package_summary} - Polish |
675 |
|
Group: %{group} |
676 |
|
Requires: aspell-pl |
677 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
678 |
|
%description pl |
679 |
|
%{summary} |
680 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
681 |
|
|
682 |
|
%package pt |
683 |
|
Summary: %{package_summary} - Portugese |
684 |
|
Group: %{group} |
685 |
|
Requires: aspell-pt |
686 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
687 |
|
%description pt |
688 |
|
%{summary} |
689 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
690 |
|
|
691 |
|
%package pt_BR |
692 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
693 |
|
Group: %{group} |
694 |
|
Requires: aspell-pt |
695 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
696 |
|
%description pt_BR |
697 |
|
%{summary} |
698 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
699 |
|
|
700 |
|
%package ro |
701 |
|
Summary: %{package_summary} - Romanian |
702 |
|
Group: %{group} |
703 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
704 |
|
%description ro |
705 |
|
%{summary} |
706 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
707 |
|
|
708 |
|
%package ru |
709 |
|
Summary: %{package_summary} - Russian |
710 |
|
Group: %{group} |
711 |
|
Requires: aspell-ru |
712 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
713 |
|
%description ru |
714 |
|
%{summary} |
715 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
716 |
|
|
717 |
|
%package sl |
718 |
|
Summary: %{package_summary} - Slovinian |
719 |
|
Group: %{group} |
720 |
|
Requires: aspell-sl |
721 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
722 |
|
%description sl |
723 |
|
%{summary} |
724 |
|
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
725 |
|
|
726 |
%package sv |
%package sv |
727 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
728 |
Group: %{group} |
Group: %{group} |
729 |
Requires: aspell-sv |
Requires: aspell-sv |
730 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
731 |
%description sv |
%description sv |
732 |
%{summary} |
%{summary} |
733 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
734 |
|
|
735 |
|
%package th |
736 |
|
Summary: %{package_summary} - Thai |
737 |
|
Group: %{group} |
738 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
739 |
|
%description th |
740 |
|
%{summary} |
741 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
742 |
|
|
743 |
|
%package tr |
744 |
|
Summary: %{package_summary} - Turkish |
745 |
|
Group: %{group} |
746 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
747 |
|
%description tr |
748 |
|
%{summary} |
749 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
750 |
|
|
751 |
|
%package zh_CN |
752 |
|
Summary: %{package_summary} - Chinese (China) |
753 |
|
Group: %{group} |
754 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
755 |
|
%description zh_CN |
756 |
|
%{summary} |
757 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |