/[smeserver]/rpms/smeserver-locale/sme7/smeserver-locale.spec
ViewVC logotype

Annotation of /rpms/smeserver-locale/sme7/smeserver-locale.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.14 - (hide annotations) (download)
Tue Feb 5 16:36:41 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-locale-1_2_0-43_el4_sme
Changes since 1.13: +7 -2 lines
Updates

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

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