/[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.14 by slords, Tue Feb 5 16:36:41 2008 UTC Revision 1.58 by snetram, Tue Nov 18 19:48:15 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.57 2008/11/07 07:53:35 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 43  %define release 11
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.0.0-locale-2008-10-08.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch9: smeserver-locale-2.0.0-locale-2008-11-18.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  
 Patch37: smeserver-locale-1.2.0-de_es_fr_sv_emailupdate.patch  
 Patch38: smeserver-locale-1.2.0-de_fr_sv_smtpheaderupdate.patch  
 Patch39: smeserver-locale-1.2.0-de_es_fr_sv_yumtextupdate.patch  
 Patch40: smeserver-locale-1.2.0-frEmailsettings.patch  
26  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27  BuildArchitectures: noarch  BuildArchitectures: noarch
28  BuildRequires: perl  BuildRequires: perl
29  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
30  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
31  AutoReqProv: no  AutoReqProv: no
32    
33  %description  %description
34  SME Server localisation module  SME Server localisation module
35    
36  %changelog  %changelog
37    * Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme
38    - Apply 18 Nov 2008 locale patch [SME: 4748]
39    
40    * Fri Nov  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme
41    - Apply  7 Nov 2008 locale patch [SME: 4748]
42    
43    * Thu Nov  6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme
44    - Apply  6 Nov 2008 locale patch [SME: 4746]
45    
46    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme
47    - Apply 2 Nov 2008 locale patch
48    
49    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme
50    - Apply 19 Oct 2008 locale patch [SME: 4692]
51    
52    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme
53    - Apply 17 Oct 2008 locale patch
54    
55    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme
56    - Apply 16 Oct 2008 locale patch
57    
58    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme
59    - Apply 15 Oct 2008 locale patch
60    
61    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme
62    - Add Japanese language [SME: 4637]
63    
64    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme
65    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
66    
67    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
68    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
69    
70    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
71    - Reverting all changes made Oct 4, as they should be made through Pootle
72    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
73    
74    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
75    - Apply 4 Oct locale patch
76    
77    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
78    - Remove colored highlights from German locale [SME: 4618]
79    - Fix changelog entry in previous entry for [SME: 4616]
80    
81    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
82    - Remove references to the wiki from the German locale [SME: 4616]
83    - Fix bug referrence in previous changelog entry [SME: 4617]
84    
85    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
86    - Apply locale patch to fix many translation bugs [SME: 4615]
87    
88    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
89    - Apply locale patch
90    
91    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
92    - Apply locale patch
93    
94    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
95    - Apply Jul 26 2008 locale patch
96    - Add Portuguese language
97    - Add Turkish language
98    
99    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
100    - Apply 1 July 2008 locale patch
101    
102    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
103    - Apply 27 Jun 2008 locale patch
104    
105    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
106    - Update to May 5 2008 translations
107    - Revert Apr 23 2008 translations (bad patch)
108    
109    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
110    - Update to Apr 23 2008 translations
111    
112    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
113    - Update to Apr 1 2008 translations
114    
115    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
116    - Update to Mar 26 2008 translations
117    
118    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
119    - Update to Mar 25 2008 translations
120    
121    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
122    - Fix packages for Brazilian portuguese
123    - Update to Mar 18 2008 translations
124    
125    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
126    - Move requires e-smith-formmagick to correct places [SME: 3858]
127    - Add missing aspell module requires
128    
129    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
130    - Fix requires to require e-smith-formmagick [SME: 3858]
131    
132    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
133    - Convert panels to UTF-8 [SME: 3858]
134    
135    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
136    - Roll new stream and considate patches
137    
138    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
139    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
140    
141    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
142    - add translations for Brazilian portuguese [SME: 63]
143    
144    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
145    - add translations for Slovian    [SME: 892]
146    
147    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
148    - add translations for Dutch      [SME: 2737]
149    
150    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
151    - add translations for Indonesian [SME: 3260]
152    
153    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
154    - add translations for Greek      [SME: 1690]
155    
156    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
157    - add translations for Danish     [SME: 2688]
158    
159    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
160    - update translations for Swedish [SME: 3934]
161    
162    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
163    - update translations for Spanish [SME: 3937]
164    
165    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
166    - update translations for Italian [SME: 3936]
167    
168    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
169    - update translations for French  [SME: 3935]
170    
171    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
172    - update translations for German  [SME: 3933]
173    
174    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
175    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
176    
177    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
178    - rename de and it quota .po files with .tmpl [SME: 3834]
179    
180    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
181    - Remove redundant germam lexicon reinstall [SME: 3881]
182    
183  * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43  * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
184  - Fix fr translation for smtp header in email panels. [SME: 3831]  - Fix fr translation for smtp header in email panels. [SME: 3831]
185    
# Line 300  SME Server localisation module Line 417  SME Server localisation module
417  %patch7 -p1  %patch7 -p1
418  %patch8 -p1  %patch8 -p1
419  %patch9 -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  
 %patch37 -p1  
 %patch38 -p1  
 %patch39 -p1  
 %patch40 -p1  
   
 %post  
420    
421  %build  %build
422  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
423  for file in $LEXICONS  for file in $LEXICONS
424  do  do
     /usr/bin/dos2unix $file  
425      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
426  done  done
427    
# Line 351  done Line 433  done
433  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
434    
435  %install  %install
 set -x  
   
436  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
437  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
438    
 # 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  
   
439  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
440      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
441    
# Line 373  do Line 448  do
448          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
449  done  done
450    
 # 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  
   
451  %clean  %clean
452  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
453    
454    %package bg
455    Summary: %{package_summary} - Bulgarian
456    Group: %{group}
457    Requires: aspell-bg
458    Requires: e-smith-formmagick >= 1.4.0-10
459    %description bg
460    %{summary}
461    %files bg -f %{name}-%{version}-%{release}-filelist-bg
462    
463    %package da
464    Summary: %{package_summary} - Danish
465    Group: %{group}
466    Requires: aspell-da
467    Requires: e-smith-formmagick >= 1.4.0-10
468    %description da
469    %{summary}
470    %files da -f %{name}-%{version}-%{release}-filelist-da
471    
472  %package de  %package de
473  Summary: %{package_summary} - German  Summary: %{package_summary} - German
474  Group: %{group}  Group: %{group}
475  Requires: aspell-de  Requires: aspell-de
476    Requires: e-smith-formmagick >= 1.4.0-10
477  %description de  %description de
478  %{summary}  %{summary}
479  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
480    
481    %package el
482    Summary: %{package_summary} - Greek
483    Group: %{group}
484    Requires: aspell-el
485    Requires: e-smith-formmagick >= 1.4.0-10
486    %description el
487    %{summary}
488    %files el -f %{name}-%{version}-%{release}-filelist-el
489    
490  %package es  %package es
491  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
492  Group: %{group}  Group: %{group}
493  Requires: aspell-es  Requires: aspell-es
494    Requires: e-smith-formmagick >= 1.4.0-10
495  %description es  %description es
496  %{summary}  %{summary}
497  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 428  Requires: aspell-es Line 500  Requires: aspell-es
500  Summary: %{package_summary} - French  Summary: %{package_summary} - French
501  Group: %{group}  Group: %{group}
502  Requires: aspell-fr  Requires: aspell-fr
503    Requires: e-smith-formmagick >= 1.4.0-10
504  %description fr  %description fr
505  %{summary}  %{summary}
506  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
507    
508    %package hu
509    Summary: %{package_summary} - Hungarian
510    Group: %{group}
511    #Requires: aspell-hu
512    Requires: e-smith-formmagick >= 1.4.0-10
513    %description hu
514    %{summary}
515    %files hu -f %{name}-%{version}-%{release}-filelist-hu
516    
517    %package id
518    Summary: %{package_summary} - Indonesian
519    Group: %{group}
520    Requires: aspell-id
521    Requires: e-smith-formmagick >= 1.4.0-10
522    %description id
523    %{summary}
524    %files id -f %{name}-%{version}-%{release}-filelist-id
525    
526  %package it  %package it
527  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
528  Group: %{group}  Group: %{group}
529  Requires: aspell-it  Requires: aspell-it
530    Requires: e-smith-formmagick >= 1.4.0-10
531  %description it  %description it
532  %{summary}  %{summary}
533  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
534    
535    %package ja
536    Summary: %{package_summary} - Japanese
537    Group: %{group}
538    Requires: e-smith-formmagick >= 1.4.0-10
539    %description ja
540    %{summary}
541    %files ja -f %{name}-%{version}-%{release}-filelist-ja
542    
543    %package nl
544    Summary: %{package_summary} - Dutch
545    Group: %{group}
546    Requires: aspell-nl
547    Requires: e-smith-formmagick >= 1.4.0-10
548    %description nl
549    %{summary}
550    %files nl -f %{name}-%{version}-%{release}-filelist-nl
551    
552    %package pt
553    Summary: %{package_summary} - Portugese
554    Group: %{group}
555    Requires: aspell-pt
556    Requires: e-smith-formmagick >= 1.4.0-10
557    %description pt
558    %{summary}
559    %files pt -f %{name}-%{version}-%{release}-filelist-pt
560    
561    %package pt_BR
562    Summary: %{package_summary} - Portugese (Brazilian)
563    Group: %{group}
564    Requires: aspell-pt
565    Requires: e-smith-formmagick >= 1.4.0-10
566    %description pt_BR
567    %{summary}
568    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
569    
570    %package sl
571    Summary: %{package_summary} - Slovinian
572    Group: %{group}
573    Requires: aspell-sl
574    Requires: e-smith-formmagick >= 1.4.0-10
575    %description sl
576    %{summary}
577    %files sl -f %{name}-%{version}-%{release}-filelist-sl
578    
579  %package sv  %package sv
580  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
581  Group: %{group}  Group: %{group}
582  Requires: aspell-sv  Requires: aspell-sv
583    Requires: e-smith-formmagick >= 1.4.0-10
584  %description sv  %description sv
585  %{summary}  %{summary}
586  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
587    
588    %package tr
589    Summary: %{package_summary} - Turkish
590    Group: %{group}
591    #Requires: aspell-tr
592    Requires: e-smith-formmagick >= 1.4.0-10
593    %description tr
594    %{summary}
595    %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