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

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