/[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.43 by snetram, Sat Oct 4 10:00:28 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.42 2008/10/04 09:43:40 snetram 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 1.4.0
7  %define release 24  %define release 19
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 fr hu id it nl pt pt_BR sl sv tr
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  Patch1: smeserver-locale-UTF8.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch2: smeserver-locale-remove_pt.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch3: smeserver-locale-2008-03-18.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch4: smeserver-locale-2008-03-25.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch5: smeserver-locale-2008-03-26.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch6: smeserver-locale-2008-04-01.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch7: smeserver-locale-2008-05-05.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch8: smeserver-locale-2008-06-27.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch9: smeserver-locale-2008-07-01.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch
26  Patch10: smeserver-locale-1.2.0-initialtext.patch2  Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch
27  Patch11: smeserver-locale-1.2.0-initialtext.patch3  Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch
28  Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  Patch13: smeserver-locale-1.4.0-locale-2008-10-03.patch
29  patch13: smeserver-locale-1.2.0-novirtual.patch  Patch14: smeserver-locale-1.4.0-removeReferrencesToWiki.patch
30  Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch  Patch15: smeserver-locale-1.4.0-removeColorCoding.patch
31  Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch  Patch16: smeserver-locale-1.4.0-locale-2008-10-04.patch
 Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch  
 Patch17: smeserver-locale-1.2.0-spanishupdates2.patch  
 Patch18: smeserver-locale-1.2.0-spanishupdates3.patch  
 Patch19: smeserver-locale-1.2.0-germanupdates2.patch  
 Patch20: smeserver-locale-1.2.0-germanupdates3.patch  
 Patch21: smeserver-locale-1.2.0-spanishupdates4.patch  
32  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
33  BuildArchitectures: noarch  BuildArchitectures: noarch
34  BuildRequires: perl  BuildRequires: perl
35  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
36  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
37  AutoReqProv: no  AutoReqProv: no
38    
39  %description  %description
40  SME Server localisation module  SME Server localisation module
41    
42  %changelog  %changelog
43    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
44    - Apply 4 Oct locale patch
45    
46    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
47    - Remove colored highlights from German locale [SME: 4618]
48    - Fix changelog entry in previous entry for [SME: 4616]
49    
50    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
51    - Remove references to the wiki from the German locale [SME: 4616]
52    - Fix bug referrence in previous changelog entry [SME: 4617]
53    
54    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
55    - Apply locale patch to fix many translation bugs [SME: 4615]
56    
57    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
58    - Apply locale patch
59    
60    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
61    - Apply locale patch
62    
63    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
64    - Apply Jul 26 2008 locale patch
65    - Add Portuguese language
66    - Add Turkish language
67    
68    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
69    - Apply 1 July 2008 locale patch
70    
71    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
72    - Apply 27 Jun 2008 locale patch
73    
74    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
75    - Update to May 5 2008 translations
76    - Revert Apr 23 2008 translations (bad patch)
77    
78    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
79    - Update to Apr 23 2008 translations
80    
81    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
82    - Update to Apr 1 2008 translations
83    
84    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
85    - Update to Mar 26 2008 translations
86    
87    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
88    - Update to Mar 25 2008 translations
89    
90    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
91    - Fix packages for Brazilian portuguese
92    - Update to Mar 18 2008 translations
93    
94    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
95    - Move requires e-smith-formmagick to correct places [SME: 3858]
96    - Add missing aspell module requires
97    
98    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
99    - Fix requires to require e-smith-formmagick [SME: 3858]
100    
101    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
102    - Convert panels to UTF-8 [SME: 3858]
103    
104    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
105    - Roll new stream and considate patches
106    
107    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
108    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
109    
110    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
111    - add translations for Brazilian portuguese [SME: 63]
112    
113    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
114    - add translations for Slovian    [SME: 892]
115    
116    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
117    - add translations for Dutch      [SME: 2737]
118    
119    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
120    - add translations for Indonesian [SME: 3260]
121    
122    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
123    - add translations for Greek      [SME: 1690]
124    
125    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
126    - add translations for Danish     [SME: 2688]
127    
128    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
129    - update translations for Swedish [SME: 3934]
130    
131    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
132    - update translations for Spanish [SME: 3937]
133    
134    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
135    - update translations for Italian [SME: 3936]
136    
137    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
138    - update translations for French  [SME: 3935]
139    
140    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
141    - update translations for German  [SME: 3933]
142    
143    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
144    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
145    
146    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
147    - rename de and it quota .po files with .tmpl [SME: 3834]
148    
149    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
150    - Remove redundant germam lexicon reinstall [SME: 3881]
151    
152    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
153    - Fix fr translation for smtp header in email panels. [SME: 3831]
154    
155    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
156    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
157    
158    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
159    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
160    
161    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
162    - Update de, es, fr and sv translations for email panels. [SME: 2296]
163    
164    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
165    - Italian update for SMTP server [SME: 2305]
166    
167    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
168    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
169    
170    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
171    - Add SSH_PORT for sv [SME: 3748]
172    
173    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
174    - System password change made consistant [SME: 3533]
175    
176    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
177    - Add Add Italian entries to hostentries [SME: 3207]
178    
179    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
180    - Add yum uptodate message [SME: 3768]
181    
182    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
183    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
184    
185    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
186    - Add SSH_PORT spanish translation update. [SME: 3746]
187    
188    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
189    - Add SSH_PORT for fr and de [SME: 3215]
190    
191    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
192    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
193    
194    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
195    - Add missing localization again. (Thanks Federico). [SME: 3149]
196    
197    * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
198    - Add missing localization (Thanks Federico). [SME: 3149]
199    
200    * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
201    - Update French clamav lexicon [SME: 3012]
202    
203    * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26
204    - Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937]
205    
206    * Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-25
207    - Updated backupusb console Translation. (Thanks Federico) [SME: 2937]
208    
209  * 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
210  - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]  - More Updated Spanish Translations. (Thanks Normando) [SME: 2287]
211    
# Line 215  SME Server localisation module Line 376  SME Server localisation module
376    
377  %prep  %prep
378  %setup  %setup
 %patch0 -p1  
