/[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.4 by slords, Fri Jun 15 16:43:58 2007 UTC Revision 1.34 by snetram, Tue Jul 1 20:38:08 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.33 2008/06/27 22:21:08 slords 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 27  %define release 12
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_BR sl sv
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-06-27.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  
25  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
26  BuildArchitectures: noarch  BuildArchitectures: noarch
27  BuildRequires: perl  BuildRequires: perl
28  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
29  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
30  AutoReqProv: no  AutoReqProv: no
31    
32  %description  %description
33  SME Server localisation module  SME Server localisation module
34    
35  %changelog  %changelog
36    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
37    - Apply 1 July 2008 locale patch
38    
39    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
40    - Apply 27 Jun 2008 locale patch
41    
42    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
43    - Update to May 5 2008 translations
44    - Revert Apr 23 2008 translations (bad patch)
45    
46    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
47    - Update to Apr 23 2008 translations
48    
49    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
50    - Update to Apr 1 2008 translations
51    
52    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
53    - Update to Mar 26 2008 translations
54    
55    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
56    - Update to Mar 25 2008 translations
57    
58    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
59    - Fix packages for Brazilian portuguese
60    - Update to Mar 18 2008 translations
61    
62    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
63    - Move requires e-smith-formmagick to correct places [SME: 3858]
64    - Add missing aspell module requires
65    
66    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
67    - Fix requires to require e-smith-formmagick [SME: 3858]
68    
69    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
70    - Convert panels to UTF-8 [SME: 3858]
71    
72    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
73    - Roll new stream and considate patches
74    
75    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
76    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
77    
78    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
79    - add translations for Brazilian portuguese [SME: 63]
80    
81    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
82    - add translations for Slovian    [SME: 892]
83    
84    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
85    - add translations for Dutch      [SME: 2737]
86    
87    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
88    - add translations for Indonesian [SME: 3260]
89    
90    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
91    - add translations for Greek      [SME: 1690]
92    
93    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
94    - add translations for Danish     [SME: 2688]
95    
96    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
97    - update translations for Swedish [SME: 3934]
98    
99    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
100    - update translations for Spanish [SME: 3937]
101    
102    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
103    - update translations for Italian [SME: 3936]
104    
105    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
106    - update translations for French  [SME: 3935]
107    
108    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
109    - update translations for German  [SME: 3933]
110    
111    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
112    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
113    
114    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
115    - rename de and it quota .po files with .tmpl [SME: 3834]
116    
117    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
118    - Remove redundant germam lexicon reinstall [SME: 3881]
119    
120    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
121    - Fix fr translation for smtp header in email panels. [SME: 3831]
122    
123    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
124    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
125    
126    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
127    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
128    
129    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
130    - Update de, es, fr and sv translations for email panels. [SME: 2296]
131    
132    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
133    - Italian update for SMTP server [SME: 2305]
134    
135    * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38
136    - Italian translations for yum and email panels [SME: 2090] [SME: 2296]
137    
138    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37
139    - Add SSH_PORT for sv [SME: 3748]
140    
141    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36
142    - System password change made consistant [SME: 3533]
143    
144    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35
145    - Add Add Italian entries to hostentries [SME: 3207]
146    
147    * Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34
148    - Add yum uptodate message [SME: 3768]
149    
150    * Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33
151    - Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751]
152    
153    * Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32
154    - Add SSH_PORT spanish translation update. [SME: 3746]
155    
156    * Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31
157    - Add SSH_PORT for fr and de [SME: 3215]
158    
159    * Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30
160    - Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473]
161    
162    * Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29
163    - Add missing localization again. (Thanks Federico). [SME: 3149]
164    
165    * Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com>
166    - Add missing localization (Thanks Federico). [SME: 3149]
167    
168  * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27  * Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27
169  - Update French clamav lexicon [SME: 3012]  - Update French clamav lexicon [SME: 3012]
170    
# Line 227  SME Server localisation module Line 344  SME Server localisation module
344    
345  %prep  %prep
346  %setup  %setup
 %patch0 -p1  
347  %patch1 -p1  %patch1 -p1
348  %patch2 -p1  %patch2 -p1
349  %patch3 -p1  %patch3 -p1
# Line 237  SME Server localisation module Line 353  SME Server localisation module
353  %patch7 -p1  %patch7 -p1
354  %patch8 -p1  %patch8 -p1
355  %patch9 -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  
356    
357  %build  %build
358  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
359  for file in $LEXICONS  for file in $LEXICONS
360  do  do
     /usr/bin/dos2unix $file  
