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

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

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

Revision 1.13 by bytegw, Sat Jan 26 14:34:12 2008 UTC Revision 1.101 by wellsi, Tue Oct 8 02:08:33 2013 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.100 2013/09/14 18:55:25 wellsi Exp $
2    
3  Summary: SME Server localisation module  Summary: SME Server localisation module
4  %define name smeserver-locale  %define name smeserver-locale
5  Name: %{name}  Name: %{name}
6  %define version 1.2.0  %define version 2.2.0
7  %define release 42  %define release 44
8  %define package_summary SME Server localisation module  %define package_summary SME Server localisation module
9  %define group Applications/System  %define group Applications/System
10  %define package_locales de es fr it sv  %define package_locales bg da de el es et fr he hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN zh_TW
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: GPL  License: GPL
14  Group: Networking/Daemons  Group: Networking/Daemons
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-locale-1.2.0-italian_rc1.patch  Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch
26  Patch10: smeserver-locale-1.2.0-initialtext.patch2  Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch
27  Patch11: smeserver-locale-1.2.0-initialtext.patch3  Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch
28  Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch
29  patch13: smeserver-locale-1.2.0-novirtual.patch  Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch
30  Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch  Patch14: smeserver-locale-2.2.0-locale-2009-02-09.patch
31  Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch  Patch15: smeserver-locale-2.2.0-locale-2009-03-01.patch
32  Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch  Patch16: smeserver-locale-2.2.0-locale-2009-03-03.patch
33  Patch17: smeserver-locale-1.2.0-spanishupdates2.patch  Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch
34  Patch18: smeserver-locale-1.2.0-spanishupdates3.patch  Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch
35  Patch19: smeserver-locale-1.2.0-germanupdates2.patch  Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch
36  Patch20: smeserver-locale-1.2.0-germanupdates3.patch  Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch
37  Patch21: smeserver-locale-1.2.0-spanishupdates4.patch  Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch
38  Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch  Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch
39  Patch23: smeserver-locale-1.2.0-italian_standby.patch  Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch
40  Patch24: smeserver-locale-1.2.0-frmenusplit.patch  Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch
41  Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch  Patch25: smeserver-locale-2.2.0-locale-2010-05-23.patch
42  Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch  Patch26: smeserver-locale-2.2.0-locale-2010-06-08.patch
43  Patch28: smeserver-locale-1.2.0-sshportfrde.patch  Patch27: smeserver-locale-2.2.0-locale-2010-06-24.patch
44  Patch29: smeserver-locale-1.2.0-sshport_es_update.patch  Patch28: smeserver-locale-2.2.0-locale-2010-07-13.patch
45  Patch30: smeserver-locale-1.2.0-spanishupdates5.patch  Patch29: smeserver-locale-2.2.0-locale-2010-08-18.patch
46  Patch31: smeserver-locale-1.2.0-up2date.patch  Patch30: smeserver-locale-2.2.0-locale-2010-10-08.patch
47  Patch32: smeserver-locale-1.2.0-itHostentries.patch  Patch31: smeserver-locale-2.2.0-locale-2011-03-06.patch
48  Patch33: smeserver-locale-1.2.0-systemPassword.patch  Patch32: smeserver-locale-2.2.0-locale-2011-04-27.patch
49  Patch34: smeserver-locale-1.2.0-sshport_sv.patch  Patch33: smeserver-locale-2.2.0-locale-2011-06-20.patch
50  Patch35: smeserver-locale-1.2.0-italian_yum_email.patch  Patch34: smeserver-locale-2.2.0-locale-2011-10-04.patch
51  Patch36: smeserver-locale-1.2.0-italian_smtpserver.patch  Patch35: smeserver-locale-2.2.0-locale-2011-11-23.patch
52  Patch37: smeserver-locale-1.2.0-de_es_fr_sv_emailupdate.patch  Patch36: smeserver-locale-2.2.0-locale-2012-03-20.patch
53  Patch38: smeserver-locale-1.2.0-de_fr_sv_smtpheaderupdate.patch  Patch37: smeserver-locale-2.2.0-locale-2013-07-04.patch
54  Patch39: smeserver-locale-1.2.0-de_es_fr_sv_yumtextupdate.patch  Patch38: smeserver-locale-2.2.0-locale-2013-09-14.patch
55    Patch39: smeserver-locale-2.2.0-locale-2013-10-07.patch
56  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
57  BuildArchitectures: noarch  BuildArchitectures: noarch
58  BuildRequires: perl  BuildRequires: perl
59  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
60  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
61  AutoReqProv: no  AutoReqProv: no
62    
63  %description  %description
64  SME Server localisation module  SME Server localisation module
65    
66  %changelog  %changelog
67    * Mon Oct 07 2013 Ian Wells <esmith@wellsi.com> 2.2.0-44.el6
68    - apply locale 2013-10-07 patch from pootle [SME: 7877]
69    
70    * Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 2.2.0-43.el6
71    - apply locale 2013-09-14 patch from pootle [SME: 7847]
72    
73    * Thu Jul 04 2013 Ian Wells <esmith@wellsi.com> 2.2.0-42.el6
74    - apply locale 2013-07-04 patch from pootle [SME: 7734]
75    
76    * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.el6
77    - apply locale 2012-03-20 patch
78    
79    * Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.el6
80    - apply locale 2011-11-23 patch
81    
82    * Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.el6
83    - apply locale 2011-10-04 patch
84    
85    * Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.el6
86    - apply locale 2011-06-20 patch
87    
88    * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme
89    - apply locale 2011-04-27 patch
90    
91    * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme
92    - apply locale 2011-03-06 patch
93    
94    * Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme
95    - apply locale 2010-10-08 patch
96    
97    * Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme
98    - apply locale 2010-08-18 patch
99    
100    * Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme
101    - Add Chinese (Taiwan) language [SME: 6106]
102    - apply locale 2010-07-13 patch
103    
104    * Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme
105    - apply locale 2010-06-24 patch
106    
107    * Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme
108    - apply locale 2010-06-08 patch
109    
110    * Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme
111    - Add Hebrew language [SME: 5971]
112    
113    * Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme
114    - apply locale 2010-05-23 patch
115    
116    * Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme
117    - apply locale 2010-04-29 patch
118    
119    * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme
120    - apply locale 2010-03-02 patch
121    
122    * Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme
123    - Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803]
124    - Correct previous changelog entry
125    - Apply locale 2010-02-27 patch
126    
127    * Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme
128    - apply locale 2010-02-25 patch
129    
130    * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme
131    - apply locale 2009-10-27 patch
132    - Add Thai language [SME: 5466]
133    
134    * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme
135    - apply locale 2009-08-24 patch
136    - Add Polish language [SME: 5437]
137    
138    * Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme
139    - apply locale 2009-05-27 patch
140    - Add Romanian language [SME: 5268]
141    
142    * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme
143    - apply locale 2009-05-20 patch
144    
145    * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme
146    - apply locale 2009-04-27 patch
147    - Add Estonian language [SME: 5199]
148    
149    * Tue Mar 03 2009 SME Translation Server
150    - re-apply locale 2009-03-03 patch
151    
152    * Tue Mar  3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme
153    - Apply  3 Mar 2009 locale patch [SME: 5051]
154    
155    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme
156    - Apply  1 Mar 2009 locale patch [SME: 5017]
157    - Added missing bug references to changelog entry [SME: 5002]
158    
159    * Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme
160    - Add Chineese (China) language [SME: 5002]
161    - Add Norwegian (Bokmal) language [SME: 5002]
162    - Add Russian language [SME: 5002]
163    
164    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme
165    - Apply 31 Jan 2009 locale patch [SME: 4950]
166    
167    * Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme
168    - Apply 31 Dec 2008 locale patch [SME: 4899]
169    
170    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme
171    - Apply 30 Nov 2008 locale patch [SME: 4813]
172    
173    * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme
174    - Apply 19 Nov 2008 locale patch [SME: 4748]
175    
176    * Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme
177    - Apply 18 Nov 2008 locale patch [SME: 4748]
178    
179    * Fri Nov  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme
180    - Apply  7 Nov 2008 locale patch [SME: 4748]
181    
182    * Thu Nov  6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme
183    - Apply  6 Nov 2008 locale patch [SME: 4746]
184    
185    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme
186    - Apply 2 Nov 2008 locale patch
187    
188    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme
189    - Apply 19 Oct 2008 locale patch [SME: 4692]
190    
191    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme
192    - Apply 17 Oct 2008 locale patch
193    
194    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme
195    - Apply 16 Oct 2008 locale patch
196    
197    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme
198    - Apply 15 Oct 2008 locale patch
199    
200    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme
201    - Add Japanese language [SME: 4637]
202    
203    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme
204    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
205    
206    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
207    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
208    
209    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
210    - Reverting all changes made Oct 4, as they should be made through Pootle
211    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
212    
213    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
214    - Apply 4 Oct locale patch
215    
216    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
217    - Remove colored highlights from German locale [SME: 4618]
218    - Fix changelog entry in previous entry for [SME: 4616]
219    
220    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
221    - Remove references to the wiki from the German locale [SME: 4616]
222    - Fix bug referrence in previous changelog entry [SME: 4617]
223    
224    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
225    - Apply locale patch to fix many translation bugs [SME: 4615]
226    
227    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
228    - Apply locale patch
229    
230    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
231    - Apply locale patch
232    
233    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
234    - Apply Jul 26 2008 locale patch
235    - Add Portuguese language
236    - Add Turkish language
237    
238    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
239    - Apply 1 July 2008 locale patch
240    
241    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
242    - Apply 27 Jun 2008 locale patch
243    
244    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
245    - Update to May 5 2008 translations
246    - Revert Apr 23 2008 translations (bad patch)
247    
248    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
249    - Update to Apr 23 2008 translations
250    
251    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
252    - Update to Apr 1 2008 translations
253    
254    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
255    - Update to Mar 26 2008 translations
256    
257    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
258    - Update to Mar 25 2008 translations
259    
260    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
261    - Fix packages for Brazilian portuguese
262    - Update to Mar 18 2008 translations
263    
264    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
265    - Move requires e-smith-formmagick to correct places [SME: 3858]
266    - Add missing aspell module requires
267    
268    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
269    - Fix requires to require e-smith-formmagick [SME: 3858]
270    
271    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
272    - Convert panels to UTF-8 [SME: 3858]
273    
274    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
275    - Roll new stream and considate patches
276    
277    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
278    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
279    
280    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
281    - add translations for Brazilian portuguese [SME: 63]
282    
283    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
284    - add translations for Slovian    [SME: 892]
285    
286    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
287    - add translations for Dutch      [SME: 2737]
288    
289    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
290    - add translations for Indonesian [SME: 3260]
291    
292    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
293    - add translations for Greek      [SME: 1690]
294    
295    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
296    - add translations for Danish     [SME: 2688]
297    
298    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
299    - update translations for Swedish [SME: 3934]
300    
301    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
302    - update translations for Spanish [SME: 3937]
303    
304    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
305    - update translations for Italian [SME: 3936]
306    
307    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
308    - update translations for French  [SME: 3935]
309    
310    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
311    - update translations for German  [SME: 3933]
312    
313    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
314    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
315    
316    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
317    - rename de and it quota .po files with .tmpl [SME: 3834]
318    
319    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
320    - Remove redundant germam lexicon reinstall [SME: 3881]
321    
322    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
323    - Fix fr translation for smtp header in email panels. [SME: 3831]
324    
325  * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42  * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
326  - Update de, es, fr and sv translations for yum panel. [SME: 2090]  - Update de, es, fr and sv translations for yum panel. [SME: 2090]
327    
# Line 311  SME Server localisation module Line 571  SME Server localisation module
571  %patch22 -p1  %patch22 -p1
572  %patch23 -p1  %patch23 -p1
573  %patch24 -p1  %patch24 -p1
574    %patch25 -p1
575  %patch26 -p1  %patch26 -p1
576  %patch27 -p1  %patch27 -p1
577  %patch28 -p1  %patch28 -p1
# Line 326  SME Server localisation module Line 587  SME Server localisation module
587  %patch38 -p1  %patch38 -p1
588  %patch39 -p1  %patch39 -p1
589    
 %post  
   
