/[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.24 by slords, Tue Mar 11 14:14:28 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 4
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
14  Patch0: smeserver-locale-1.2.0-italian_rc1.patch  Patch1: smeserver-locale-UTF8.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  
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  BuildRequires: perl  BuildRequires: perl
18  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
19  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
20  AutoReqProv: no  AutoReqProv: no
21    
22  %description  %description
23  SME Server localisation module  SME Server localisation module
24    
25  %changelog  %changelog
26    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
27    - Move requires e-smith-formmagick to correct places [SME: 3858]
28    - Add missing aspell module requires
29    
30    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
31    - Fix requires to require e-smith-formmagick [SME: 3858]
32    
33    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
34    - Convert panels to UTF-8 [SME: 3858]
35    
36    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
37    - Roll new stream and considate patches
38    
39    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
40    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
41    
42    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
43    - add translations for Brazilian portuguese [SME: 63]
44    
45    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
46    - add translations for Slovian    [SME: 892]
47    
48    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
49    - add translations for Dutch      [SME: 2737]
50    
51    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
52    - add translations for Indonesian [SME: 3260]
53    
54    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
55    - add translations for Greek      [SME: 1690]
56    
57    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
58    - add translations for Danish     [SME: 2688]
59    
60    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
61    - update translations for Swedish [SME: 3934]
62    
63    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
64    - update translations for Spanish [SME: 3937]
65    
66    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
67    - update translations for Italian [SME: 3936]
68    
69    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
70    - update translations for French  [SME: 3935]
71    
72    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
73    - update translations for German  [SME: 3933]
74    
75    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
76    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
77    
78    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
79    - rename de and it quota .po files with .tmpl [SME: 3834]
80    
81    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
82    - Remove redundant germam lexicon reinstall [SME: 3881]
83    
84    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
85    - Fix fr translation for smtp header in email panels. [SME: 3831]
86    
87    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
88    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
89    
90    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
91    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
92    
93    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
94    - Update de, es, fr and sv translations for email panels. [SME: 2296]
95    
96    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
97    - Italian update for SMTP server [SME: 2305]
98    
99    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
100    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
101    
102    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
103    - Add SSH_PORT for sv [SME: 3748]
104    
105    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
106    - System password change made consistant [SME: 3533]
107    
108    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
109    - Add Add Italian entries to hostentries [SME: 3207]
110    
111    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
112    - Add yum uptodate message [SME: 3768]
113    
114    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
115    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
116    
117    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
118    - Add SSH_PORT spanish translation update. [SME: 3746]
119    
120    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
121    - Add SSH_PORT for fr and de [SME: 3215]
122    
123    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
124    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
125    
126    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
127    - Add missing localization again. (Thanks Federico). [SME: 3149]
128    
129  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>  * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
130  - Add missing localization (Thanks Federico). [SME: 3149]  - Add missing localization (Thanks Federico). [SME: 3149]
131    
# Line 231  SME Server localisation module Line 308  SME Server localisation module
308    
309  %prep  %prep
310  %setup  %setup
 %patch0 -p1  
311  %patch1 -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  
312    
313  %build  %build
314  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
315  for file in $LEXICONS  for file in $LEXICONS
316  do  do
     /usr/bin/dos2unix $file  
317      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
318  done  done
319    
# Line 276  done Line 325  done
325  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
326    
327  %install  %install
 set -x  
   
328  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
329  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
330    
 # 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  
   
331  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
332      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
333    
# Line 298  do Line 340  do
340          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
341  done  done
342    
 # 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  
   
343  %clean  %clean
344  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
345    
346    %package da
347    Summary: %{package_summary} - Danish
348    Group: %{group}
349    Requires: aspell-da
350    Requires: e-smith-formmagick >= 1.4.0-10
351    %description da
352    %{summary}
353    %files da -f %{name}-%{version}-%{release}-filelist-da
354    
355  %package de  %package de
356  Summary: %{package_summary} - German  Summary: %{package_summary} - German
357  Group: %{group}  Group: %{group}
358  Requires: aspell-de  Requires: aspell-de
359    Requires: e-smith-formmagick >= 1.4.0-10
360  %description de  %description de
361  %{summary}  %{summary}
362  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
363    
364    %package el
365    Summary: %{package_summary} - Greek
366    Group: %{group}
367    Requires: aspell-el
368    Requires: e-smith-formmagick >= 1.4.0-10
369    %description el
370    %{summary}
371    %files el -f %{name}-%{version}-%{release}-filelist-el
372    
373  %package es  %package es
374  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
375  Group: %{group}  Group: %{group}
376  Requires: aspell-es  Requires: aspell-es
377    Requires: e-smith-formmagick >= 1.4.0-10
378  %description es  %description es
379  %{summary}  %{summary}
380  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 353  Requires: aspell-es Line 383  Requires: aspell-es
383  Summary: %{package_summary} - French  Summary: %{package_summary} - French
384  Group: %{group}  Group: %{group}
385  Requires: aspell-fr  Requires: aspell-fr
386    Requires: e-smith-formmagick >= 1.4.0-10
387  %description fr  %description fr
388  %{summary}  %{summary}
389  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
390    
391    %package hu
392    Summary: %{package_summary} - Hungarian
393    Group: %{group}
394    Requires: e-smith-formmagick >= 1.4.0-10
395    %description hu
396    %{summary}
397    %files hu -f %{name}-%{version}-%{release}-filelist-hu
398    
399    %package id
400    Summary: %{package_summary} - Indonesian
401    Group: %{group}
402    Requires: aspell-id
403    Requires: e-smith-formmagick >= 1.4.0-10
404    %description id
405    %{summary}
406    %files id -f %{name}-%{version}-%{release}-filelist-id
407    
408  %package it  %package it
409  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
410  Group: %{group}  Group: %{group}
411  Requires: aspell-it  Requires: aspell-it
412    Requires: e-smith-formmagick >= 1.4.0-10
413  %description it  %description it
414  %{summary}  %{summary}
415  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
416    
417    %package nl
418    Summary: %{package_summary} - Dutch
419    Group: %{group}
420    Requires: aspell-nl
421    Requires: e-smith-formmagick >= 1.4.0-10
422    %description nl
423    %{summary}
424    %files nl -f %{name}-%{version}-%{release}-filelist-nl
425    
426    %package pt
427    Summary: %{package_summary} - Portugese
428    Group: %{group}
429    Requires: aspell-pt
430    Requires: e-smith-formmagick >= 1.4.0-10
431    %description pt
432    %{summary}
433    %files pt -f %{name}-%{version}-%{release}-filelist-pt
434    
435    %package sl
436    Summary: %{package_summary} - Slovinian
437    Group: %{group}
438    Requires: aspell-sl
439    Requires: e-smith-formmagick >= 1.4.0-10
440    %description sl
441    %{summary}
442    %files sl -f %{name}-%{version}-%{release}-filelist-sl
443    
444  %package sv  %package sv
445  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
446  Group: %{group}  Group: %{group}
447  Requires: aspell-sv  Requires: aspell-sv
448    Requires: e-smith-formmagick >= 1.4.0-10
449  %description sv  %description sv
450  %{summary}  %{summary}
451  %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