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