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