/[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.11 by bytegw, Sun Jan 20 13:03:37 2008 UTC Revision 1.39 by slords, Fri Oct 3 21:44:21 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.38 2008/09/30 07:55:43 dungog 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 37  %define release 16
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 bg da de el es fr hu id it nl pt pt_BR sl sv tr
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
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch8: smeserver-locale-2008-06-27.patch
24  Patch8: smeserver-locale-1.2.0-italian_rc4.patch  Patch9: smeserver-locale-2008-07-01.patch
25  Patch9: smeserver-locale-1.2.0-initialtext.patch  Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch
26  Patch10: smeserver-locale-1.2.0-initialtext.patch2  Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch
27  Patch11: smeserver-locale-1.2.0-initialtext.patch3  Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch
28  Patch12: smeserver-locale-1.2.0-initialtext-fr.patch  Patch13: smeserver-locale-1.4.0-locale-2008-10-03.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  
29  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30  BuildArchitectures: noarch  BuildArchitectures: noarch
31  BuildRequires: perl  BuildRequires: perl
32  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
33  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
34  AutoReqProv: no  AutoReqProv: no
35    
36  %description  %description
37  SME Server localisation module  SME Server localisation module
38    
39  %changelog  %changelog
40    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
41    - Apply locale patch to fix many translation bugs [SME: 4651]
42    
43    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
44    - Apply locale patch
45    
46    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
47    - Apply locale patch
48    
49    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
50    - Apply Jul 26 2008 locale patch
51    - Add Portuguese language
52    - Add Turkish language
53    
54    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
55    - Apply 1 July 2008 locale patch
56    
57    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
58    - Apply 27 Jun 2008 locale patch
59    
60    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
61    - Update to May 5 2008 translations
62    - Revert Apr 23 2008 translations (bad patch)
63    
64    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
65    - Update to Apr 23 2008 translations
66    
67    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
68    - Update to Apr 1 2008 translations
69    
70    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
71    - Update to Mar 26 2008 translations
72    
73    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
74    - Update to Mar 25 2008 translations
75    
76    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
77    - Fix packages for Brazilian portuguese
78    - Update to Mar 18 2008 translations
79    
80    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
81    - Move requires e-smith-formmagick to correct places [SME: 3858]
82    - Add missing aspell module requires
83    
84    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
85    - Fix requires to require e-smith-formmagick [SME: 3858]
86    
87    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
88    - Convert panels to UTF-8 [SME: 3858]
89    
90    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
91    - Roll new stream and considate patches
92    
93    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
94    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
95    
96    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
97    - add translations for Brazilian portuguese [SME: 63]
98    
99    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
100    - add translations for Slovian    [SME: 892]
101    
102    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
103    - add translations for Dutch      [SME: 2737]
104    
105    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
106    - add translations for Indonesian [SME: 3260]
107    
108    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
109    - add translations for Greek      [SME: 1690]
110    
111    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
112    - add translations for Danish     [SME: 2688]
113    
114    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
115    - update translations for Swedish [SME: 3934]
116    
117    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
118    - update translations for Spanish [SME: 3937]
119    
120    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
121    - update translations for Italian [SME: 3936]
122    
123    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
124    - update translations for French  [SME: 3935]
125    
126    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
127    - update translations for German  [SME: 3933]
128    
129    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
130    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
131    
132    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
133    - rename de and it quota .po files with .tmpl [SME: 3834]
134    
135    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
136    - Remove redundant germam lexicon reinstall [SME: 3881]
137    
138    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
139    - Fix fr translation for smtp header in email panels. [SME: 3831]
140    
141    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
142    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
143    
144    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
145    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
146    
147    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
148    - Update de, es, fr and sv translations for email panels. [SME: 2296]
149    
150    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
151    - Italian update for SMTP server [SME: 2305]
152    
153    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
154    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
155    
156  * 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
157  - Add SSH_PORT for sv [SME: 3215]  - Add SSH_PORT for sv [SME: 3748]
158    
159  * 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
160  - System password change made consistant [SME: 3533]  - System password change made consistant [SME: 3533]
# Line 266  SME Server localisation module Line 362  SME Server localisation module
362    
363  %prep  %prep
364  %setup  %setup
 %patch0 -p1  
365  %patch1 -p1  %patch1 -p1
366  %patch2 -p1  %patch2 -p1
367  %patch3 -p1  %patch3 -p1
# Line 280  SME Server localisation module Line 375  SME Server localisation module
375  %patch11 -p1  %patch11 -p1
376  %patch12 -p1  %patch12 -p1
377  %patch13 -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  
378    
379  %build  %build
380  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
381  for file in $LEXICONS  for file in $LEXICONS
382  do  do
     /usr/bin/dos2unix $file  
383      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
384  done  done
385    
# Line 321  done Line 391  done
391  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
392    
393  %install  %install
 set -x  
   
394  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
395  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
396    
 # 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  
   
397  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
398      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
399    
# Line 343  do Line 406  do
406          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
407  done  done
408    
 # 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  
   
409  %clean  %clean
410  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
411    
412    %package bg
413    Summary: %{package_summary} - Bulgarian
414    Group: %{group}
415    Requires: aspell-bg
416    Requires: e-smith-formmagick >= 1.4.0-10
417    %description bg
418    %{summary}
419    %files bg -f %{name}-%{version}-%{release}-filelist-bg
420    
421    %package da
422    Summary: %{package_summary} - Danish
423    Group: %{group}
424    Requires: aspell-da
425    Requires: e-smith-formmagick >= 1.4.0-10
426    %description da
427    %{summary}
428    %files da -f %{name}-%{version}-%{release}-filelist-da
429    
430  %package de  %package de
431  Summary: %{package_summary} - German  Summary: %{package_summary} - German
432  Group: %{group}  Group: %{group}
433  Requires: aspell-de  Requires: aspell-de
434    Requires: e-smith-formmagick >= 1.4.0-10
435  %description de  %description de
436  %{summary}  %{summary}
437  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
438    
439    %package el
440    Summary: %{package_summary} - Greek
441    Group: %{group}
442    Requires: aspell-el
443    Requires: e-smith-formmagick >= 1.4.0-10
444    %description el
445    %{summary}
446    %files el -f %{name}-%{version}-%{release}-filelist-el
447    
448  %package es  %package es
449  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
450  Group: %{group}  Group: %{group}
451  Requires: aspell-es  Requires: aspell-es
452    Requires: e-smith-formmagick >= 1.4.0-10
453  %description es  %description es
454  %{summary}  %{summary}
455  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 398  Requires: aspell-es Line 458  Requires: aspell-es
458  Summary: %{package_summary} - French  Summary: %{package_summary} - French
459  Group: %{group}  Group: %{group}
460  Requires: aspell-fr  Requires: aspell-fr
461    Requires: e-smith-formmagick >= 1.4.0-10
462  %description fr  %description fr
463  %{summary}  %{summary}
464  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
465    
466    %package hu
467    Summary: %{package_summary} - Hungarian
468    Group: %{group}
469    #Requires: aspell-hu
470    Requires: e-smith-formmagick >= 1.4.0-10
471    %description hu
472    %{summary}
473    %files hu -f %{name}-%{version}-%{release}-filelist-hu
474    
475    %package id
476    Summary: %{package_summary} - Indonesian
477    Group: %{group}
478    Requires: aspell-id
479    Requires: e-smith-formmagick >= 1.4.0-10
480    %description id
481    %{summary}
482    %files id -f %{name}-%{version}-%{release}-filelist-id
483    
484  %package it  %package it
485  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
486  Group: %{group}  Group: %{group}
487  Requires: aspell-it  Requires: aspell-it
488    Requires: e-smith-formmagick >= 1.4.0-10
489  %description it  %description it
490  %{summary}  %{summary}
491  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
492    
493    %package nl
494    Summary: %{package_summary} - Dutch
495    Group: %{group}
496    Requires: aspell-nl
497    Requires: e-smith-formmagick >= 1.4.0-10
498    %description nl
499    %{summary}
500    %files nl -f %{name}-%{version}-%{release}-filelist-nl
501    
502    %package pt
503    Summary: %{package_summary} - Portugese
504    Group: %{group}
505    Requires: aspell-pt
506    Requires: e-smith-formmagick >= 1.4.0-10
507    %description pt
508    %{summary}
509    %files pt -f %{name}-%{version}-%{release}-filelist-pt
510    
511    %package pt_BR
512    Summary: %{package_summary} - Portugese (Brazilian)
513    Group: %{group}
514    Requires: aspell-pt
515    Requires: e-smith-formmagick >= 1.4.0-10
516    %description pt_BR
517    %{summary}
518    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
519    
520    %package sl
521    Summary: %{package_summary} - Slovinian
522    Group: %{group}
523    Requires: aspell-sl
524    Requires: e-smith-formmagick >= 1.4.0-10
525    %description sl
526    %{summary}
527    %files sl -f %{name}-%{version}-%{release}-filelist-sl
528    
529  %package sv  %package sv
530  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
531  Group: %{group}  Group: %{group}
532  Requires: aspell-sv  Requires: aspell-sv
533    Requires: e-smith-formmagick >= 1.4.0-10
534  %description sv  %description sv
535  %{summary}  %{summary}
536  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
537    
538    %package tr
539    Summary: %{package_summary} - Turkish
540    Group: %{group}
541    #Requires: aspell-tr
542    Requires: e-smith-formmagick >= 1.4.0-10
543    %description tr
544    %{summary}
545    %files tr -f %{name}-%{version}-%{release}-filelist-tr


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