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

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