/[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.19 - (hide annotations) (download)
Sun Mar 2 10:29:06 2008 UTC (16 years, 8 months ago) by burnat
Branch: MAIN
Changes since 1.18: +3 -3 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 burnat 1.18 %define release 57
6 slords 1.1 %define package_summary SME Server localisation module
7     %define group Applications/System
8 burnat 1.18 %define package_locales da de el es fr id it nl pt sl sv
9 slords 1.1 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 bytegw 1.15 Patch41: smeserver-locale-1.2.0-removeDeReinstall.patch
55 burnat 1.16 Patch42: smeserver-locale-1.2.0-tmpl.patch
56 burnat 1.17 Patch43: smeserver-locale-1.2.0-enPOupdate.patch
57 burnat 1.18 Patch44: smeserver-locale-1.2.0-Updates2mar08de.patch
58     Patch45: smeserver-locale-1.2.0-Updates2mar08fr.patch
59     Patch46: smeserver-locale-1.2.0-Updates2mar08it.patch
60     Patch47: smeserver-locale-1.2.0-Updates2mar08es.patch
61     Patch48: smeserver-locale-1.2.0-Updates2mar08sv.patch
62     Patch49: smeserver-locale-1.2.0-AddDanish2mar08.patch
63     Patch50: smeserver-locale-1.2.0-AddGreek2mar08.patch
64     Patch51: smeserver-locale-1.2.0-AddIndonesian2mar08.patch
65     Patch52: smeserver-locale-1.2.0-AddDutch2mar08.patch
66     Patch53: smeserver-locale-1.2.0-AddSlovinian2mar08.patch
67     Patch54: smeserver-locale-1.2.0-AddPortugese2mar08.patch
68 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
69     BuildArchitectures: noarch
70     BuildRequires: perl
71     BuildRequires: e-smith-devtools >= 1.13.1-03
72     BuildRequires: gettext
73     BuildRequires: dos2unix
74     AutoReqProv: no
75    
76     %description
77     SME Server localisation module
78    
79     %changelog
80 burnat 1.18 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
81     - add translations for Brazilian portuguese [SME: 63]
82    
83     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
84     - add translations for Slovian [SME: 892]
85    
86     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
87     - add translations for Dutch [SME: 2737]
88    
89     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
90     - add translations for Indonesian [SME: 3260]
91    
92     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
93     - add translations for Greek [SME: 1690]
94    
95     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
96     - add translations for Danish [SME: 2688]
97    
98     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
99     - update translations for Swedish [SME: 3934]
100    
101     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
102 burnat 1.19 - update translations for Spanish [SME: 3937]
103 burnat 1.18
104     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
105 burnat 1.19 - update translations for Italian [SME: 3936]
106 burnat 1.18
107     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
108 burnat 1.19 - update translations for French [SME: 3935]
109 burnat 1.18
110     * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
111     - update translations for German [SME: 3933]
112    
113 burnat 1.17 * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
114     - update po files, include script to recreate, in .src.rpm only [SME: 3833]
115    
116 burnat 1.16 * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
117     - rename de and it quota .po files with .tmpl [SME: 3834]
118    
119 bytegw 1.15 * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
120     - Remove redundant germam lexicon reinstall [SME: 3881]
121    
122 slords 1.14 * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
123     - Fix fr translation for smtp header in email panels. [SME: 3831]
124    
125 bytegw 1.13 * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
126     - Update de, es, fr and sv translations for yum panel. [SME: 2090]
127    
128     * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
129     - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
130    
131     * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
132     - Update de, es, fr and sv translations for email panels. [SME: 2296]
133    
134 bytegw 1.12 * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
135     - Italian update for SMTP server [SME: 2305]
136    
137     * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
138     - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
139    
140 bytegw 1.11 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
141 bytegw 1.12 - Add SSH_PORT for sv [SME: 3748]
142 bytegw 1.11
143 bytegw 1.10 * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
144     - System password change made consistant [SME: 3533]
145    
146     * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
147     - Add Add Italian entries to hostentries [SME: 3207]
148    
149     * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
150     - Add yum uptodate message [SME: 3768]
151    
152 bytegw 1.9 * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
153     - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
154    
155 bytegw 1.8 * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
156     - Add SSH_PORT spanish translation update. [SME: 3746]
157    
158 bytegw 1.7 * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
159     - Add SSH_PORT for fr and de [SME: 3215]
160    
161 bytegw 1.6 * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
162     - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
163    
164     * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
165     - Add missing localization again. (Thanks Federico). [SME: 3149]
166    
167 slords 1.5 * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
168     - Add missing localization (Thanks Federico). [SME: 3149]
169    
170 slords 1.4 * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
171     - Update French clamav lexicon [SME: 3012]
172    
173 slords 1.3 * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26
174     - Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937]
175    
176     * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-25
177     - Updated backupusb console Translation. (Thanks Federico) [SME: 2937]
178    
179 slords 1.2 * Tue Jun 12 2007 Gavin Weight <gweight@gmail.com> 1.2.0-24
180     - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]
181    
182 slords 1.1 * Sat May 05 2007 Gavin Weight <gweight@gmail.com> 1.2.0-23
183     - Updated German Translations. (Thanks Dietmar ) [SME: 711]
184    
185     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
186     - Clean up spec so package can be built by koji/plague
187    
188     * Sat Apr 07 2007 Gavin Weight <gweight@gmail.com> 1.2.0-22
189     - Updated German Translations/Console. (Thanks Dietmar ) [SME: 711]
190    
191     * Fri Mar 02 2007 Gavin Weight <gweight@gmail.com> 1.2.0-21
192     - Updated Spanish Translations. (Thanks Normando) [SME: 2501]
193    
194     * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-20
195     - Updated Spanish Translations. (Thanks Normando) [SME: 2287]
196    
197     * Sun Feb 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-19
198     - New Swedish Translations for console. (Thanks Chrille). [SME: 911]
199    
200     * Sun Feb 11 2007 Stephen Noble <support@dungog.net> 1.2.0-18
201     - Remove references to virtual from sv,it,fr panels [SME: 2297]
202    
203     * Tue Feb 06 2007 Gavin Weight <gweight@gmail.com> 1.2.0-17
204     - New Swedish Translations for server-manager (Thanks Chrille). [SME: 911]
205    
206     * Sat Jan 13 2007 Shad L. Lords <slords@mail.com> 1.2.0-16
207     - Remove references to virtual from panels [SME: 1517]
208    
209     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
210     - Update to new release naming. No functional changes.
211     - Make Packager generic
212    
213     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15
214     - Update French translation - Merci Franck Pierre [SME: 1659]
215    
216     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14
217     - Change donate link to www.smeserver.org/donate/ [SME: 1668]
218    
219     * Fri Jun 30 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13
220     - Change new window target to _blank rather than "new" [SME: 1613]
221    
222     * Wed Jun 28 2006 Gavin Weight <gweight@gmail.com> 1.2.0-12
223     - German and Italian text on server-manager front screen updated. [SME: 1659]
224    
225     * Tue Jun 27 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-11
226     - Updated italian translations [SME: 1119]
227    
228     * Sat Jun 10 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-10
229     - Updated French translations [SME: 1001]
230    
231     * Mon May 22 2006 Gavin Weight <gweight@gmail.com> 1.2.0-09
232     - Updated German translation. Thanks Dietmar Berteld. [SME: 1412]
233    
234     * Tue May 16 2006 Gavin Weight <gweight@gmail.com> 1.2.0-08
235     - Updated Spanish emailsettings. Thanks Ernesto Lorenz [SME: 1435]
236    
237     * Mon May 15 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-07
238     - Bump release number only
239    
240     * Sun May 14 2006 Gavin Weight <gweight@gmail.com> 1.2.0-06sme01
241     - Updated German translations. Thanks Dietmar Berteld. [SME: 1412]
242    
243     * Sun Apr 9 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.2.0-05
244     - Updated French translations [SME: 263]
245    
246     * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-04
247     - Changed online-manual location to contribs.org in es lang. [SME: 1079]
248    
249     * Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-03
250     - Changed online-manual location to contribs.org. [SME: 1079]
251    
252     * Wed Mar 22 2006 Filippo Carletti <carletti@mobilia.it> 1.2.0-02
253     - Updated italian translations [SME: 1119]
254    
255     * Thu Mar 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-01
256     - Roll stable stream version. [SME: 1016]
257    
258     * Wed Mar 16 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-12
259     - Update French translations [SME: 263]
260    
261     * Tue Feb 21 2006 Gavin Weight <gweight@gmail.com> 1.0.1-11
262     - Add loop to run dos2unix before validating lexicon files.
263    
264     * Mon Feb 20 2006 Gavin Weight <gweight@gmail.com> 1.0.1-10
265     - New German translations (Thanks Dietmar Berteld) [SME: 823]
266    
267     * Wed Feb 15 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-09
268     - Add some French translations [SME: 263]
269    
270     * Mon Feb 13 2006 Gavin Weight <gweight@gmail.com> 1.0.1-08
271     - Fixed German (de) domains panel (Thanks Philipp Walker) [SME: 672]
272    
273     * Fri Feb 3 2006 Franck Pierre <grand-pa@grand-pa.dyndns.org> 1.0.1-07
274     - French translations [SME: 263]
275    
276     * Mon Jan 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-06
277     - Copied English emailsettings lexicon to Spanish so the panel at
278     least works when browsing in Spanish [SME: 386]
279    
280     * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-05
281     - French console translations [SME: 181]
282    
283     * Wed Dec 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-04
284     - French fixup for FormMagick/general [SME: 180]
285    
286     * Mon Dec 05 2005 Filippo Carletti <carletti@mobilia.it> 1.0.1-03
287     - Change some too long italian translations [SME: 273]
288    
289     * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-02
290     - Change 'standby' to 'stand by' in console [SME: 66]
291    
292     * Wed Oct 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.1-01
293     - Roll patches up to 1.0.0-12
294     - Convert all DOS format files to Unix format to ease patching [SME: 66]
295    
296     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-12
297     - Plus encore [SF: 1265560]
298    
299     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
300     - Revise French on review panel [SF: 1293855]
301    
302     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-11
303     - Add defattr definition to each sub-package [SF: 1296531]
304     - Remove fr-ca to fr relocation - it can stay in e-smith-base, or
305     even get removed entirely. It's for 5.6 -> 6.0 upgrades in any case.
306    
307     * Mon Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-10
308     - Add aspell-$locale as dependencies of the various locales [SF: 1296531]
309    
310     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-09
311     - Initial work on generating separate locale packages [SF: 1309520]
312     - Do we really want to generate around 80 one to seven file packages?
313     I don't think so - it may be "correct", but it's really ugly
314    
315     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-08
316     - Spec file cleanup [SF: 1309520]
317     - TODO: Generate locale packages to match base packages.
318    
319     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-07
320     - Ensure zero exit status from fr pre scriptlet [SF: 1309520]
321     - TODO: Do we need this any more - IIRC it's for 5.5 -> 6.0
322     It is also in e-smith-base, and should be removed from there
323    
324     * Sat Oct 15 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-06
325     - Fix up bug references in changelog (no code change) [SF: 1309520]
326    
327     * Fri Oct 14 2005 Filippo Carletti <carletti@mobilia.it> 1.0.0-05
328     - Italian updates
329    
330     * Mon Oct 3 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-04
331     - Don't generate the parent (combined) package, just the sub-packages
332     - Remove en_US/en-us files from install tree. They are just here for
333     translation convenience and to provide a comparison with the
334     relevant base packages (TODO: Decide whether to delete them) [SF: 1309520]
335    
336     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-03
337     - Added missing po files (new tarball) [SF: 1309520]
338    
339     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-02
340     - Fixup in Italian FormMagick/general (new tarball) [SF: 1309520]
341    
342     * Sat Oct 1 2005 Gordon Rowell <gordonr@gormand.com.au> 1.0.0-01
343     - Repackaging of all L10Ns except en-us in one RPM. en-us L10Ns live
344     in the base packages. All languages are stored in the single source
345     RPM, but a separate binary RPM is generated per language. [SF: 1309520]
346    
347     %prep
348     %setup
349     %patch0 -p1
350     %patch1 -p1
351     %patch2 -p1
352     %patch3 -p1
353     %patch4 -p1
354     %patch5 -p1
355     %patch6 -p1
356     %patch7 -p1
357     %patch8 -p1
358     %patch9 -p1
359     %patch10 -p1
360     %patch11 -p1
361     %patch12 -p1
362     %patch13 -p1
363     %patch14 -p1
364     %patch15 -p1
365     %patch16 -p1
366     %patch17 -p1
367     %patch18 -p1
368     %patch19 -p1
369     %patch20 -p1
370 slords 1.2 %patch21 -p1
371 slords 1.3 %patch22 -p1
372     %patch23 -p1
373 slords 1.4 %patch24 -p1
374 bytegw 1.6 %patch26 -p1
375     %patch27 -p1
376 bytegw 1.7 %patch28 -p1
377 bytegw 1.8 %patch29 -p1
378 bytegw 1.9 %patch30 -p1
379 bytegw 1.10 %patch31 -p1
380     %patch32 -p1
381     %patch33 -p1
382 bytegw 1.11 %patch34 -p1
383 bytegw 1.12 %patch35 -p1
384     %patch36 -p1
385 bytegw 1.13 %patch37 -p1
386     %patch38 -p1
387     %patch39 -p1
388 slords 1.14 %patch40 -p1
389 bytegw 1.15 %patch41 -p1
390 burnat 1.16 %patch42 -p1
391 burnat 1.17 %patch43 -p1
392 burnat 1.18 %patch44 -p1
393     %patch45 -p1
394     %patch46 -p1
395     %patch47 -p1
396     %patch48 -p1
397     %patch49 -p1
398     %patch50 -p1
399     %patch51 -p1
400     %patch52 -p1
401     %patch53 -p1
402     %patch54 -p1
403 bytegw 1.6
404 slords 1.1 %post
405    
406     %build
407     LEXICONS=$((find root/etc/e-smith/locale -type f) \
408     | grep -v CVS | grep -v pleasewait)
409    
410     for file in $LEXICONS
411     do
412     /usr/bin/dos2unix $file
413     /sbin/e-smith/validate-lexicon $file
414     done
415    
416     for dir in root/etc/e-smith/locale/*
417     do
418     ln -s initial.cgi $dir/etc/e-smith/web/functions/index.cgi
419     done
420    
421     /sbin/e-smith/generate-lexicons
422    
423 burnat 1.18 ln -s pt root/etc/e-smith/locale/pt-br
424    
425 slords 1.1 %install
426     set -x
427    
428     rm -rf $RPM_BUILD_ROOT
429     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
430    
431     # These live in the base packages - copied here to ease translation
432     # and to make it easier to see when the base changes
433     rm -rf $RPM_BUILD_ROOT/usr/share/locale/en_US
434     rm -rf $RPM_BUILD_ROOT/etc/e-smith/local/en-us
435    
436     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
437     > %{name}-%{version}-%{release}-filelist
438    
439     for locale in %{package_locales}
440     do
441     echo "%defattr(-,root,root)" > \
442     %{name}-%{version}-%{release}-filelist-$locale
443    
444     grep locale/$locale %{name}-%{version}-%{release}-filelist >> \
445     %{name}-%{version}-%{release}-filelist-$locale
446     done
447    
448     # cat >/tmp/pkgmap <<HERE
449     # LPRng printers
450     # base groups|initial.cgi|localnetworks|reboot|remoteaccess|review|useraccounts|userpassword
451     # backup backup
452     # clamav clamav
453     # domains domains
454     # email emailsettings|pseudonyms
455     # formmagick FormMagick
456     # hosts hostentries
457     # ibays ibays
458     # ldap directory
459     # ntp datetime
460     # portforwarding portforwarding
461     # support online-manual|support
462     # proxy proxy
463     # qmailanalog qmailanalog
464     # quota quota
465     # samba workgroup
466     # starterwebsite starterwebsite
467     # viewlogfiles viewlogfiles
468     # yum yum
469     # HERE
470     #
471     # cat /tmp/pkgmap | while read pkg parts
472     # do
473     # for locale in %{package_locales}
474     # do
475     # egrep $parts %{name}-%{version}-%{release}-filelist-$locale \
476     # %{name}-%{version}-%{release}-filelist-$locale-$pkg
477     # done
478     # done
479    
480     %clean
481     rm -rf $RPM_BUILD_ROOT
482    
483 burnat 1.18 %package da
484     Summary: %{package_summary} - Danish
485     Group: %{group}
486     %description da
487     %{summary}
488     %files da -f %{name}-%{version}-%{release}-filelist-da
489    
490 slords 1.1 %package de
491     Summary: %{package_summary} - German
492     Group: %{group}
493     Requires: aspell-de
494     %description de
495     %{summary}
496     %files de -f %{name}-%{version}-%{release}-filelist-de
497    
498 burnat 1.18 %package el
499     Summary: %{package_summary} - Greek
500     Group: %{group}
501     %description el
502     %{summary}
503     %files el -f %{name}-%{version}-%{release}-filelist-el
504    
505 slords 1.1 %package es
506     Summary: %{package_summary} - Spanish
507     Group: %{group}
508     Requires: aspell-es
509     %description es
510     %{summary}
511     %files es -f %{name}-%{version}-%{release}-filelist-es
512    
513     %package fr
514     Summary: %{package_summary} - French
515     Group: %{group}
516     Requires: aspell-fr
517     %description fr
518     %{summary}
519     %files fr -f %{name}-%{version}-%{release}-filelist-fr
520    
521 burnat 1.18 %package id
522     Summary: %{package_summary} - Indonesian
523     Group: %{group}
524     %description id
525     %{summary}
526     %files id -f %{name}-%{version}-%{release}-filelist-id
527    
528 slords 1.1 %package it
529     Summary: %{package_summary} - Italian
530     Group: %{group}
531     Requires: aspell-it
532     %description it
533     %{summary}
534     %files it -f %{name}-%{version}-%{release}-filelist-it
535    
536 burnat 1.18 %package nl
537     Summary: %{package_summary} - Dutch
538     Group: %{group}
539     %description nl
540     %{summary}
541     %files nl -f %{name}-%{version}-%{release}-filelist-nl
542    
543     %package pt
544     Summary: %{package_summary} - Portugese
545     Group: %{group}
546     %description pt
547     %{summary}
548     %files pt -f %{name}-%{version}-%{release}-filelist-pt
549    
550     %package sl
551     Summary: %{package_summary} - Slovinian
552     Group: %{group}
553     %description sl
554     %{summary}
555     %files sl -f %{name}-%{version}-%{release}-filelist-sl
556    
557 slords 1.1 %package sv
558     Summary: %{package_summary} - Swedish
559     Group: %{group}
560     Requires: aspell-sv
561     %description sv
562     %{summary}
563     %files sv -f %{name}-%{version}-%{release}-filelist-sv

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