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

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

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


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

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