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