/[smeserver]/rpms/smeserver-locale/sme8/smeserver-locale.spec
ViewVC logotype

Contents of /rpms/smeserver-locale/sme8/smeserver-locale.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.33 - (show annotations) (download)
Fri Jun 27 22:21:08 2008 UTC (16 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-locale-1_4_0-11_el5_sme
Changes since 1.32: +11 -2 lines
Fix patch.  Add bg.

1 # $Id: smeserver-locale.spec,v 1.32 2008/06/27 15:51:08 snetram Exp $
2
3 Summary: SME Server localisation module
4 %define name smeserver-locale
5 Name: %{name}
6 %define version 1.4.0
7 %define release 11
8 %define package_summary SME Server localisation module
9 %define group Applications/System
10 %define package_locales bg da de el es fr hu id it nl pt_BR sl sv
11 Version: %{version}
12 Release: %{release}%{?dist}
13 License: GPL
14 Group: Networking/Daemons
15 Source: %{name}-%{version}.tar.gz
16 Patch1: smeserver-locale-UTF8.patch
17 Patch2: smeserver-locale-remove_pt.patch
18 Patch3: smeserver-locale-2008-03-18.patch
19 Patch4: smeserver-locale-2008-03-25.patch
20 Patch5: smeserver-locale-2008-03-26.patch
21 Patch6: smeserver-locale-2008-04-01.patch
22 Patch7: smeserver-locale-2008-05-05.patch
23 Patch8: smeserver-locale-2008-06-27.patch
24 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25 BuildArchitectures: noarch
26 BuildRequires: perl
27 BuildRequires: e-smith-devtools >= 1.13.1-03
28 BuildRequires: gettext
29 AutoReqProv: no
30
31 %description
32 SME Server localisation module
33
34 %changelog
35 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
36 - Apply 27 Jun 2008 locale patch
37
38 * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
39 - Update to May 5 2008 translations
40 - Revert Apr 23 2008 translations (bad patch)
41
42 * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
43 - Update to Apr 23 2008 translations
44
45 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
46 - Update to Apr 1 2008 translations
47
48 * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
49 - Update to Mar 26 2008 translations
50
51 * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
52 - Update to Mar 25 2008 translations
53
54 * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
55 - Fix packages for Brazilian portuguese
56 - Update to Mar 18 2008 translations
57
58 * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
59 - Move requires e-smith-formmagick to correct places [SME: 3858]
60 - Add missing aspell module requires
61
62 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
63 - Fix requires to require e-smith-formmagick [SME: 3858]
64
65 * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
66 - Convert panels to UTF-8 [SME: 3858]
67
68 * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
69 - Roll new stream and considate patches
70
71 * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
72 - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
73
74 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
75 - add translations for Brazilian portuguese [SME: 63]
76
77 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
78 - add translations for Slovian [SME: 892]
79
80 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
81 - add translations for Dutch [SME: 2737]
82
83 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
84 - add translations for Indonesian [SME: 3260]
85
86 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
87 - add translations for Greek [SME: 1690]
88
89 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
90 - add translations for Danish [SME: 2688]
91
92 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
93 - update translations for Swedish [SME: 3934]
94
95 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
96 - update translations for Spanish [SME: 3937]
97
98 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
99 - update translations for Italian [SME: 3936]
100
101 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
102 - update translations for French [SME: 3935]
103
104 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
105 - update translations for German [SME: 3933]
106
107 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
108 - update po files, include script to recreate, in .src.rpm only [SME: 3833]
109
110 * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
111 - rename de and it quota .po files with .tmpl [SME: 3834]
112
113 * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
114 - Remove redundant germam lexicon reinstall [SME: 3881]
115
116 * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
117 - Fix fr translation for smtp header in email panels. [SME: 3831]
118
119 * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
120 - Update de, es, fr and sv translations for yum panel. [SME: 2090]
121
122 * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
123 - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
124
125 * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
126 - Update de, es, fr and sv translations for email panels. [SME: 2296]
127
128 * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
129 - Italian update for SMTP server [SME: 2305]
130
131 * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
132 - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
133
134 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
135 - Add SSH_PORT for sv [SME: 3748]
136
137 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
138 - System password change made consistant [SME: 3533]
139
140 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
141 - Add Add Italian entries to hostentries [SME: 3207]
142
143 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
144 - Add yum uptodate message [SME: 3768]
145
146 * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
147 - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
148
149 * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
150 - Add SSH_PORT spanish translation update. [SME: 3746]
151
152 * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
153 - Add SSH_PORT for fr and de [SME: 3215]
154
155 * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
156 - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
157
158 * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
159 - Add missing localization again. (Thanks Federico). [SME: 3149]
160
161 * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
162 - Add missing localization (Thanks Federico). [SME: 3149]
163
164 * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
165 - Update French clamav lexicon [SME: 3012]
166
167 * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26
168 - Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937]
169
170 * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-25
171 - Updated backupusb console Translation. (Thanks Federico) [SME: 2937]
172
173 * Tue Jun 12 2007 Gavin Weight <gweight@gmail.com> 1.2.0-24
174 - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]
175
176 * Sat May 05 2007 Gavin Weight <gweight@gmail.com> 1.2.0-23
177 - Updated German Translations. (Thanks Dietmar ) [SME: 711]
178
179 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
180 - Clean up spec so package can be built by koji/plague
181
182 * Sat Apr 07 2007 Gavin Weight <gweight@gmail.com> 1.2.0-22
183 - Updated German Translations/Console. (Thanks Dietmar ) [SME: 711]
184
185 * Fri Mar 02 2007 Gavin Weight <gweight@gmail.com> 1.2.0-21
186 - Updated Spanish Translations. (Thanks Normando) [SME: 2501]
187
188 * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-20
189 - Updated Spanish Translations. (Thanks Normando) [SME: 2287]
190
191 * Sun Feb 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-19
192 - New Swedish Translations for console. (Thanks Chrille). [SME: 911]
193
194 * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-18
195 - Remove references to virtual from sv,it,fr panels [SME: 2297]
196
197 * Tue Feb 06 2007 Gavin Weight <gweight@gmail.com> 1.2.0-17
198 - New Swedish Translations for server-manager (Thanks Chrille). [SME: 911]
199
200 * Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.2.0-16
201 - Remove references to virtual from panels [SME: 1517]
202
203 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
204 - Update to new release naming. No functional changes.
205 - Make Packager generic
206
207 * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
208 - Update French translation - Merci Franck Pierre [SME: 1659]
209
210 * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
211 - Change donate link to www.smeserver.org/donate/ [SME: 1668]
212
213 * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
214 - Change new window target to _blank rather than "new" [SME: 1613]
215
216 * Wed Jun 28 2006 Gavin Weight <gweight@gmail.com> 1.2.0-12
217 - German and Italian text on server-manager front screen updated. [SME: 1659]
218
219 * Tue Jun 27 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-11
220 - Updated italian translations [SME: 1119]
221
222 * Sat Jun 10 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-10
223 - Updated French translations [SME: 1001]
224
225 * Mon May 22 2006 Gavin Weight <gweight@gmail.com> 1.2.0-09
226 - Updated German translation. Thanks Dietmar Berteld. [SME: 1412]
227
228 * Tue May 16 2006 Gavin Weight <gweight@gmail.com> 1.2.0-08
229 - Updated Spanish emailsettings. Thanks Ernesto Lorenz [SME: 1435]
230
231 * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07
232 - Bump release number only
233
234 * Sun May 14 2006 Gavin Weight <gweight@gmail.com> 1.2.0-06sme01
235 - Updated German translations. Thanks Dietmar Berteld. [SME: 1412]
236
237 * Sun Apr 9 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-05
238 - Updated French translations [SME: 263]
239
240 * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-04
241 - Changed online-manual location to contribs.org in es lang. [SME: 1079]
242
243 * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-03
244 - Changed online-manual location to contribs.org. [SME: 1079]
245
246 * Wed Mar 22 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-02
247 - Updated italian translations [SME: 1119]
248
249 * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01
250 - Roll stable stream version. [SME: 1016]
251
252 * Wed Mar 16 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-12
253 - Update French translations [SME: 263]
254
255 * Tue Feb 21 2006 Gavin Weight <gweight@gmail.com> 1.0.1-11
256 - Add loop to run dos2unix before validating lexicon files.
257
258 * Mon Feb 20 2006 Gavin Weight <gweight@gmail.com> 1.0.1-10
259 - New German translations (Thanks Dietmar Berteld) [SME: 823]
260
261 * Wed Feb 15 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-09
262 - Add some French translations [SME: 263]
263
264 * Mon Feb 13 2006 Gavin Weight <gweight@gmail.com> 1.0.1-08
265 - Fixed German (de) domains panel (Thanks Philipp Walker) [SME: 672]
266
267 * Fri Feb 3 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-07
268 - French translations [SME: 263]
269
270 * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-06
271 - Copied English emailsettings lexicon to Spanish so the panel at
272 least works when browsing in Spanish [SME: 386]
273
274 * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-05
275 - French console translations [SME: 181]
276
277 * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-04
278 - French fixup for FormMagick/general [SME: 180]
279
280 * Mon Dec 05 2005 Filippo Carletti <carletti@mobilia.it> 1.0.1-03
281 - Change some too long italian translations [SME: 273]
282
283 * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-02
284 - Change 'standby' to 'stand by' in console [SME: 66]
285
286 * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-01
287 - Roll patches up to 1.0.0-12
288 - Convert all DOS format files to Unix format to ease patching [SME: 66]
289
290 * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-12
291 - Plus encore [SF: 1265560]
292
293 * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
294 - Revise French on review panel [SF: 1293855]
295
296 * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
297 - Add defattr definition to each sub-package [SF: 1296531]
298 - Remove fr-ca to fr relocation - it can stay in e-smith-base, or
299 even get removed entirely. It's for 5.6 -> 6.0 upgrades in any case.
300
301 * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-10
302 - Add aspell-$locale as dependencies of the various locales [SF: 1296531]
303
304 * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-09
305 - Initial work on generating separate locale packages [SF: 1309520]
306 - Do we really want to generate around 80 one to seven file packages?
307 I don't think so - it may be "correct", but it's really ugly
308
309 * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-08
310 - Spec file cleanup [SF: 1309520]
311 - TODO: Generate locale packages to match base packages.
312
313 * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-07
314 - Ensure zero exit status from fr pre scriptlet [SF: 1309520]
315 - TODO: Do we need this any more - IIRC it's for 5.5 -> 6.0
316 It is also in e-smith-base, and should be removed from there
317
318 * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-06
319 - Fix up bug references in changelog (no code change) [SF: 1309520]
320
321 * Fri Oct 14 2005 Filippo Carletti <carletti@mobilia.it> 1.0.0-05
322 - Italian updates
323
324 * Mon Oct 3 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-04
325 - Don't generate the parent (combined) package, just the sub-packages
326 - Remove en_US/en-us files from install tree. They are just here for
327 translation convenience and to provide a comparison with the
328 relevant base packages (TODO: Decide whether to delete them) [SF: 1309520]
329
330 * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-03
331 - Added missing po files (new tarball) [SF: 1309520]
332
333 * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02
334 - Fixup in Italian FormMagick/general (new tarball) [SF: 1309520]
335
336 * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01
337 - Repackaging of all L10Ns except en-us in one RPM. en-us L10Ns live
338 in the base packages. All languages are stored in the single source
339 RPM, but a separate binary RPM is generated per language. [SF: 1309520]
340
341 %prep
342 %setup
343 %patch1 -p1
344 %patch2 -p1
345 %patch3 -p1
346 %patch4 -p1
347 %patch5 -p1
348 %patch6 -p1
349 %patch7 -p1
350 %patch8 -p1
351
352 %build
353 LEXICONS=$(find root/etc/e-smith/locale -type f)
354 for file in $LEXICONS
355 do
356 /sbin/e-smith/validate-lexicon $file
357 done
358
359 for dir in root/etc/e-smith/locale/*
360 do
361 ln -s initial.cgi $dir/etc/e-smith/web/functions/index.cgi
362 done
363
364 /sbin/e-smith/generate-lexicons
365
366 %install
367 rm -rf $RPM_BUILD_ROOT
368 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
369
370 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
371 > %{name}-%{version}-%{release}-filelist
372
373 for locale in %{package_locales}
374 do
375 echo "%defattr(-,root,root)" > \
376 %{name}-%{version}-%{release}-filelist-$locale
377
378 grep locale/$locale %{name}-%{version}-%{release}-filelist >> \
379 %{name}-%{version}-%{release}-filelist-$locale
380 done
381
382 %clean
383 rm -rf $RPM_BUILD_ROOT
384
385 %package bg
386 Summary: %{package_summary} - Bulgarian
387 Group: %{group}
388 Requires: aspell-bg
389 Requires: e-smith-formmagick >= 1.4.0-10
390 %description bg
391 %{summary}
392 %files bg -f %{name}-%{version}-%{release}-filelist-bg
393
394 %package da
395 Summary: %{package_summary} - Danish
396 Group: %{group}
397 Requires: aspell-da
398 Requires: e-smith-formmagick >= 1.4.0-10
399 %description da
400 %{summary}
401 %files da -f %{name}-%{version}-%{release}-filelist-da
402
403 %package de
404 Summary: %{package_summary} - German
405 Group: %{group}
406 Requires: aspell-de
407 Requires: e-smith-formmagick >= 1.4.0-10
408 %description de
409 %{summary}
410 %files de -f %{name}-%{version}-%{release}-filelist-de
411
412 %package el
413 Summary: %{package_summary} - Greek
414 Group: %{group}
415 Requires: aspell-el
416 Requires: e-smith-formmagick >= 1.4.0-10
417 %description el
418 %{summary}
419 %files el -f %{name}-%{version}-%{release}-filelist-el
420
421 %package es
422 Summary: %{package_summary} - Spanish
423 Group: %{group}
424 Requires: aspell-es
425 Requires: e-smith-formmagick >= 1.4.0-10
426 %description es
427 %{summary}
428 %files es -f %{name}-%{version}-%{release}-filelist-es
429
430 %package fr
431 Summary: %{package_summary} - French
432 Group: %{group}
433 Requires: aspell-fr
434 Requires: e-smith-formmagick >= 1.4.0-10
435 %description fr
436 %{summary}
437 %files fr -f %{name}-%{version}-%{release}-filelist-fr
438
439 %package hu
440 Summary: %{package_summary} - Hungarian
441 Group: %{group}
442 Requires: e-smith-formmagick >= 1.4.0-10
443 %description hu
444 %{summary}
445 %files hu -f %{name}-%{version}-%{release}-filelist-hu
446
447 %package id
448 Summary: %{package_summary} - Indonesian
449 Group: %{group}
450 Requires: aspell-id
451 Requires: e-smith-formmagick >= 1.4.0-10
452 %description id
453 %{summary}
454 %files id -f %{name}-%{version}-%{release}-filelist-id
455
456 %package it
457 Summary: %{package_summary} - Italian
458 Group: %{group}
459 Requires: aspell-it
460 Requires: e-smith-formmagick >= 1.4.0-10
461 %description it
462 %{summary}
463 %files it -f %{name}-%{version}-%{release}-filelist-it
464
465 %package nl
466 Summary: %{package_summary} - Dutch
467 Group: %{group}
468 Requires: aspell-nl
469 Requires: e-smith-formmagick >= 1.4.0-10
470 %description nl
471 %{summary}
472 %files nl -f %{name}-%{version}-%{release}-filelist-nl
473
474 %package pt_BR
475 Summary: %{package_summary} - Portugese
476 Group: %{group}
477 Requires: aspell-pt
478 Requires: e-smith-formmagick >= 1.4.0-10
479 %description pt_BR
480 %{summary}
481 %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
482
483 %package sl
484 Summary: %{package_summary} - Slovinian
485 Group: %{group}
486 Requires: aspell-sl
487 Requires: e-smith-formmagick >= 1.4.0-10
488 %description sl
489 %{summary}
490 %files sl -f %{name}-%{version}-%{release}-filelist-sl
491
492 %package sv
493 Summary: %{package_summary} - Swedish
494 Group: %{group}
495 Requires: aspell-sv
496 Requires: e-smith-formmagick >= 1.4.0-10
497 %description sv
498 %{summary}
499 %files sv -f %{name}-%{version}-%{release}-filelist-sv

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed