/[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.29 - (show annotations) (download)
Wed Apr 9 13:51:56 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.28: +2 -0 lines
Add Id to top of spec

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

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