/[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.31 by slords, Mon May 5 21:28:58 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.30 2008/04/23 18:57:59 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 1.4.0
7  %define release 27  %define release 10
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 da de el es fr hu id it nl pt_BR sl sv
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  Patch1: smeserver-locale-UTF8.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch2: smeserver-locale-remove_pt.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch3: smeserver-locale-2008-03-18.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch4: smeserver-locale-2008-03-25.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch5: smeserver-locale-2008-03-26.patch
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch6: smeserver-locale-2008-04-01.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch7: smeserver-locale-2008-05-05.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  
23  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24  BuildArchitectures: noarch  BuildArchitectures: noarch
25  BuildRequires: perl  BuildRequires: perl
26  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
27  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
28  AutoReqProv: no  AutoReqProv: no
29    
30  %description  %description
31  SME Server localisation module  SME Server localisation module
32    
33  %changelog  %changelog
34    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
35    - Update to May 5 2008 translations
36    - Revert Apr 23 2008 translations (bad patch)
37    
38    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
39    - Update to Apr 23 2008 translations
40    
41    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
42    - Update to Apr 1 2008 translations
43    
44    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
45    - Update to Mar 26 2008 translations
46    
47    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
48    - Update to Mar 25 2008 translations
49    
50    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
51    - Fix packages for Brazilian portuguese
52    - Update to Mar 18 2008 translations
53    
54    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
55    - Move requires e-smith-formmagick to correct places [SME: 3858]
56    - Add missing aspell module requires
57    
58    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
59    - Fix requires to require e-smith-formmagick [SME: 3858]
60    
61    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
62    - Convert panels to UTF-8 [SME: 3858]
63    
64    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
65    - Roll new stream and considate patches
66    
67    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
68    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
69    
70    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
71    - add translations for Brazilian portuguese [SME: 63]
72    
73    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
74    - add translations for Slovian    [SME: 892]
75    
76    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
77    - add translations for Dutch      [SME: 2737]
78    
79    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
80    - add translations for Indonesian [SME: 3260]
81    
82    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
83    - add translations for Greek      [SME: 1690]
84    
85    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
86    - add translations for Danish     [SME: 2688]
87    
88    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
89    - update translations for Swedish [SME: 3934]
90    
91    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
92    - update translations for Spanish [SME: 3937]
93    
94    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
95    - update translations for Italian [SME: 3936]
96    
97    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
98    - update translations for French  [SME: 3935]
99    
100    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
101    - update translations for German  [SME: 3933]
102    
103    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
104    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
105    
106    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
107    - rename de and it quota .po files with .tmpl [SME: 3834]
108    
109    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
110    - Remove redundant germam lexicon reinstall [SME: 3881]
111    
112    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
113    - Fix fr translation for smtp header in email panels. [SME: 3831]
114    
115    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
116    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
117    
118    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
119    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
120    
121    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
122    - Update de, es, fr and sv translations for email panels. [SME: 2296]
123    
124    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
125    - Italian update for SMTP server [SME: 2305]
126    
127    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
128    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
129    
130    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
131    - Add SSH_PORT for sv [SME: 3748]
132    
133    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
134    - System password change made consistant [SME: 3533]
135    
136    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
137    - Add Add Italian entries to hostentries [SME: 3207]
138    
139    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
140    - Add yum uptodate message [SME: 3768]
141    
142    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
143    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
144    
145    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
146    - Add SSH_PORT spanish translation update. [SME: 3746]
147    
148    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
149    - Add SSH_PORT for fr and de [SME: 3215]
150    
151    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
152    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
153    
154    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
155    - Add missing localization again. (Thanks Federico). [SME: 3149]
156    
157    * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
158    - Add missing localization (Thanks Federico). [SME: 3149]
159    
160  * 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
161  - Update French clamav lexicon [SME: 3012]  - Update French clamav lexicon [SME: 3012]
162    
# Line 227  SME Server localisation module Line 336  SME Server localisation module
336    
337  %prep  %prep
338  %setup  %setup
 %patch0 -p1  
339  %patch1 -p1  %patch1 -p1
340  %patch2 -p1  %patch2 -p1
341  %patch3 -p1  %patch3 -p1
# Line 235  SME Server localisation module Line 343  SME Server localisation module
343  %patch5 -p1  %patch5 -p1
344  %patch6 -p1  %patch6 -p1
345  %patch7 -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  
346    
347  %build  %build
348  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
349  for file in $LEXICONS  for file in $LEXICONS
350  do  do
     /usr/bin/dos2unix $file  
351      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
352  done  done
353    
# Line 272  done Line 359  done
359  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
360    
361  %install  %install
 set -x  
   
362  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
363  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
364    
 # 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  
   
365  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
366      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
367    
# Line 294  do Line 374  do
374          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
375  done  done
376    
 # 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  
   
377  %clean  %clean
378  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
379    
380    %package da
381    Summary: %{package_summary} - Danish
382    Group: %{group}
383    Requires: aspell-da
384    Requires: e-smith-formmagick >= 1.4.0-10
385    %description da
386    %{summary}
387    %files da -f %{name}-%{version}-%{release}-filelist-da
388    
389  %package de  %package de
390  Summary: %{package_summary} - German  Summary: %{package_summary} - German
391  Group: %{group}  Group: %{group}
392  Requires: aspell-de  Requires: aspell-de
393    Requires: e-smith-formmagick >= 1.4.0-10
394  %description de  %description de
395  %{summary}  %{summary}
396  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
397    
398    %package el
399    Summary: %{package_summary} - Greek
400    Group: %{group}
401    Requires: aspell-el
402    Requires: e-smith-formmagick >= 1.4.0-10
403    %description el
404    %{summary}
405    %files el -f %{name}-%{version}-%{release}-filelist-el
406    
407  %package es  %package es
408  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
409  Group: %{group}  Group: %{group}
410  Requires: aspell-es  Requires: aspell-es
411    Requires: e-smith-formmagick >= 1.4.0-10
412  %description es  %description es
413  %{summary}  %{summary}
414  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 349  Requires: aspell-es Line 417  Requires: aspell-es
417  Summary: %{package_summary} - French  Summary: %{package_summary} - French
418  Group: %{group}  Group: %{group}
419  Requires: aspell-fr  Requires: aspell-fr
420    Requires: e-smith-formmagick >= 1.4.0-10
421  %description fr  %description fr
422  %{summary}  %{summary}
423  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
424    
425    %package hu
426    Summary: %{package_summary} - Hungarian
427    Group: %{group}
428    Requires: e-smith-formmagick >= 1.4.0-10
429    %description hu
430    %{summary}
431    %files hu -f %{name}-%{version}-%{release}-filelist-hu
432    
433    %package id
434    Summary: %{package_summary} - Indonesian
435    Group: %{group}
436    Requires: aspell-id
437    Requires: e-smith-formmagick >= 1.4.0-10
438    %description id
439    %{summary}
440    %files id -f %{name}-%{version}-%{release}-filelist-id
441    
442  %package it  %package it
443  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
444  Group: %{group}  Group: %{group}
445  Requires: aspell-it  Requires: aspell-it
446    Requires: e-smith-formmagick >= 1.4.0-10
447  %description it  %description it
448  %{summary}  %{summary}
449  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
450    
451    %package nl
452    Summary: %{package_summary} - Dutch
453    Group: %{group}
454    Requires: aspell-nl
455    Requires: e-smith-formmagick >= 1.4.0-10
456    %description nl
457    %{summary}
458    %files nl -f %{name}-%{version}-%{release}-filelist-nl
459    
460    %package pt_BR
461    Summary: %{package_summary} - Portugese
462    Group: %{group}
463    Requires: aspell-pt
464    Requires: e-smith-formmagick >= 1.4.0-10
465    %description pt_BR
466    %{summary}
467    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
468    
469    %package sl
470    Summary: %{package_summary} - Slovinian
471    Group: %{group}
472    Requires: aspell-sl
473    Requires: e-smith-formmagick >= 1.4.0-10
474    %description sl
475    %{summary}
476    %files sl -f %{name}-%{version}-%{release}-filelist-sl
477    
478  %package sv  %package sv
479  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
480  Group: %{group}  Group: %{group}
481  Requires: aspell-sv  Requires: aspell-sv
482    Requires: e-smith-formmagick >= 1.4.0-10
483  %description sv  %description sv
484  %{summary}  %{summary}
485  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv


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