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

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