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