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

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