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