/[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.20 by burnat, Tue Mar 4 21:41:58 2008 UTC Revision 1.104 by wellsi, Wed Feb 5 20:34:03 2014 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.103 2013/12/18 03:47:57 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 58  %define release 46
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 da de el es fr id it nl pt sl sv  %define package_locales bg da de el es et fr he hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN zh_TW
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: GPL  License: GPL
14  Group: Networking/Daemons  Group: Networking/Daemons
15  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
16  Patch0: smeserver-locale-1.2.0-italian_rc1.patch  Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch
26  Patch10: smeserver-locale-1.2.0-initialtext.patch2  Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch
27  Patch11: smeserver-locale-1.2.0-initialtext.patch3  Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch
28  Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch
29  Patch13: smeserver-locale-1.2.0-novirtual.patch  Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch
30  Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch  Patch14: smeserver-locale-2.2.0-locale-2009-02-09.patch
31  Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch  Patch15: smeserver-locale-2.2.0-locale-2009-03-01.patch
32  Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch  Patch16: smeserver-locale-2.2.0-locale-2009-03-03.patch
33  Patch17: smeserver-locale-1.2.0-spanishupdates2.patch  Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch
34  Patch18: smeserver-locale-1.2.0-spanishupdates3.patch  Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch
35  Patch19: smeserver-locale-1.2.0-germanupdates2.patch  Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch
36  Patch20: smeserver-locale-1.2.0-germanupdates3.patch  Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch
37  Patch21: smeserver-locale-1.2.0-spanishupdates4.patch  Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch
38  Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch  Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch
39  Patch23: smeserver-locale-1.2.0-italian_standby.patch  Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch
40  Patch24: smeserver-locale-1.2.0-frmenusplit.patch  Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch
41  Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch  Patch25: smeserver-locale-2.2.0-locale-2010-05-23.patch
42  Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch  Patch26: smeserver-locale-2.2.0-locale-2010-06-08.patch
43  Patch28: smeserver-locale-1.2.0-sshportfrde.patch  Patch27: smeserver-locale-2.2.0-locale-2010-06-24.patch
44  Patch29: smeserver-locale-1.2.0-sshport_es_update.patch  Patch28: smeserver-locale-2.2.0-locale-2010-07-13.patch
45  Patch30: smeserver-locale-1.2.0-spanishupdates5.patch  Patch29: smeserver-locale-2.2.0-locale-2010-08-18.patch
46  Patch31: smeserver-locale-1.2.0-up2date.patch  Patch30: smeserver-locale-2.2.0-locale-2010-10-08.patch
47  Patch32: smeserver-locale-1.2.0-itHostentries.patch  Patch31: smeserver-locale-2.2.0-locale-2011-03-06.patch
48  Patch33: smeserver-locale-1.2.0-systemPassword.patch  Patch32: smeserver-locale-2.2.0-locale-2011-04-27.patch
49  Patch34: smeserver-locale-1.2.0-sshport_sv.patch  Patch33: smeserver-locale-2.2.0-locale-2011-06-20.patch
50  Patch35: smeserver-locale-1.2.0-italian_yum_email.patch  Patch34: smeserver-locale-2.2.0-locale-2011-10-04.patch
51  Patch36: smeserver-locale-1.2.0-italian_smtpserver.patch  Patch35: smeserver-locale-2.2.0-locale-2011-11-23.patch
52  Patch37: smeserver-locale-1.2.0-de_es_fr_sv_emailupdate.patch  Patch36: smeserver-locale-2.2.0-locale-2012-03-20.patch
53  Patch38: smeserver-locale-1.2.0-de_fr_sv_smtpheaderupdate.patch  Patch37: smeserver-locale-2.2.0-locale-2013-07-04.patch
54  Patch39: smeserver-locale-1.2.0-de_es_fr_sv_yumtextupdate.patch  Patch38: smeserver-locale-2.2.0-locale-2013-09-14.patch
55  Patch40: smeserver-locale-1.2.0-frEmailsettings.patch  Patch39: smeserver-locale-2.2.0-locale-2013-10-07.patch
56  Patch41: smeserver-locale-1.2.0-removeDeReinstall.patch  Patch40: smeserver-locale-2.2.0-locale-2013-11-03.patch
57  Patch42: smeserver-locale-1.2.0-tmpl.patch  Patch41: smeserver-locale-2.2.0-locale-2014-02-05.patch
 Patch43: smeserver-locale-1.2.0-enPOupdate.patch  
 Patch44: smeserver-locale-1.2.0-Updates2mar08de.patch  
 Patch45: smeserver-locale-1.2.0-Updates2mar08fr.patch  
 Patch46: smeserver-locale-1.2.0-Updates2mar08it.patch  
 Patch47: smeserver-locale-1.2.0-Updates2mar08es.patch  
 Patch48: smeserver-locale-1.2.0-Updates2mar08sv.patch  
 Patch49: smeserver-locale-1.2.0-AddDanish2mar08.patch  
 Patch50: smeserver-locale-1.2.0-AddGreek2mar08.patch  
 Patch51: smeserver-locale-1.2.0-AddIndonesian2mar08.patch  
 Patch52: smeserver-locale-1.2.0-AddDutch2mar08.patch  
 Patch53: smeserver-locale-1.2.0-AddSlovinian2mar08.patch  
 Patch54: smeserver-locale-1.2.0-AddPortugese2mar08.patch  
 Patch55: smeserver-locale-1.2.0-PootleFix04mar08.patch  
58  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
59  BuildArchitectures: noarch  BuildArchitectures: noarch
60  BuildRequires: perl  BuildRequires: perl
61  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
62  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
63  AutoReqProv: no  AutoReqProv: no
64    
65  %description  %description
66  SME Server localisation module  SME Server localisation module
67    
68  %changelog  %changelog
69    * Wed Feb 5 2014 Ian Wells <esmith@wellsi.com> 2.2.0-46.sme
70    - apply locale 2014-02-05 patch from pootle [SME: 8177]
71    
72    * Sun Nov 3 2013 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme
73    - apply locale 2013-11-03 patch from pootle [SME: 7972]
74    
75    * Mon Oct 07 2013 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme
76    - apply locale 2013-10-07 patch from pootle [SME: 7877]
77    
78    * Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 2.2.0-43.sme
79    - apply locale 2013-09-14 patch from pootle [SME: 7847]
80    
81    * Thu Jul 04 2013 Ian Wells <esmith@wellsi.com> 2.2.0-42.sme
82    - apply locale 2013-07-04 patch from pootle [SME: 7734]
83    
84    * Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.sme
85    - apply locale 2012-03-20 patch
86    
87    * Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.sme
88    - apply locale 2011-11-23 patch
89    
90    * Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.sme
91    - apply locale 2011-10-04 patch
92    
93    * Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.sme
94    - apply locale 2011-06-20 patch
95    
96    * Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme
97    - apply locale 2011-04-27 patch
98    
99    * Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme
100    - apply locale 2011-03-06 patch
101    
102    * Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme
103    - apply locale 2010-10-08 patch
104    
105    * Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme
106    - apply locale 2010-08-18 patch
107    
108    * Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme
109    - Add Chinese (Taiwan) language [SME: 6106]
110    - apply locale 2010-07-13 patch
111    
112    * Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme
113    - apply locale 2010-06-24 patch
114    
115    * Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme
116    - apply locale 2010-06-08 patch
117    
118    * Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme
119    - Add Hebrew language [SME: 5971]
120    
121    * Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme
122    - apply locale 2010-05-23 patch
123    
124    * Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme
125    - apply locale 2010-04-29 patch
126    
127    * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme
128    - apply locale 2010-03-02 patch
129    
130    * Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme
131    - Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803]
132    - Correct previous changelog entry
133    - Apply locale 2010-02-27 patch
134    
135    * Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme
136    - apply locale 2010-02-25 patch
137    
138    * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme
139    - apply locale 2009-10-27 patch
140    - Add Thai language [SME: 5466]
141    
142    * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme
143    - apply locale 2009-08-24 patch
144    - Add Polish language [SME: 5437]
145    
146    * Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme
147    - apply locale 2009-05-27 patch
148    - Add Romanian language [SME: 5268]
149    
150    * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme
151    - apply locale 2009-05-20 patch
152    
153    * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme
154    - apply locale 2009-04-27 patch
155    - Add Estonian language [SME: 5199]
156    
157    * Tue Mar 03 2009 SME Translation Server
158    - re-apply locale 2009-03-03 patch
159    
160    * Tue Mar  3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme
161    - Apply  3 Mar 2009 locale patch [SME: 5051]
162    
163    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme
164    - Apply  1 Mar 2009 locale patch [SME: 5017]
165    - Added missing bug references to changelog entry [SME: 5002]
166    
167    * Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme
168    - Add Chineese (China) language [SME: 5002]
169    - Add Norwegian (Bokmal) language [SME: 5002]
170    - Add Russian language [SME: 5002]
171    
172    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme
173    - Apply 31 Jan 2009 locale patch [SME: 4950]
174    
175    * Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme
176    - Apply 31 Dec 2008 locale patch [SME: 4899]
177    
178    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme
179    - Apply 30 Nov 2008 locale patch [SME: 4813]
180    
181    * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme
182    - Apply 19 Nov 2008 locale patch [SME: 4748]
183    
184    * Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme
185    - Apply 18 Nov 2008 locale patch [SME: 4748]
186    
187    * Fri Nov  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme
188    - Apply  7 Nov 2008 locale patch [SME: 4748]
189    
190    * Thu Nov  6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme
191    - Apply  6 Nov 2008 locale patch [SME: 4746]
192    
193    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme
194    - Apply 2 Nov 2008 locale patch
195    
196    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme
197    - Apply 19 Oct 2008 locale patch [SME: 4692]
198    
199    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme
200    - Apply 17 Oct 2008 locale patch
201    
202    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme
203    - Apply 16 Oct 2008 locale patch
204    
205    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme
206    - Apply 15 Oct 2008 locale patch
207    
208    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme
209    - Add Japanese language [SME: 4637]
210    
211    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme
212    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
213    
214    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
215    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
216    
217    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
218    - Reverting all changes made Oct 4, as they should be made through Pootle
219    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
220    
221    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
222    - Apply 4 Oct locale patch
223    
224    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
225    - Remove colored highlights from German locale [SME: 4618]
226    - Fix changelog entry in previous entry for [SME: 4616]
227    
228    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
229    - Remove references to the wiki from the German locale [SME: 4616]
230    - Fix bug referrence in previous changelog entry [SME: 4617]
231    
232    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
233    - Apply locale patch to fix many translation bugs [SME: 4615]
234    
235    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
236    - Apply locale patch
237    
238    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
239    - Apply locale patch
240    
241    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
242    - Apply Jul 26 2008 locale patch
243    - Add Portuguese language
244    - Add Turkish language
245    
246    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
247    - Apply 1 July 2008 locale patch
248    
249    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
250    - Apply 27 Jun 2008 locale patch
251    
252    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
253    - Update to May 5 2008 translations
254    - Revert Apr 23 2008 translations (bad patch)
255    
256    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
257    - Update to Apr 23 2008 translations
258    
259    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
260    - Update to Apr 1 2008 translations
261    
262    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
263    - Update to Mar 26 2008 translations
264    
265    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
266    - Update to Mar 25 2008 translations
267    
268    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
269    - Fix packages for Brazilian portuguese
270    - Update to Mar 18 2008 translations
271    
272    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
273    - Move requires e-smith-formmagick to correct places [SME: 3858]
274    - Add missing aspell module requires
275    
276    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
277    - Fix requires to require e-smith-formmagick [SME: 3858]
278    
279    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
280    - Convert panels to UTF-8 [SME: 3858]
281    
282    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
283    - Roll new stream and considate patches
284    
285  * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58  * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
286  - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]  - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
287    
# Line 375  SME Server localisation module Line 579  SME Server localisation module
579  %patch22 -p1  %patch22 -p1
580  %patch23 -p1  %patch23 -p1
581  %patch24 -p1  %patch24 -p1
582    %patch25 -p1
583  %patch26 -p1  %patch26 -p1
584  %patch27 -p1  %patch27 -p1
585  %patch28 -p1  %patch28 -p1
# Line 391  SME Server localisation module Line 596  SME Server localisation module
596  %patch39 -p1  %patch39 -p1
597  %patch40 -p1  %patch40 -p1
598  %patch41 -p1  %patch41 -p1
 %patch42 -p1  
 %patch43 -p1  
 %patch44 -p1  
 %patch45 -p1  
 %patch46 -p1  
 %patch47 -p1  
 %patch48 -p1  
 %patch49 -p1  
 %patch50 -p1  
 %patch51 -p1  
 %patch52 -p1  
 %patch53 -p1  
 %patch54 -p1  
 %patch55 -p1  
   
 %post  
