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

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