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