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

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

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

Revision 1.2 by slords, Wed Jun 13 00:20:10 2007 UTC Revision 1.90 by slords, Mon Jun 20 19:31:29 2011 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.89 2011/04/27 16:47:47 slords 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.0.0
7  %define release 24  %define release 35
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.0.0-locale-2008-10-08.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch
26  Patch10: smeserver-locale-1.2.0-initialtext.patch2  Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch
27  Patch11: smeserver-locale-1.2.0-initialtext.patch3  Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch
28  Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch
29  patch13: smeserver-locale-1.2.0-novirtual.patch  Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch
30  Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch  Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch
31  Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch  Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch
32  Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch  Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch
33  Patch17: smeserver-locale-1.2.0-spanishupdates2.patch  Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch
34  Patch18: smeserver-locale-1.2.0-spanishupdates3.patch  Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch
35  Patch19: smeserver-locale-1.2.0-germanupdates2.patch  Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch
36  Patch20: smeserver-locale-1.2.0-germanupdates3.patch  Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch
37  Patch21: smeserver-locale-1.2.0-spanishupdates4.patch  Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch
38    Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch
39    Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch
40    Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch
41    Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch
42    Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch
43    Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch
44    Patch28: smeserver-locale-2.0.0-locale-2010-07-13.patch
45    Patch29: smeserver-locale-2.0.0-locale-2010-08-18.patch
46    Patch30: smeserver-locale-2.0.0-locale-2011-03-06.patch
47    Patch31: smeserver-locale-2.0.0-locale-2011-04-27.patch
48    Patch32: smeserver-locale-2.0.0-locale-2011-06-20.patch
49  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
50  BuildArchitectures: noarch  BuildArchitectures: noarch
51  BuildRequires: perl  BuildRequires: perl
52  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
53  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
54  AutoReqProv: no  AutoReqProv: no
55    
56  %description  %description
57  SME Server localisation module  SME Server localisation module
58    
59  %changelog  %changelog
60    * Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.0.0-35.el6
61    - apply locale 2011-06-20 patch
62    
63    * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0.0-34.sme
64    - apply locale 2011-04-27 patch
65    
66    * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme
67    - apply locale 2011-03-06 patch
68    
69    * Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme
70    - apply locale 2010-08-18 patch
71    
72    * Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.sme
73    - Add Chinese (Taiwan) language [SME: 6106]
74    - apply locale 2010-07-13 patch
75    
76    * Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme
77    - apply locale 2010-06-24 patch
78    
79    * Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme
80    - Add Hebrew language [SME: 5970]
81    - apply locale 2010-05-25 patch
82    
83    * Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme
84    - apply locale 2010-05-23 patch
85    
86    * Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme
87    - apply locale 2010-04-28 patch
88    
89    * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme
90    - apply locale 2010-03-02 patch
91    
92    * Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme
93    - Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804]
94    
95    * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme
96    - apply locale 2009-10-27 patch
97    - Add Thai language [SME: 5466]
98    
99    * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme
100    - apply locale 2009-08-24 patch
101    - Add Polish language [SME: 5436]
102    
103    * Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme
104    - apply locale 2009-05-27 patch
105    - Add Romanian language [SME: 5268]
106    
107    * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme
108    - apply locale 2009-05-20 patch
109    
110    * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme
111    - apply locale 2009-04-27 patch
112    - Add Estonian language [SME: 5199]
113    
114    * Tue Mar 03 2009 SME Translation Server
115    - re-apply locale 2009-03-03 patch
116    
117    * Tue Mar  3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme
118    - Apply  3 Mar 2009 locale patch [SME: 5051]
119    
120    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme
121    - Apply  1 Mar 2009 locale patch [SME: 5017]
122    - Added missing bug references to changelog entry [SME: 5002]
123    
124    * Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme
125    - Add Chineese (China) language [SME: 5002]
126    - Add Norwegian (Bokmal) language [SME: 5002]
127    - Add Russian language [SME: 5002]
128    
129    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme
130    - Apply 31 Jan 2009 locale patch [SME: 4950]
131    
132    * Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme
133    - Apply 31 Dec 2008 locale patch [SME: 4899]
134    
135    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme
136    - Apply 30 Nov 2008 locale patch [SME: 4813]
137    
138    * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme
139    - Apply 19 Nov 2008 locale patch [SME: 4748]
140    
141    * Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme
142    - Apply 18 Nov 2008 locale patch [SME: 4748]
143    
144    * Fri Nov  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme
145    - Apply  7 Nov 2008 locale patch [SME: 4748]
146    
147    * Thu Nov  6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme
148    - Apply  6 Nov 2008 locale patch [SME: 4746]
149    
150    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme
151    - Apply 2 Nov 2008 locale patch
152    
153    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme
154    - Apply 19 Oct 2008 locale patch [SME: 4692]
155    
156    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme
157    - Apply 17 Oct 2008 locale patch
158    
159    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme
160    - Apply 16 Oct 2008 locale patch
161    
162    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme
163    - Apply 15 Oct 2008 locale patch
164    
165    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme
166    - Add Japanese language [SME: 4637]
167    
168    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme
169    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
170    
171    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
172    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
173    
174    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
175    - Reverting all changes made Oct 4, as they should be made through Pootle
176    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
177    
178    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
179    - Apply 4 Oct locale patch
180    
181    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
182    - Remove colored highlights from German locale [SME: 4618]
183    - Fix changelog entry in previous entry for [SME: 4616]
184    
185    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
186    - Remove references to the wiki from the German locale [SME: 4616]
187    - Fix bug referrence in previous changelog entry [SME: 4617]
188    
189    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
190    - Apply locale patch to fix many translation bugs [SME: 4615]
191    
192    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
193    - Apply locale patch
194    
195    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
196    - Apply locale patch
197    
198    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
199    - Apply Jul 26 2008 locale patch
200    - Add Portuguese language
201    - Add Turkish language
202    
203    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
204    - Apply 1 July 2008 locale patch
205    
206    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
207    - Apply 27 Jun 2008 locale patch
208    
209    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
210    - Update to May 5 2008 translations
211    - Revert Apr 23 2008 translations (bad patch)
212    
213    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
214    - Update to Apr 23 2008 translations
215    
216    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
217    - Update to Apr 1 2008 translations
218    
219    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
220    - Update to Mar 26 2008 translations
221    
222    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
223    - Update to Mar 25 2008 translations
224    
225    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
226    - Fix packages for Brazilian portuguese
227    - Update to Mar 18 2008 translations
228    
229    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
230    - Move requires e-smith-formmagick to correct places [SME: 3858]
231    - Add missing aspell module requires
232    
233    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
234    - Fix requires to require e-smith-formmagick [SME: 3858]
235    
236    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
237    - Convert panels to UTF-8 [SME: 3858]
238    
239    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
240    - Roll new stream and considate patches
241    
242    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
243    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
244    
245    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
246    - add translations for Brazilian portuguese [SME: 63]
247    
248    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
249    - add translations for Slovian    [SME: 892]
250    
251    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
252    - add translations for Dutch      [SME: 2737]
253    
254    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
255    - add translations for Indonesian [SME: 3260]
256    
257    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
258    - add translations for Greek      [SME: 1690]
259    
260    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
261    - add translations for Danish     [SME: 2688]
262    
263    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
264    - update translations for Swedish [SME: 3934]
265    
266    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
267    - update translations for Spanish [SME: 3937]
268    
269    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
270    - update translations for Italian [SME: 3936]
271    
272    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
273    - update translations for French  [SME: 3935]
274    
275    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
276    - update translations for German  [SME: 3933]
277    
278    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
279    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
280    
281    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
282    - rename de and it quota .po files with .tmpl [SME: 3834]
283    
284    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
285    - Remove redundant germam lexicon reinstall [SME: 3881]
286    
287    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
288    - Fix fr translation for smtp header in email panels. [SME: 3831]
289    
290    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
291    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
292    
293    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
294    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
295    
296    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
297    - Update de, es, fr and sv translations for email panels. [SME: 2296]
298    
299    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
300    - Italian update for SMTP server [SME: 2305]
301    
302    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
303    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
304    
305    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
306    - Add SSH_PORT for sv [SME: 3748]
307    
308    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
309    - System password change made consistant [SME: 3533]
310    
311    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
312    - Add Add Italian entries to hostentries [SME: 3207]
313    
314    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
315    - Add yum uptodate message [SME: 3768]
316    
317    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
318    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
319    
320    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
321    - Add SSH_PORT spanish translation update. [SME: 3746]
322    
323    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
324    - Add SSH_PORT for fr and de [SME: 3215]
325    
326    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
327    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
328    
329    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
330    - Add missing localization again. (Thanks Federico). [SME: 3149]
331    
332    * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
333    - Add missing localization (Thanks Federico). [SME: 3149]
334    
335    * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
336    - Update French clamav lexicon [SME: 3012]
337    
338    * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26
339    - Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937]
340    
341    * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-25
342    - Updated backupusb console Translation. (Thanks Federico) [SME: 2937]
343    
344  * Tue Jun 12 2007 Gavin Weight <gweight@gmail.com> 1.2.0-24  * Tue Jun 12 2007 Gavin Weight <gweight@gmail.com> 1.2.0-24
345  - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]  - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]
346    
# Line 237  SME Server localisation module Line 533  SME Server localisation module
533  %patch19 -p1  %patch19 -p1
534  %patch20 -p1  %patch20 -p1
535  %patch21 -p1  %patch21 -p1
536  %post  %patch22 -p1
537    %patch23 -p1
538    %patch24 -p1
539    %patch25 -p1
540    %patch26 -p1
541    %patch27 -p1
542    %patch28 -p1
543    %patch29 -p1
544    %patch30 -p1
545    %patch31 -p1
546    %patch32 -p1
547    
548  %build  %build
549  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
550  for file in $LEXICONS  for file in $LEXICONS
551  do  do
     /usr/bin/dos2unix $file  