361      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
362  done  done
363    
# Line 272  done Line 369  done
369  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
370    
371  %install  %install
 set -x  
   
372  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
373  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
374    
 # 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  
   
375  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
376      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
377    
# Line 294  do Line 384  do
384          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
385  done  done
386    
 # 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  
   
387  %clean  %clean
388  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
389    
390    %package bg
391    Summary: %{package_summary} - Bulgarian
392    Group: %{group}
393    Requires: aspell-bg
394    Requires: e-smith-formmagick >= 1.4.0-10
395    %description bg
396    %{summary}
397    %files bg -f %{name}-%{version}-%{release}-filelist-bg
398    
399    %package da
400    Summary: %{package_summary} - Danish
401    Group: %{group}
402    Requires: aspell-da
403    Requires: e-smith-formmagick >= 1.4.0-10
404    %description da
405    %{summary}
406    %files da -f %{name}-%{version}-%{release}-filelist-da
407    
408  %package de  %package de
409  Summary: %{package_summary} - German  Summary: %{package_summary} - German
410  Group: %{group}  Group: %{group}
411  Requires: aspell-de  Requires: aspell-de
412    Requires: e-smith-formmagick >= 1.4.0-10
413  %description de  %description de
414  %{summary}  %{summary}
415  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
416    
417    %package el
418    Summary: %{package_summary} - Greek
419    Group: %{group}
420    Requires: aspell-el
421    Requires: e-smith-formmagick >= 1.4.0-10
422    %description el
423    %{summary}
424    %files el -f %{name}-%{version}-%{release}-filelist-el
425    
426  %package es  %package es
427  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
428  Group: %{group}  Group: %{group}
429  Requires: aspell-es  Requires: aspell-es
430    Requires: e-smith-formmagick >= 1.4.0-10
431  %description es  %description es
432  %{summary}  %{summary}
433  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 349  Requires: aspell-es Line 436  Requires: aspell-es
436  Summary: %{package_summary} - French  Summary: %{package_summary} - French
437  Group: %{group}  Group: %{group}
438  Requires: aspell-fr  Requires: aspell-fr
439    Requires: e-smith-formmagick >= 1.4.0-10
440  %description fr  %description fr
441  %{summary}  %{summary}
442  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
443    
444    %package hu
445    Summary: %{package_summary} - Hungarian
446    Group: %{group}
447    Requires: e-smith-formmagick >= 1.4.0-10
448    %description hu
449    %{summary}
450    %files hu -f %{name}-%{version}-%{release}-filelist-hu
451    
452    %package id
453    Summary: %{package_summary} - Indonesian
454    Group: %{group}
455    Requires: aspell-id
456    Requires: e-smith-formmagick >= 1.4.0-10
457    %description id
458    %{summary}
459    %files id -f %{name}-%{version}-%{release}-filelist-id
460    
461  %package it  %package it
462  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
463  Group: %{group}  Group: %{group}
464  Requires: aspell-it  Requires: aspell-it
465    Requires: e-smith-formmagick >= 1.4.0-10
466  %description it  %description it
467  %{summary}  %{summary}
468  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
469    
470    %package nl
471    Summary: %{package_summary} - Dutch
472    Group: %{group}
473    Requires: aspell-nl
474    Requires: e-smith-formmagick >= 1.4.0-10
475    %description nl
476    %{summary}
477    %files nl -f %{name}-%{version}-%{release}-filelist-nl
478    
479    %package pt_BR
480    Summary: %{package_summary} - Portugese
481    Group: %{group}
482    Requires: aspell-pt
483    Requires: e-smith-formmagick >= 1.4.0-10
484    %description pt_BR
485    %{summary}
486    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
487    
488    %package sl
489    Summary: %{package_summary} - Slovinian
490    Group: %{group}
491    Requires: aspell-sl
492    Requires: e-smith-formmagick >= 1.4.0-10
493    %description sl
494    %{summary}
495    %files sl -f %{name}-%{version}-%{release}-filelist-sl
496    
497  %package sv  %package sv
498  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
499  Group: %{group}  Group: %{group}
500  Requires: aspell-sv  Requires: aspell-sv
501    Requires: e-smith-formmagick >= 1.4.0-10
502  %description sv  %description sv
503  %{summary}  %{summary}
504  %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