590  %build  %build
591  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
592  for file in $LEXICONS  for file in $LEXICONS
593  do  do
     /usr/bin/dos2unix $file  
594      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
595  done  done
596    
# Line 346  done Line 602  done
602  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
603    
604  %install  %install
 set -x  
   
605  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
606  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
607    
 # These live in the base packages - copied here to ease translation  
 # and to make it easier to see when the base changes  
 rm -rf $RPM_BUILD_ROOT/usr/share/locale/en_US  
 rm -rf $RPM_BUILD_ROOT/etc/e-smith/local/en-us  
   
608  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
609      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
610    
# Line 364  do Line 613  do
613      echo "%defattr(-,root,root)" > \      echo "%defattr(-,root,root)" > \
614          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
615    
616      grep locale/$locale %{name}-%{version}-%{release}-filelist >> \      grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \
617          %{name}-%{version}-%{release}-filelist-$locale           %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale
618  done  done
619    
 # cat >/tmp/pkgmap <<HERE  
 # LPRng printers  
 # base  groups|initial.cgi|localnetworks|reboot|remoteaccess|review|useraccounts|userpassword  
 # backup        backup  
 # clamav        clamav  
 # domains       domains  
 # email emailsettings|pseudonyms  
 # formmagick    FormMagick  
 # hosts hostentries  
 # ibays ibays  
 # ldap  directory  
 # ntp   datetime  
 # portforwarding        portforwarding  
 # support       online-manual|support  
 # proxy proxy  
 # qmailanalog   qmailanalog  
 # quota quota  
 # samba workgroup  
 # starterwebsite        starterwebsite  
 # viewlogfiles  viewlogfiles  
 # yum   yum  
 # HERE  
 #  
 # cat /tmp/pkgmap | while read pkg parts  
 # do  
 #     for locale in %{package_locales}  
 #     do  
 #       egrep $parts %{name}-%{version}-%{release}-filelist-$locale \  
 #               %{name}-%{version}-%{release}-filelist-$locale-$pkg  
 #     done  
 # done  
   
