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

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