/[smeserver]/rpms/smeserver-locale/sme7/smeserver-locale.spec
ViewVC logotype

Diff of /rpms/smeserver-locale/sme7/smeserver-locale.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

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