620  %clean  %clean
621  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
622    
623    %package bg
624    Summary: %{package_summary} - Bulgarian
625    Group: %{group}
626    Requires: aspell-bg
627    Requires: e-smith-formmagick >= 1.4.0-10
628    %description bg
629    %{summary}
630    %files bg -f %{name}-%{version}-%{release}-filelist-bg
631    
632    %package da
633    Summary: %{package_summary} - Danish
634    Group: %{group}
635    Requires: aspell-da
636    Requires: e-smith-formmagick >= 1.4.0-10
637    %description da
638    %{summary}
639    %files da -f %{name}-%{version}-%{release}-filelist-da
640    
641  %package de  %package de
642  Summary: %{package_summary} - German  Summary: %{package_summary} - German
643  Group: %{group}  Group: %{group}
644  Requires: aspell-de  Requires: aspell-de
645    Requires: e-smith-formmagick >= 1.4.0-10
646  %description de  %description de
647  %{summary}  %{summary}
648  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
649    
650    %package el
651    Summary: %{package_summary} - Greek
652    Group: %{group}
653    Requires: aspell-el
654    Requires: e-smith-formmagick >= 1.4.0-10
655    %description el
656    %{summary}
657    %files el -f %{name}-%{version}-%{release}-filelist-el
658    
659  %package es  %package es
660  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
661  Group: %{group}  Group: %{group}
662  Requires: aspell-es  Requires: aspell-es
663    Requires: e-smith-formmagick >= 1.4.0-10
664  %description es  %description es
665  %{summary}  %{summary}
666  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
667    
668    %package et
669    Summary: %{package_summary} - Estonian
670    Group: %{group}
671    Requires: e-smith-formmagick >= 1.4.0-10
672    %description et
673    %{summary}
674    %files et -f %{name}-%{version}-%{release}-filelist-et
675    
676  %package fr  %package fr
677  Summary: %{package_summary} - French  Summary: %{package_summary} - French
678  Group: %{group}  Group: %{group}
679  Requires: aspell-fr  Requires: aspell-fr
680    Requires: e-smith-formmagick >= 1.4.0-10
681  %description fr  %description fr
682  %{summary}  %{summary}
683  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
684    
685    %package he
686    Summary: %{package_summary} - Hebrew
687    Group: %{group}
688    Requires: e-smith-formmagick >= 1.4.0-10
689    %description he
690    %{summary}
691    %files he -f %{name}-%{version}-%{release}-filelist-he
692    
693    %package hu
694    Summary: %{package_summary} - Hungarian
695    Group: %{group}
696    Requires: e-smith-formmagick >= 1.4.0-10
697    %description hu
698    %{summary}
699    %files hu -f %{name}-%{version}-%{release}-filelist-hu
700    
701    %package id
702    Summary: %{package_summary} - Indonesian
703    Group: %{group}
704    Requires: aspell-id
705    Requires: e-smith-formmagick >= 1.4.0-10
706    %description id
707    %{summary}
708    %files id -f %{name}-%{version}-%{release}-filelist-id
709    
710  %package it  %package it
711  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
712  Group: %{group}  Group: %{group}
713  Requires: aspell-it  Requires: aspell-it
714    Requires: e-smith-formmagick >= 1.4.0-10
715  %description it  %description it
716  %{summary}  %{summary}
717  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
718    
719    %package ja
720    Summary: %{package_summary} - Japanese
721    Group: %{group}
722    Requires: e-smith-formmagick >= 1.4.0-10
723    %description ja
724    %{summary}
725    %files ja -f %{name}-%{version}-%{release}-filelist-ja
726    
727    %package nb
728    Summary: %{package_summary} - Norwegian (Bokmal)
729    Group: %{group}
730    Requires: e-smith-formmagick >= 1.4.0-10
731    %description nb
732    %{summary}
733    %files nb -f %{name}-%{version}-%{release}-filelist-nb
734    
735    %package nl
736    Summary: %{package_summary} - Dutch
737    Group: %{group}
738    Requires: aspell-nl
739    Requires: e-smith-formmagick >= 1.4.0-10
740    %description nl
741    %{summary}
742    %files nl -f %{name}-%{version}-%{release}-filelist-nl
743    
744    %package pl
745    Summary: %{package_summary} - Polish
746    Group: %{group}
747    Requires: aspell-pl
748    Requires: e-smith-formmagick >= 1.4.0-10
749    %description pl
750    %{summary}
751    %files pl -f %{name}-%{version}-%{release}-filelist-pl
752    
753    %package pt
754    Summary: %{package_summary} - Portugese
755    Group: %{group}
756    Requires: aspell-pt
757    Requires: e-smith-formmagick >= 1.4.0-10
758    %description pt
759    %{summary}
760    %files pt -f %{name}-%{version}-%{release}-filelist-pt
761    
762    %package pt_BR
763    Summary: %{package_summary} - Portugese (Brazilian)
764    Group: %{group}
765    Requires: aspell-pt
766    Requires: e-smith-formmagick >= 1.4.0-10
767    %description pt_BR
768    %{summary}
769    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
770    
771    %package ro
772    Summary: %{package_summary} - Romanian
773    Group: %{group}
774    Requires: e-smith-formmagick >= 1.4.0-10
775    %description ro
776    %{summary}
777    %files ro -f %{name}-%{version}-%{release}-filelist-ro
778    
779    %package ru
780    Summary: %{package_summary} - Russian
781    Group: %{group}
782    Requires: aspell-ru
783    Requires: e-smith-formmagick >= 1.4.0-10
784    %description ru
785    %{summary}
786    %files ru -f %{name}-%{version}-%{release}-filelist-ru
787    
788    %package sl
789    Summary: %{package_summary} - Slovinian
790    Group: %{group}
791    Requires: aspell-sl
792    Requires: e-smith-formmagick >= 1.4.0-10
793    %description sl
794    %{summary}
795    %files sl -f %{name}-%{version}-%{release}-filelist-sl
796    
797  %package sv  %package sv
798  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
799  Group: %{group}  Group: %{group}
800  Requires: aspell-sv  Requires: aspell-sv
801    Requires: e-smith-formmagick >= 1.4.0-10
802  %description sv  %description sv
803  %{summary}  %{summary}
804  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
805    
806    %package th
807    Summary: %{package_summary} - Thai
808    Group: %{group}
809    Requires: e-smith-formmagick >= 1.4.0-10
810    %description th
811    %{summary}
812    %files th -f %{name}-%{version}-%{release}-filelist-th
813    
814    %package tr
815    Summary: %{package_summary} - Turkish
816    Group: %{group}
817    Requires: e-smith-formmagick >= 1.4.0-10
818    %description tr
819    %{summary}
820    %files tr -f %{name}-%{version}-%{release}-filelist-tr
821    
822    %package zh_CN
823    Summary: %{package_summary} - Chinese (China)
824    Group: %{group}
825    Requires: e-smith-formmagick >= 1.4.0-10
826    %description zh_CN
827    %{summary}
828    %files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN
829    
830    %package zh_TW
831    Summary: %{package_summary} - Chinese (Taiwan)
832    Group: %{group}
833    Requires: e-smith-formmagick >= 1.4.0-10
834    %description zh_TW
835    %{summary}
836    %files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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