/[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.1 - (show annotations) (download)
Tue Jun 12 17:29:06 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-locale-1_2_0-23_el4_sme
Import on branch sme7 of package smeserver-locale-1.2.0-23.el4.sme.src.rpm

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

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