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