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