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

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

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


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

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