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

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