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