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