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