/[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.13 by bytegw, Sat Jan 26 14:34:12 2008 UTC Revision 1.40 by snetram, Sat Oct 4 07:43:23 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.39 2008/10/03 21:44: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 42  %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  
 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  
 Patch35: smeserver-locale-1.2.0-italian_yum_email.patch  
 Patch36: smeserver-locale-1.2.0-italian_smtpserver.patch  
 Patch37: smeserver-locale-1.2.0-de_es_fr_sv_emailupdate.patch  
 Patch38: smeserver-locale-1.2.0-de_fr_sv_smtpheaderupdate.patch  
 Patch39: smeserver-locale-1.2.0-de_es_fr_sv_yumtextupdate.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    
44    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
45    - Apply locale patch to fix many translation bugs [SME: 4651]
46    
47    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
48    - Apply locale patch
49    
50    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
51    - Apply locale patch
52    
53    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
54    - Apply Jul 26 2008 locale patch
55    - Add Portuguese language
56    - Add Turkish language
57    
58    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
59    - Apply 1 July 2008 locale patch
60    
61    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
62    - Apply 27 Jun 2008 locale patch
63    
64    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
65    - Update to May 5 2008 translations
66    - Revert Apr 23 2008 translations (bad patch)
67    
68    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
69    - Update to Apr 23 2008 translations
70    
71    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
72    - Update to Apr 1 2008 translations
73    
74    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
75    - Update to Mar 26 2008 translations
76    
77    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
78    - Update to Mar 25 2008 translations
79    
80    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
81    - Fix packages for Brazilian portuguese
82    - Update to Mar 18 2008 translations
83    
84    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
85    - Move requires e-smith-formmagick to correct places [SME: 3858]
86    - Add missing aspell module requires
87    
88    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
89    - Fix requires to require e-smith-formmagick [SME: 3858]
90    
91    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
92    - Convert panels to UTF-8 [SME: 3858]
93    
94    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
95    - Roll new stream and considate patches
96    
97    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
98    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
99    
100    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
101    - add translations for Brazilian portuguese [SME: 63]
102    
103    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
104    - add translations for Slovian    [SME: 892]
105    
106    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
107    - add translations for Dutch      [SME: 2737]
108    
109    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
110    - add translations for Indonesian [SME: 3260]
111    
112    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
113    - add translations for Greek      [SME: 1690]
114    
115    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
116    - add translations for Danish     [SME: 2688]
117    
118    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
119    - update translations for Swedish [SME: 3934]
120    
121    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
122    - update translations for Spanish [SME: 3937]
123    
124    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
125    - update translations for Italian [SME: 3936]
126    
127    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
128    - update translations for French  [SME: 3935]
129    
130    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
131    - update translations for German  [SME: 3933]
132    
133    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
134    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
135    
136    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
137    - rename de and it quota .po files with .tmpl [SME: 3834]
138    
139    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
140    - Remove redundant germam lexicon reinstall [SME: 3881]
141    
142    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
143    - Fix fr translation for smtp header in email panels. [SME: 3831]
144    
145  * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42  * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
146  - Update de, es, fr and sv translations for yum panel. [SME: 2090]  - Update de, es, fr and sv translations for yum panel. [SME: 2090]
147    
# Line 286  SME Server localisation module Line 366  SME Server localisation module
366    
367  %prep  %prep
368  %setup  %setup
 %patch0 -p1  
369  %patch1 -p1  %patch1 -p1
370  %patch2 -p1  %patch2 -p1
371  %patch3 -p1  %patch3 -p1
# Line 301  SME Server localisation module Line 380  SME Server localisation module
380  %patch12 -p1  %patch12 -p1
381  %patch13 -p1  %patch13 -p1
382  %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  
 %patch30 -p1  
 %patch31 -p1  
 %patch32 -p1  
 %patch33 -p1  
 %patch34 -p1  
 %patch35 -p1  
 %patch36 -p1  
 %patch37 -p1  
 %patch38 -p1  
 %patch39 -p1  
   
 %post  
383    
384  %build  %build
385  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
386  for file in $LEXICONS  for file in $LEXICONS
387  do  do
     /usr/bin/dos2unix $file  
388      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
389  done  done
390    
# Line 346  done Line 396  done
396  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
397    
398  %install  %install
 set -x  
   
399  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
400  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
401    
 # 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  
   
402  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
403      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
404    
# Line 368  do Line 411  do
411          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
412  done  done
413    
 # 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  
   
414  %clean  %clean
415  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
416    
417    %package bg
418    Summary: %{package_summary} - Bulgarian
419    Group: %{group}
420    Requires: aspell-bg
421    Requires: e-smith-formmagick >= 1.4.0-10
422    %description bg
423    %{summary}
424    %files bg -f %{name}-%{version}-%{release}-filelist-bg
425    
426    %package da
427    Summary: %{package_summary} - Danish
428    Group: %{group}
429    Requires: aspell-da
430    Requires: e-smith-formmagick >= 1.4.0-10
431    %description da
432    %{summary}
433    %files da -f %{name}-%{version}-%{release}-filelist-da
434    
435  %package de  %package de
436  Summary: %{package_summary} - German  Summary: %{package_summary} - German
437  Group: %{group}  Group: %{group}
438  Requires: aspell-de  Requires: aspell-de
439    Requires: e-smith-formmagick >= 1.4.0-10
440  %description de  %description de
441  %{summary}  %{summary}
442  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
443    
444    %package el
445    Summary: %{package_summary} - Greek
446    Group: %{group}
447    Requires: aspell-el
448    Requires: e-smith-formmagick >= 1.4.0-10
449    %description el
450    %{summary}
451    %files el -f %{name}-%{version}-%{release}-filelist-el
452    
453  %package es  %package es
454  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
455  Group: %{group}  Group: %{group}
456  Requires: aspell-es  Requires: aspell-es
457    Requires: e-smith-formmagick >= 1.4.0-10
458  %description es  %description es
459  %{summary}  %{summary}
460  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 423  Requires: aspell-es Line 463  Requires: aspell-es
463  Summary: %{package_summary} - French  Summary: %{package_summary} - French
464  Group: %{group}  Group: %{group}
465  Requires: aspell-fr  Requires: aspell-fr
466    Requires: e-smith-formmagick >= 1.4.0-10
467  %description fr  %description fr
468  %{summary}  %{summary}
469  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
470    
471    %package hu
472    Summary: %{package_summary} - Hungarian
473    Group: %{group}
474    #Requires: aspell-hu
475    Requires: e-smith-formmagick >= 1.4.0-10
476    %description hu
477    %{summary}
478    %files hu -f %{name}-%{version}-%{release}-filelist-hu
479    
480    %package id
481    Summary: %{package_summary} - Indonesian
482    Group: %{group}
483    Requires: aspell-id
484    Requires: e-smith-formmagick >= 1.4.0-10
485    %description id
486    %{summary}
487    %files id -f %{name}-%{version}-%{release}-filelist-id
488    
489  %package it  %package it
490  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
491  Group: %{group}  Group: %{group}
492  Requires: aspell-it  Requires: aspell-it
493    Requires: e-smith-formmagick >= 1.4.0-10
494  %description it  %description it
495  %{summary}  %{summary}
496  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
497    
498    %package nl
499    Summary: %{package_summary} - Dutch
500    Group: %{group}
501    Requires: aspell-nl
502    Requires: e-smith-formmagick >= 1.4.0-10
503    %description nl
504    %{summary}
505    %files nl -f %{name}-%{version}-%{release}-filelist-nl
506    
507    %package pt
508    Summary: %{package_summary} - Portugese
509    Group: %{group}
510    Requires: aspell-pt
511    Requires: e-smith-formmagick >= 1.4.0-10
512    %description pt
513    %{summary}
514    %files pt -f %{name}-%{version}-%{release}-filelist-pt
515    
516    %package pt_BR
517    Summary: %{package_summary} - Portugese (Brazilian)
518    Group: %{group}
519    Requires: aspell-pt
520    Requires: e-smith-formmagick >= 1.4.0-10
521    %description pt_BR
522    %{summary}
523    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
524    
525    %package sl
526    Summary: %{package_summary} - Slovinian
527    Group: %{group}
528    Requires: aspell-sl
529    Requires: e-smith-formmagick >= 1.4.0-10
530    %description sl
531    %{summary}
532    %files sl -f %{name}-%{version}-%{release}-filelist-sl
533    
534  %package sv  %package sv
535  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
536  Group: %{group}  Group: %{group}
537  Requires: aspell-sv  Requires: aspell-sv
538    Requires: e-smith-formmagick >= 1.4.0-10
539  %description sv  %description sv
540  %{summary}  %{summary}
541  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
542    
543    %package tr
544    Summary: %{package_summary} - Turkish
545    Group: %{group}
546    #Requires: aspell-tr
547    Requires: e-smith-formmagick >= 1.4.0-10
548    %description tr
549    %{summary}
550    %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