/[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.5 by slords, Thu Oct 11 14:39:16 2007 UTC Revision 1.21 by slords, Fri Mar 7 21:37:14 2008 UTC
# Line 1  Line 1 
1  Summary: SME Server localisation module  Summary: SME Server localisation module
2  %define name smeserver-locale  %define name smeserver-locale
3  Name: %{name}  Name: %{name}
4  %define version 1.2.0  %define version 1.4.0
5  %define release 28  %define release 1
6  %define package_summary SME Server localisation module  %define package_summary SME Server localisation module
7  %define group Applications/System  %define group Applications/System
8  %define package_locales de es fr it sv  %define package_locales da de el es fr hu id it nl pt sl sv
9  Version: %{version}  Version: %{version}
10  Release: %{release}%{?dist}  Release: %{release}%{?dist}
11  License: GPL  License: GPL
12  Group: Networking/Daemons  Group: Networking/Daemons
13  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  
 Patch25: smeserver-locale-it-1.2.0-SshTcpPort.patch  
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  BuildRequires: perl  BuildRequires: perl
17  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
18  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
19  AutoReqProv: no  AutoReqProv: no
20    
21  %description  %description
22  SME Server localisation module  SME Server localisation module
23    
24  %changelog  %changelog
25    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
26    - Roll new stream and considate patches
27    
28    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
29    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
30    
31    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
32    - add translations for Brazilian portuguese [SME: 63]
33    
34    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
35    - add translations for Slovian    [SME: 892]
36    
37    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
38    - add translations for Dutch      [SME: 2737]
39    
40    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
41    - add translations for Indonesian [SME: 3260]
42    
43    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
44    - add translations for Greek      [SME: 1690]
45    
46    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
47    - add translations for Danish     [SME: 2688]
48    
49    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
50    - update translations for Swedish [SME: 3934]
51    
52    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
53    - update translations for Spanish [SME: 3937]
54    
55    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
56    - update translations for Italian [SME: 3936]
57    
58    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
59    - update translations for French  [SME: 3935]
60    
61    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
62    - update translations for German  [SME: 3933]
63    
64    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
65    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
66    
67    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
68    - rename de and it quota .po files with .tmpl [SME: 3834]
69    
70    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
71    - Remove redundant germam lexicon reinstall [SME: 3881]
72    
73    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
74    - Fix fr translation for smtp header in email panels. [SME: 3831]
75    
76    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
77    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
78    
79    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
80    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
81    
82    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
83    - Update de, es, fr and sv translations for email panels. [SME: 2296]
84    
85    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
86    - Italian update for SMTP server [SME: 2305]
87    
88    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
89    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
90    
91    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
92    - Add SSH_PORT for sv [SME: 3748]
93    
94    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
95    - System password change made consistant [SME: 3533]
96    
97    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
98    - Add Add Italian entries to hostentries [SME: 3207]
99    
100    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
101    - Add yum uptodate message [SME: 3768]
102    
103    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
104    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
105    
106    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
107    - Add SSH_PORT spanish translation update. [SME: 3746]
108    
109    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
110    - Add SSH_PORT for fr and de [SME: 3215]
111    
112    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
113    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
114    
115    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
116    - Add missing localization again. (Thanks Federico). [SME: 3149]
117    
118  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
119  - Add missing localization (Thanks Federico). [SME: 3149]  - Add missing localization (Thanks Federico). [SME: 3149]
120    
# Line 231  SME Server localisation module Line 297  SME Server localisation module
297    
298  %prep  %prep
299  %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  
300    
301  %build  %build
302  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
303  for file in $LEXICONS  for file in $LEXICONS
304  do  do
     /usr/bin/dos2unix $file  
305      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
306  done  done
307    
# Line 276  done Line 313  done
313  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
314    
315  %install  %install
 set -x  
   
316  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
317  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
318    
 # 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  
   
319  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
320      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
321    
# Line 298  do Line 328  do
328          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
329  done  done
330    
 # 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  
   
331  %clean  %clean
332  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
333    
334    %package da
335    Summary: %{package_summary} - Danish
336    Group: %{group}
337    %description da
338    %{summary}
339    %files da -f %{name}-%{version}-%{release}-filelist-da
340    
341  %package de  %package de
342  Summary: %{package_summary} - German  Summary: %{package_summary} - German
343  Group: %{group}  Group: %{group}
# Line 341  Requires: aspell-de Line 346  Requires: aspell-de
346  %{summary}  %{summary}
347  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
348    
349    %package el
350    Summary: %{package_summary} - Greek
351    Group: %{group}
352    %description el
353    %{summary}
354    %files el -f %{name}-%{version}-%{release}-filelist-el
355    
356  %package es  %package es
357  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
358  Group: %{group}  Group: %{group}
# Line 357  Requires: aspell-fr Line 369  Requires: aspell-fr
369  %{summary}  %{summary}
370  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
371    
372    %package hu
373    Summary: %{package_summary} - Hungarian
374    Group: %{group}
375    %description hu
376    %{summary}
377    %files hu -f %{name}-%{version}-%{release}-filelist-hu
378    
379    %package id
380    Summary: %{package_summary} - Indonesian
381    Group: %{group}
382    %description id
383    %{summary}
384    %files id -f %{name}-%{version}-%{release}-filelist-id
385    
386  %package it  %package it
387  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
388  Group: %{group}  Group: %{group}
# Line 365  Requires: aspell-it Line 391  Requires: aspell-it
391  %{summary}  %{summary}
392  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
393    
394    %package nl
395    Summary: %{package_summary} - Dutch
396    Group: %{group}
397    %description nl
398    %{summary}
399    %files nl -f %{name}-%{version}-%{release}-filelist-nl
400    
401    %package pt
402    Summary: %{package_summary} - Portugese
403    Group: %{group}
404    %description pt
405    %{summary}
406    %files pt -f %{name}-%{version}-%{release}-filelist-pt
407    
408    %package sl
409    Summary: %{package_summary} - Slovinian
410    Group: %{group}
411    %description sl
412    %{summary}
413    %files sl -f %{name}-%{version}-%{release}-filelist-sl
414    
415  %package sv  %package sv
416  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
417  Group: %{group}  Group: %{group}


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