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

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