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