/[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.7 by bytegw, Mon Jan 7 18:49:37 2008 UTC Revision 1.54 by slords, Sun Nov 2 21:16:30 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.53 2008/10/20 00:05:03 dungog 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 31  %define release 8
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 ja 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  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
 Patch7: smeserver-locale-1.2.0-bug1001-01.patch  
 Patch8: smeserver-locale-1.2.0-italian_rc4.patch  
 Patch9: smeserver-locale-1.2.0-initialtext.patch  
 Patch10: smeserver-locale-1.2.0-initialtext.patch2  
 Patch11: smeserver-locale-1.2.0-initialtext.patch3  
 Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  
 patch13: smeserver-locale-1.2.0-novirtual.patch  
 Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch  
 Patch15: smeserver-locale-1.2.0-novirtualsvitfr.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  
 Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch  
 Patch23: smeserver-locale-1.2.0-italian_standby.patch  
 Patch24: smeserver-locale-1.2.0-frmenusplit.patch  
 Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch  
 Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch  
 Patch28: smeserver-locale-1.2.0-sshportfrde.patch  
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  BuildRequires: perl  BuildRequires: perl
26  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
27  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
28  AutoReqProv: no  AutoReqProv: no
29    
30  %description  %description
31  SME Server localisation module  SME Server localisation module
32    
33  %changelog  %changelog
34    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme
35    - Apply 2 Nov 2008 locale patch
36    
37    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme
38    - Apply 19 Oct 2008 locale patch [SME: 4692]
39    
40    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme
41    - Apply 17 Oct 2008 locale patch
42    
43    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme
44    - Apply 16 Oct 2008 locale patch
45    
46    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme
47    - Apply 15 Oct 2008 locale patch
48    
49    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme
50    - Add Japanese language [SME: 4637]
51    
52    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme
53    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
54    
55    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
56    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
57    
58    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
59    - Reverting all changes made Oct 4, as they should be made through Pootle
60    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
61    
62    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
63    - Apply 4 Oct locale patch
64    
65    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
66    - Remove colored highlights from German locale [SME: 4618]
67    - Fix changelog entry in previous entry for [SME: 4616]
68    
69    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
70    - Remove references to the wiki from the German locale [SME: 4616]
71    - Fix bug referrence in previous changelog entry [SME: 4617]
72    
73    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
74    - Apply locale patch to fix many translation bugs [SME: 4615]
75    
76    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
77    - Apply locale patch
78    
79    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
80    - Apply locale patch
81    
82    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
83    - Apply Jul 26 2008 locale patch
84    - Add Portuguese language
85    - Add Turkish language
86    
87    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
88    - Apply 1 July 2008 locale patch
89    
90    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
91    - Apply 27 Jun 2008 locale patch
92    
93    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
94    - Update to May 5 2008 translations
95    - Revert Apr 23 2008 translations (bad patch)
96    
97    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
98    - Update to Apr 23 2008 translations
99    
100    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
101    - Update to Apr 1 2008 translations
102    
103    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
104    - Update to Mar 26 2008 translations
105    
106    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
107    - Update to Mar 25 2008 translations
108    
109    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
110    - Fix packages for Brazilian portuguese
111    - Update to Mar 18 2008 translations
112    
113    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
114    - Move requires e-smith-formmagick to correct places [SME: 3858]
115    - Add missing aspell module requires
116    
117    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
118    - Fix requires to require e-smith-formmagick [SME: 3858]
119    
120    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
121    - Convert panels to UTF-8 [SME: 3858]
122    
123    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
124    - Roll new stream and considate patches
125    
126    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
127    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
128    
129    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
130    - add translations for Brazilian portuguese [SME: 63]
131    
132    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
133    - add translations for Slovian    [SME: 892]
134    
135    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
136    - add translations for Dutch      [SME: 2737]
137    
138    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
139    - add translations for Indonesian [SME: 3260]
140    
141    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
142    - add translations for Greek      [SME: 1690]
143    
144    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
145    - add translations for Danish     [SME: 2688]
146    
147    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
148    - update translations for Swedish [SME: 3934]
149    
150    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
151    - update translations for Spanish [SME: 3937]
152    
153    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
154    - update translations for Italian [SME: 3936]
155    
156    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
157    - update translations for French  [SME: 3935]
158    
159    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
160    - update translations for German  [SME: 3933]
161    
162    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
163    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
164    
165    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
166    - rename de and it quota .po files with .tmpl [SME: 3834]
167    
168    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
169    - Remove redundant germam lexicon reinstall [SME: 3881]
170    
171    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
172    - Fix fr translation for smtp header in email panels. [SME: 3831]
173    
174    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
175    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
176    
177    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
178    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
179    
180    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
181    - Update de, es, fr and sv translations for email panels. [SME: 2296]
182    
183    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
184    - Italian update for SMTP server [SME: 2305]
185    
186    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
187    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
188    
189    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
190    - Add SSH_PORT for sv [SME: 3748]
191    
192    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
193    - System password change made consistant [SME: 3533]
194    
195    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
196    - Add Add Italian entries to hostentries [SME: 3207]
197    
198    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
199    - Add yum uptodate message [SME: 3768]
200    
201    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
202    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
203    
204    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
205    - Add SSH_PORT spanish translation update. [SME: 3746]
206    
207  * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31  * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
208  - Add SSH_PORT for fr and de [SME: 3215]  - Add SSH_PORT for fr and de [SME: 3215]
209    
# Line 249  SME Server localisation module Line 402  SME Server localisation module
402  %patch4 -p1  %patch4 -p1
403  %patch5 -p1  %patch5 -p1
404  %patch6 -p1  %patch6 -p1
 %patch7 -p1  
 %patch8 -p1  
 %patch9 -p1  
 %patch10 -p1  
 %patch11 -p1  
 %patch12 -p1  
 %patch13 -p1  
 %patch14 -p1  
 %patch15 -p1  
 %patch16 -p1  
 %patch17 -p1  
 %patch18 -p1  
 %patch19 -p1  
 %patch20 -p1  
 %patch21 -p1  
 %patch22 -p1  
 %patch23 -p1  
 %patch24 -p1  
 %patch26 -p1  
 %patch27 -p1  
 %patch28 -p1  
   
 %post  
405    
406  %build  %build
407  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
408  for file in $LEXICONS  for file in $LEXICONS
409  do  do
     /usr/bin/dos2unix $file  
410      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
411  done  done
412    
# Line 291  done Line 418  done
418  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
419    
420  %install  %install
 set -x  
   
421  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
422  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
423    
 # 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  
   
424  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
425      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
426    
# Line 313  do Line 433  do
433          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
434  done  done
435    
 # 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  
   
436  %clean  %clean
437  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
438    
439    %package bg
440    Summary: %{package_summary} - Bulgarian
441    Group: %{group}
442    Requires: aspell-bg
443    Requires: e-smith-formmagick >= 1.4.0-10
444    %description bg
445    %{summary}
446    %files bg -f %{name}-%{version}-%{release}-filelist-bg
447    
448    %package da
449    Summary: %{package_summary} - Danish
450    Group: %{group}
451    Requires: aspell-da
452    Requires: e-smith-formmagick >= 1.4.0-10
453    %description da
454    %{summary}
455    %files da -f %{name}-%{version}-%{release}-filelist-da
456    
457  %package de  %package de
458  Summary: %{package_summary} - German  Summary: %{package_summary} - German
459  Group: %{group}  Group: %{group}
460  Requires: aspell-de  Requires: aspell-de
461    Requires: e-smith-formmagick >= 1.4.0-10
462  %description de  %description de
463  %{summary}  %{summary}
464  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
465    
466    %package el
467    Summary: %{package_summary} - Greek
468    Group: %{group}
469    Requires: aspell-el
470    Requires: e-smith-formmagick >= 1.4.0-10
471    %description el
472    %{summary}
473    %files el -f %{name}-%{version}-%{release}-filelist-el
474    
475  %package es  %package es
476  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
477  Group: %{group}  Group: %{group}
478  Requires: aspell-es  Requires: aspell-es
479    Requires: e-smith-formmagick >= 1.4.0-10
480  %description es  %description es
481  %{summary}  %{summary}
482  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 368  Requires: aspell-es Line 485  Requires: aspell-es
485  Summary: %{package_summary} - French  Summary: %{package_summary} - French
486  Group: %{group}  Group: %{group}
487  Requires: aspell-fr  Requires: aspell-fr
488    Requires: e-smith-formmagick >= 1.4.0-10
489  %description fr  %description fr
490  %{summary}  %{summary}
491  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
492    
493    %package hu
494    Summary: %{package_summary} - Hungarian
495    Group: %{group}
496    #Requires: aspell-hu
497    Requires: e-smith-formmagick >= 1.4.0-10
498    %description hu
499    %{summary}
500    %files hu -f %{name}-%{version}-%{release}-filelist-hu
501    
502    %package id
503    Summary: %{package_summary} - Indonesian
504    Group: %{group}
505    Requires: aspell-id
506    Requires: e-smith-formmagick >= 1.4.0-10
507    %description id
508    %{summary}
509    %files id -f %{name}-%{version}-%{release}-filelist-id
510    
511  %package it  %package it
512  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
513  Group: %{group}  Group: %{group}
514  Requires: aspell-it  Requires: aspell-it
515    Requires: e-smith-formmagick >= 1.4.0-10
516  %description it  %description it
517  %{summary}  %{summary}
518  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
519    
520    %package ja
521    Summary: %{package_summary} - Japanese
522    Group: %{group}
523    Requires: e-smith-formmagick >= 1.4.0-10
524    %description ja
525    %{summary}
526    %files ja -f %{name}-%{version}-%{release}-filelist-ja
527    
528    %package nl
529    Summary: %{package_summary} - Dutch
530    Group: %{group}
531    Requires: aspell-nl
532    Requires: e-smith-formmagick >= 1.4.0-10
533    %description nl
534    %{summary}
535    %files nl -f %{name}-%{version}-%{release}-filelist-nl
536    
537    %package pt
538    Summary: %{package_summary} - Portugese
539    Group: %{group}
540    Requires: aspell-pt
541    Requires: e-smith-formmagick >= 1.4.0-10
542    %description pt
543    %{summary}
544    %files pt -f %{name}-%{version}-%{release}-filelist-pt
545    
546    %package pt_BR
547    Summary: %{package_summary} - Portugese (Brazilian)
548    Group: %{group}
549    Requires: aspell-pt
550    Requires: e-smith-formmagick >= 1.4.0-10
551    %description pt_BR
552    %{summary}
553    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
554    
555    %package sl
556    Summary: %{package_summary} - Slovinian
557    Group: %{group}
558    Requires: aspell-sl
559    Requires: e-smith-formmagick >= 1.4.0-10
560    %description sl
561    %{summary}
562    %files sl -f %{name}-%{version}-%{release}-filelist-sl
563    
564  %package sv  %package sv
565  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
566  Group: %{group}  Group: %{group}
567  Requires: aspell-sv  Requires: aspell-sv
568    Requires: e-smith-formmagick >= 1.4.0-10
569  %description sv  %description sv
570  %{summary}  %{summary}
571  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
572    
573    %package tr
574    Summary: %{package_summary} - Turkish
575    Group: %{group}
576    #Requires: aspell-tr
577    Requires: e-smith-formmagick >= 1.4.0-10
578    %description tr
579    %{summary}
580    %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