/[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.17 - (show annotations) (download)
Sun Feb 17 07:56:54 2008 UTC (16 years, 3 months ago) by burnat
Branch: MAIN
CVS Tags: smeserver-locale-1_2_0-46_el5_sme
Changes since 1.16: +6 -1 lines
Updates

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

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