599    
600  %build  %build
601  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
602  for file in $LEXICONS  for file in $LEXICONS
603  do  do
     /usr/bin/dos2unix $file  
604      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
605  done  done
606    
# Line 425  done Line 611  done
611    
612  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
613    
 ln -s pt root/etc/e-smith/locale/pt-br  
   
614  %install  %install
 set -x  
   
615  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
616  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
617    
 # 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  
   
618  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
619      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
620    
# Line 446  do Line 623  do
623      echo "%defattr(-,root,root)" > \      echo "%defattr(-,root,root)" > \
624          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
625    
626      grep locale/$locale %{name}-%{version}-%{release}-filelist >> \      grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \
627          %{name}-%{version}-%{release}-filelist-$locale           %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale
628  done  done
629    
 # 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  
   
630  %clean  %clean
631  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
632    
633    %package bg
634    Summary: %{package_summary} - Bulgarian
635    Group: %{group}
636    Requires: aspell-bg
637    Requires: e-smith-formmagick >= 1.4.0-10
638    %description bg
639    %{summary}
640    %files bg -f %{name}-%{version}-%{release}-filelist-bg
641    
642  %package da  %package da
643  Summary: %{package_summary} - Danish  Summary: %{package_summary} - Danish
644  Group: %{group}  Group: %{group}
645    Requires: aspell-da
646    Requires: e-smith-formmagick >= 1.4.0-10
647  %description da  %description da
648  %{summary}  %{summary}
649  %files da -f %{name}-%{version}-%{release}-filelist-da  %files da -f %{name}-%{version}-%{release}-filelist-da
# Line 496  Group: %{group} Line 652  Group: %{group}
652  Summary: %{package_summary} - German  Summary: %{package_summary} - German
653  Group: %{group}  Group: %{group}
654  Requires: aspell-de  Requires: aspell-de
655    Requires: e-smith-formmagick >= 1.4.0-10
656  %description de  %description de
657  %{summary}  %{summary}
658  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
# Line 503  Requires: aspell-de Line 660  Requires: aspell-de
660  %package el  %package el
661  Summary: %{package_summary} - Greek  Summary: %{package_summary} - Greek
662  Group: %{group}  Group: %{group}
663    Requires: aspell-el
664    Requires: e-smith-formmagick >= 1.4.0-10
665  %description el  %description el
666  %{summary}  %{summary}
667  %files el -f %{name}-%{version}-%{release}-filelist-el  %files el -f %{name}-%{version}-%{release}-filelist-el
# Line 511  Group: %{group} Line 670  Group: %{group}
670  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
671  Group: %{group}  Group: %{group}
672  Requires: aspell-es  Requires: aspell-es
673    Requires: e-smith-formmagick >= 1.4.0-10
674  %description es  %description es
675  %{summary}  %{summary}
676  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
677    
678    %package et
679    Summary: %{package_summary} - Estonian
680    Group: %{group}
681    Requires: e-smith-formmagick >= 1.4.0-10
682    %description et
683    %{summary}
684    %files et -f %{name}-%{version}-%{release}-filelist-et
685    
686  %package fr  %package fr
687  Summary: %{package_summary} - French  Summary: %{package_summary} - French
688  Group: %{group}  Group: %{group}
689  Requires: aspell-fr  Requires: aspell-fr
690    Requires: e-smith-formmagick >= 1.4.0-10
691  %description fr  %description fr
692  %{summary}  %{summary}
693  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
694    
695    %package he
696    Summary: %{package_summary} - Hebrew
697    Group: %{group}
698    Requires: e-smith-formmagick >= 1.4.0-10
699    %description he
700    %{summary}
701    %files he -f %{name}-%{version}-%{release}-filelist-he
702    
703    %package hu
704    Summary: %{package_summary} - Hungarian
705    Group: %{group}
706    Requires: e-smith-formmagick >= 1.4.0-10
707    %description hu
708    %{summary}
709    %files hu -f %{name}-%{version}-%{release}-filelist-hu
710    
711  %package id  %package id
712  Summary: %{package_summary} - Indonesian  Summary: %{package_summary} - Indonesian
713  Group: %{group}  Group: %{group}
714    Requires: aspell-id
715    Requires: e-smith-formmagick >= 1.4.0-10
716  %description id  %description id
717  %{summary}  %{summary}
718  %files id -f %{name}-%{version}-%{release}-filelist-id  %files id -f %{name}-%{version}-%{release}-filelist-id
# Line 534  Group: %{group} Line 721  Group: %{group}
721  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
722  Group: %{group}  Group: %{group}
723  Requires: aspell-it  Requires: aspell-it
724    Requires: e-smith-formmagick >= 1.4.0-10
725  %description it  %description it
726  %{summary}  %{summary}
727  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
728    
729    %package ja
730    Summary: %{package_summary} - Japanese
731    Group: %{group}
732    Requires: e-smith-formmagick >= 1.4.0-10
733    %description ja
734    %{summary}
735    %files ja -f %{name}-%{version}-%{release}-filelist-ja
736    
737    %package nb
738    Summary: %{package_summary} - Norwegian (Bokmal)
739    Group: %{group}
740    Requires: e-smith-formmagick >= 1.4.0-10
741    %description nb
742    %{summary}
743    %files nb -f %{name}-%{version}-%{release}-filelist-nb
744    
745  %package nl  %package nl
746  Summary: %{package_summary} - Dutch  Summary: %{package_summary} - Dutch
747  Group: %{group}  Group: %{group}
748    Requires: aspell-nl
749    Requires: e-smith-formmagick >= 1.4.0-10
750  %description nl  %description nl
751  %{summary}  %{summary}
752  %files nl -f %{name}-%{version}-%{release}-filelist-nl  %files nl -f %{name}-%{version}-%{release}-filelist-nl
753    
754    %package pl
755    Summary: %{package_summary} - Polish
756    Group: %{group}
757    Requires: aspell-pl
758    Requires: e-smith-formmagick >= 1.4.0-10
759    %description pl
760    %{summary}
761    %files pl -f %{name}-%{version}-%{release}-filelist-pl
762    
763  %package pt  %package pt
764  Summary: %{package_summary} - Portugese  Summary: %{package_summary} - Portugese
765  Group: %{group}  Group: %{group}
766    Requires: aspell-pt
767    Requires: e-smith-formmagick >= 1.4.0-10
768  %description pt  %description pt
769  %{summary}  %{summary}
770  %files pt -f %{name}-%{version}-%{release}-filelist-pt  %files pt -f %{name}-%{version}-%{release}-filelist-pt
771    
772    %package pt_BR
773    Summary: %{package_summary} - Portugese (Brazilian)
774    Group: %{group}
775    Requires: aspell-pt
776    Requires: e-smith-formmagick >= 1.4.0-10
777    %description pt_BR
778    %{summary}
779    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
780    
781    %package ro
782    Summary: %{package_summary} - Romanian
783    Group: %{group}
784    Requires: e-smith-formmagick >= 1.4.0-10
785    %description ro
786    %{summary}
787    %files ro -f %{name}-%{version}-%{release}-filelist-ro
788    
789    %package ru
790    Summary: %{package_summary} - Russian
791    Group: %{group}
792    Requires: aspell-ru
793    Requires: e-smith-formmagick >= 1.4.0-10
794    %description ru
795    %{summary}
796    %files ru -f %{name}-%{version}-%{release}-filelist-ru
797    
798  %package sl  %package sl
799  Summary: %{package_summary} - Slovinian  Summary: %{package_summary} - Slovinian
800  Group: %{group}  Group: %{group}
801    Requires: aspell-sl
802    Requires: e-smith-formmagick >= 1.4.0-10
803  %description sl  %description sl
804  %{summary}  %{summary}
805  %files sl -f %{name}-%{version}-%{release}-filelist-sl  %files sl -f %{name}-%{version}-%{release}-filelist-sl
# Line 563  Group: %{group} Line 808  Group: %{group}
808  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
809  Group: %{group}  Group: %{group}
810  Requires: aspell-sv  Requires: aspell-sv
811    Requires: e-smith-formmagick >= 1.4.0-10
812  %description sv  %description sv
813  %{summary}  %{summary}
814  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
815    
816    %package th
817    Summary: %{package_summary} - Thai
818    Group: %{group}
819    Requires: e-smith-formmagick >= 1.4.0-10
820    %description th
821    %{summary}
822    %files th -f %{name}-%{version}-%{release}-filelist-th
823    
824    %package tr
825    Summary: %{package_summary} - Turkish
826    Group: %{group}
827    Requires: e-smith-formmagick >= 1.4.0-10
828    %description tr
829    %{summary}
830    %files tr -f %{name}-%{version}-%{release}-filelist-tr
831    
832    %package zh_CN
833    Summary: %{package_summary} - Chinese (China)
834    Group: %{group}
835    Requires: e-smith-formmagick >= 1.4.0-10
836    %description zh_CN
837    %{summary}
838    %files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN
839    
840    %package zh_TW
841    Summary: %{package_summary} - Chinese (Taiwan)
842    Group: %{group}
843    Requires: e-smith-formmagick >= 1.4.0-10
844    %description zh_TW
845    %{summary}
846    %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