552      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
553  done  done
554    
# Line 257  done Line 560  done
560  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
561    
562  %install  %install
 set -x  
   
563  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
564  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
565    
 # 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  
   
566  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
567      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
568    
# Line 275  do Line 571  do
571      echo "%defattr(-,root,root)" > \      echo "%defattr(-,root,root)" > \
572          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
573    
574      grep locale/$locale %{name}-%{version}-%{release}-filelist >> \      grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \
575          %{name}-%{version}-%{release}-filelist-$locale           %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale
576  done  done
577    
 # 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  
   
578  %clean  %clean
579  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
580    
581    %package bg
582    Summary: %{package_summary} - Bulgarian
583    Group: %{group}
584    Requires: aspell-bg
585    Requires: e-smith-formmagick >= 1.4.0-10
586    %description bg
587    %{summary}
588    %files bg -f %{name}-%{version}-%{release}-filelist-bg
589    
590    %package da
591    Summary: %{package_summary} - Danish
592    Group: %{group}
593    Requires: aspell-da
594    Requires: e-smith-formmagick >= 1.4.0-10
595    %description da
596    %{summary}
597    %files da -f %{name}-%{version}-%{release}-filelist-da
598    
599  %package de  %package de
600  Summary: %{package_summary} - German  Summary: %{package_summary} - German
601  Group: %{group}  Group: %{group}
602  Requires: aspell-de  Requires: aspell-de
603    Requires: e-smith-formmagick >= 1.4.0-10
604  %description de  %description de
605  %{summary}  %{summary}
606  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
607    
608    %package el
609    Summary: %{package_summary} - Greek
610    Group: %{group}
611    Requires: aspell-el
612    Requires: e-smith-formmagick >= 1.4.0-10
613    %description el
614    %{summary}
615    %files el -f %{name}-%{version}-%{release}-filelist-el
616    
617  %package es  %package es
618  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
619  Group: %{group}  Group: %{group}
620  Requires: aspell-es  Requires: aspell-es
621    Requires: e-smith-formmagick >= 1.4.0-10
622  %description es  %description es
623  %{summary}  %{summary}
624  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
625    
626    %package et
627    Summary: %{package_summary} - Estonian
628    Group: %{group}
629    Requires: e-smith-formmagick >= 1.4.0-10
630    %description et
631    %{summary}
632    %files et -f %{name}-%{version}-%{release}-filelist-et
633    
634  %package fr  %package fr
635  Summary: %{package_summary} - French  Summary: %{package_summary} - French
636  Group: %{group}  Group: %{group}
637  Requires: aspell-fr  Requires: aspell-fr
638    Requires: e-smith-formmagick >= 1.4.0-10
639  %description fr  %description fr
640  %{summary}  %{summary}
641  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
642    
643    %package he
644    Summary: %{package_summary} - Hebrew
645    Group: %{group}
646    Requires: e-smith-formmagick >= 1.4.0-10
647    %description he
648    %{summary}
649    %files he -f %{name}-%{version}-%{release}-filelist-he
650    
651    %package hu
652    Summary: %{package_summary} - Hungarian
653    Group: %{group}
654    Requires: e-smith-formmagick >= 1.4.0-10
655    %description hu
656    %{summary}
657    %files hu -f %{name}-%{version}-%{release}-filelist-hu
658    
659    %package id
660    Summary: %{package_summary} - Indonesian
661    Group: %{group}
662    Requires: aspell-id
663    Requires: e-smith-formmagick >= 1.4.0-10
664    %description id
665    %{summary}
666    %files id -f %{name}-%{version}-%{release}-filelist-id
667    
668  %package it  %package it
669  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
670  Group: %{group}  Group: %{group}
671  Requires: aspell-it  Requires: aspell-it
672    Requires: e-smith-formmagick >= 1.4.0-10
673  %description it  %description it
674  %{summary}  %{summary}
675  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
676    
677    %package ja
678    Summary: %{package_summary} - Japanese
679    Group: %{group}
680    Requires: e-smith-formmagick >= 1.4.0-10
681    %description ja
682    %{summary}
683    %files ja -f %{name}-%{version}-%{release}-filelist-ja
684    
685    %package nb
686    Summary: %{package_summary} - Norwegian (Bokmal)
687    Group: %{group}
688    Requires: e-smith-formmagick >= 1.4.0-10
689    %description nb
690    %{summary}
691    %files nb -f %{name}-%{version}-%{release}-filelist-nb
692    
693    %package nl
694    Summary: %{package_summary} - Dutch
695    Group: %{group}
696    Requires: aspell-nl
697    Requires: e-smith-formmagick >= 1.4.0-10
698    %description nl
699    %{summary}
700    %files nl -f %{name}-%{version}-%{release}-filelist-nl
701    
702    %package pl
703    Summary: %{package_summary} - Polish
704    Group: %{group}
705    Requires: aspell-pl
706    Requires: e-smith-formmagick >= 1.4.0-10
707    %description pl
708    %{summary}
709    %files pl -f %{name}-%{version}-%{release}-filelist-pl
710    
711    %package pt
712    Summary: %{package_summary} - Portugese
713    Group: %{group}
714    Requires: aspell-pt
715    Requires: e-smith-formmagick >= 1.4.0-10
716    %description pt
717    %{summary}
718    %files pt -f %{name}-%{version}-%{release}-filelist-pt
719    
720    %package pt_BR
721    Summary: %{package_summary} - Portugese (Brazilian)
722    Group: %{group}
723    Requires: aspell-pt
724    Requires: e-smith-formmagick >= 1.4.0-10
725    %description pt_BR
726    %{summary}
727    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
728    
729    %package ro
730    Summary: %{package_summary} - Romanian
731    Group: %{group}
732    Requires: e-smith-formmagick >= 1.4.0-10
733    %description ro
734    %{summary}
735    %files ro -f %{name}-%{version}-%{release}-filelist-ro
736    
737    %package ru
738    Summary: %{package_summary} - Russian
739    Group: %{group}
740    Requires: aspell-ru
741    Requires: e-smith-formmagick >= 1.4.0-10
742    %description ru
743    %{summary}
744    %files ru -f %{name}-%{version}-%{release}-filelist-ru
745    
746    %package sl
747    Summary: %{package_summary} - Slovinian
748    Group: %{group}
749    Requires: aspell-sl
750    Requires: e-smith-formmagick >= 1.4.0-10
751    %description sl
752    %{summary}
753    %files sl -f %{name}-%{version}-%{release}-filelist-sl
754    
755  %package sv  %package sv
756  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
757  Group: %{group}  Group: %{group}
758  Requires: aspell-sv  Requires: aspell-sv
759    Requires: e-smith-formmagick >= 1.4.0-10
760  %description sv  %description sv
761  %{summary}  %{summary}
762  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
763    
764    %package th
765    Summary: %{package_summary} - Thai
766    Group: %{group}
767    Requires: e-smith-formmagick >= 1.4.0-10
768    %description th
769    %{summary}
770    %files th -f %{name}-%{version}-%{release}-filelist-th
771    
772    %package tr
773    Summary: %{package_summary} - Turkish
774    Group: %{group}
775    Requires: e-smith-formmagick >= 1.4.0-10
776    %description tr
777    %{summary}
778    %files tr -f %{name}-%{version}-%{release}-filelist-tr
779    
780    %package zh_CN
781    Summary: %{package_summary} - Chinese (China)
782    Group: %{group}
783    Requires: e-smith-formmagick >= 1.4.0-10
784    %description zh_CN
785    %{summary}
786    %files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN
787    
788    %package zh_TW
789    Summary: %{package_summary} - Chinese (Taiwan)
790    Group: %{group}
791    Requires: e-smith-formmagick >= 1.4.0-10
792    %description zh_TW
793    %{summary}
794    %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