379  %patch1 -p1  %patch1 -p1
380  %patch2 -p1  %patch2 -p1
381  %patch3 -p1  %patch3 -p1
# Line 232  SME Server localisation module Line 392  SME Server localisation module
392  %patch14 -p1  %patch14 -p1
393  %patch15 -p1  %patch15 -p1
394  %patch16 -p1  %patch16 -p1
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 %post  
395    
396  %build  %build
397  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
398  for file in $LEXICONS  for file in $LEXICONS
399  do  do
     /usr/bin/dos2unix $file  
400      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
401  done  done
402    
# Line 257  done Line 408  done
408  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
409    
410  %install  %install
 set -x  
   
411  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
412  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
413    
 # 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  
   
414  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
415      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
416    
# Line 279  do Line 423  do
423          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
424  done  done
425    
 # 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  
   
426  %clean  %clean
427  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
428    
429    %package bg
430    Summary: %{package_summary} - Bulgarian
431    Group: %{group}
432    Requires: aspell-bg
433    Requires: e-smith-formmagick >= 1.4.0-10
434    %description bg
435    %{summary}
436    %files bg -f %{name}-%{version}-%{release}-filelist-bg
437    
438    %package da
439    Summary: %{package_summary} - Danish
440    Group: %{group}
441    Requires: aspell-da
442    Requires: e-smith-formmagick >= 1.4.0-10
443    %description da
444    %{summary}
445    %files da -f %{name}-%{version}-%{release}-filelist-da
446    
447  %package de  %package de
448  Summary: %{package_summary} - German  Summary: %{package_summary} - German
449  Group: %{group}  Group: %{group}
450  Requires: aspell-de  Requires: aspell-de
451    Requires: e-smith-formmagick >= 1.4.0-10
452  %description de  %description de
453  %{summary}  %{summary}
454  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
455    
456    %package el
457    Summary: %{package_summary} - Greek
458    Group: %{group}
459    Requires: aspell-el
460    Requires: e-smith-formmagick >= 1.4.0-10
461    %description el
462    %{summary}
463    %files el -f %{name}-%{version}-%{release}-filelist-el
464    
465  %package es  %package es
466  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
467  Group: %{group}  Group: %{group}
468  Requires: aspell-es  Requires: aspell-es
469    Requires: e-smith-formmagick >= 1.4.0-10
470  %description es  %description es
471  %{summary}  %{summary}
472  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 334  Requires: aspell-es Line 475  Requires: aspell-es
475  Summary: %{package_summary} - French  Summary: %{package_summary} - French
476  Group: %{group}  Group: %{group}
477  Requires: aspell-fr  Requires: aspell-fr
478    Requires: e-smith-formmagick >= 1.4.0-10
479  %description fr  %description fr
480  %{summary}  %{summary}
481  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
482    
483    %package hu
484    Summary: %{package_summary} - Hungarian
485    Group: %{group}
486    #Requires: aspell-hu
487    Requires: e-smith-formmagick >= 1.4.0-10
488    %description hu
489    %{summary}
490    %files hu -f %{name}-%{version}-%{release}-filelist-hu
491    
492    %package id
493    Summary: %{package_summary} - Indonesian
494    Group: %{group}
495    Requires: aspell-id
496    Requires: e-smith-formmagick >= 1.4.0-10
497    %description id
498    %{summary}
499    %files id -f %{name}-%{version}-%{release}-filelist-id
500    
501  %package it  %package it
502  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
503  Group: %{group}  Group: %{group}
504  Requires: aspell-it  Requires: aspell-it
505    Requires: e-smith-formmagick >= 1.4.0-10
506  %description it  %description it
507  %{summary}  %{summary}
508  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
509    
510    %package nl
511    Summary: %{package_summary} - Dutch
512    Group: %{group}
513    Requires: aspell-nl
514    Requires: e-smith-formmagick >= 1.4.0-10
515    %description nl
516    %{summary}
517    %files nl -f %{name}-%{version}-%{release}-filelist-nl
518    
519    %package pt
520    Summary: %{package_summary} - Portugese
521    Group: %{group}
522    Requires: aspell-pt
523    Requires: e-smith-formmagick >= 1.4.0-10
524    %description pt
525    %{summary}
526    %files pt -f %{name}-%{version}-%{release}-filelist-pt
527    
528    %package pt_BR
529    Summary: %{package_summary} - Portugese (Brazilian)
530    Group: %{group}
531    Requires: aspell-pt
532    Requires: e-smith-formmagick >= 1.4.0-10
533    %description pt_BR
534    %{summary}
535    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
536    
537    %package sl
538    Summary: %{package_summary} - Slovinian
539    Group: %{group}
540    Requires: aspell-sl
541    Requires: e-smith-formmagick >= 1.4.0-10
542    %description sl
543    %{summary}
544    %files sl -f %{name}-%{version}-%{release}-filelist-sl
545    
546  %package sv  %package sv
547  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
548  Group: %{group}  Group: %{group}
549  Requires: aspell-sv  Requires: aspell-sv
550    Requires: e-smith-formmagick >= 1.4.0-10
551  %description sv  %description sv
552  %{summary}  %{summary}
553  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
554    
555    %package tr
556    Summary: %{package_summary} - Turkish
557    Group: %{group}
558    #Requires: aspell-tr
559    Requires: e-smith-formmagick >= 1.4.0-10
560    %description tr
561    %{summary}
562    %files tr -f %{name}-%{version}-%{release}-filelist-tr


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