/[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.16 by burnat, Sat Feb 16 13:26:06 2008 UTC Revision 1.36 by slords, Sat Jul 26 16:37:21 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.35 2008/07/01 20:44:54 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 45  %define release 13
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
 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  
 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  
 Patch40: smeserver-locale-1.2.0-frEmailsettings.patch  
 Patch41: smeserver-locale-1.2.0-removeDeReinstall.patch  
 Patch42: smeserver-locale-1.2.0-tmpl.patch  
26  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
27  BuildArchitectures: noarch  BuildArchitectures: noarch
28  BuildRequires: perl  BuildRequires: perl
29  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
30  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
31  AutoReqProv: no  AutoReqProv: no
32    
33  %description  %description
34  SME Server localisation module  SME Server localisation module
35    
36  %changelog  %changelog
37    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
38    - Apply Jul 26 2008 locale patch
39    - Add Portuguese language
40    - Add Turkish language
41    
42    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
43    - Apply 1 July 2008 locale patch
44    
45    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
46    - Apply 27 Jun 2008 locale patch
47    
48    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
49    - Update to May 5 2008 translations
50    - Revert Apr 23 2008 translations (bad patch)
51    
52    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
53    - Update to Apr 23 2008 translations
54    
55    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
56    - Update to Apr 1 2008 translations
57    
58    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
59    - Update to Mar 26 2008 translations
60    
61    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
62    - Update to Mar 25 2008 translations
63    
64    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
65    - Fix packages for Brazilian portuguese
66    - Update to Mar 18 2008 translations
67    
68    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
69    - Move requires e-smith-formmagick to correct places [SME: 3858]
70    - Add missing aspell module requires
71    
72    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
73    - Fix requires to require e-smith-formmagick [SME: 3858]
74    
75    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
76    - Convert panels to UTF-8 [SME: 3858]
77    
78    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
79    - Roll new stream and considate patches
80    
81    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
82    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
83    
84    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
85    - add translations for Brazilian portuguese [SME: 63]
86    
87    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
88    - add translations for Slovian    [SME: 892]
89    
90    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
91    - add translations for Dutch      [SME: 2737]
92    
93    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
94    - add translations for Indonesian [SME: 3260]
95    
96    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
97    - add translations for Greek      [SME: 1690]
98    
99    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
100    - add translations for Danish     [SME: 2688]
101    
102    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
103    - update translations for Swedish [SME: 3934]
104    
105    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
106    - update translations for Spanish [SME: 3937]
107    
108    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
109    - update translations for Italian [SME: 3936]
110    
111    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
112    - update translations for French  [SME: 3935]
113    
114    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
115    - update translations for German  [SME: 3933]
116    
117    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
118    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
119    
120  * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45  * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
121  - rename de and it quota .po files with .tmpl [SME: 3834]  - rename de and it quota .po files with .tmpl [SME: 3834]
122    
# Line 298  SME Server localisation module Line 350  SME Server localisation module
350    
351  %prep  %prep
352  %setup  %setup
 %patch0 -p1  
353  %patch1 -p1  %patch1 -p1
354  %patch2 -p1  %patch2 -p1
355  %patch3 -p1  %patch3 -p1
# Line 309  SME Server localisation module Line 360  SME Server localisation module
360  %patch8 -p1  %patch8 -p1
361  %patch9 -p1  %patch9 -p1
362  %patch10 -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  
 %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  
 %patch40 -p1  
 %patch41 -p1  
 %patch42 -p1  
   
 %post  
363    
364  %build  %build
365  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
366  for file in $LEXICONS  for file in $LEXICONS
367  do  do
     /usr/bin/dos2unix $file  
368      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
369  done  done
370    
# Line 361  done Line 376  done
376  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
377    
378  %install  %install
 set -x  
   
379  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
380  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
381    
 # 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  
   
382  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
383      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
384    
# Line 383  do Line 391  do
391          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
392  done  done
393    
 # 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  
   
394  %clean  %clean
395  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
396    
397    %package bg
398    Summary: %{package_summary} - Bulgarian
399    Group: %{group}
400    Requires: aspell-bg
401    Requires: e-smith-formmagick >= 1.4.0-10
402    %description bg
403    %{summary}
404    %files bg -f %{name}-%{version}-%{release}-filelist-bg
405    
406    %package da
407    Summary: %{package_summary} - Danish
408    Group: %{group}
409    Requires: aspell-da
410    Requires: e-smith-formmagick >= 1.4.0-10
411    %description da
412    %{summary}
413    %files da -f %{name}-%{version}-%{release}-filelist-da
414    
415  %package de  %package de
416  Summary: %{package_summary} - German  Summary: %{package_summary} - German
417  Group: %{group}  Group: %{group}
418  Requires: aspell-de  Requires: aspell-de
419    Requires: e-smith-formmagick >= 1.4.0-10
420  %description de  %description de
421  %{summary}  %{summary}
422  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
423    
424    %package el
425    Summary: %{package_summary} - Greek
426    Group: %{group}
427    Requires: aspell-el
428    Requires: e-smith-formmagick >= 1.4.0-10
429    %description el
430    %{summary}
431    %files el -f %{name}-%{version}-%{release}-filelist-el
432    
433  %package es  %package es
434  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
435  Group: %{group}  Group: %{group}
436  Requires: aspell-es  Requires: aspell-es
437    Requires: e-smith-formmagick >= 1.4.0-10
438  %description es  %description es
439  %{summary}  %{summary}
440  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 438  Requires: aspell-es Line 443  Requires: aspell-es
443  Summary: %{package_summary} - French  Summary: %{package_summary} - French
444  Group: %{group}  Group: %{group}
445  Requires: aspell-fr  Requires: aspell-fr
446    Requires: e-smith-formmagick >= 1.4.0-10
447  %description fr  %description fr
448  %{summary}  %{summary}
449  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
450    
451    %package hu
452    Summary: %{package_summary} - Hungarian
453    Group: %{group}
454    #Requires: aspell-hu
455    Requires: e-smith-formmagick >= 1.4.0-10
456    %description hu
457    %{summary}
458    %files hu -f %{name}-%{version}-%{release}-filelist-hu
459    
460    %package id
461    Summary: %{package_summary} - Indonesian
462    Group: %{group}
463    Requires: aspell-id
464    Requires: e-smith-formmagick >= 1.4.0-10
465    %description id
466    %{summary}
467    %files id -f %{name}-%{version}-%{release}-filelist-id
468    
469  %package it  %package it
470  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
471  Group: %{group}  Group: %{group}
472  Requires: aspell-it  Requires: aspell-it
473    Requires: e-smith-formmagick >= 1.4.0-10
474  %description it  %description it
475  %{summary}  %{summary}
476  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
477    
478    %package nl
479    Summary: %{package_summary} - Dutch
480    Group: %{group}
481    Requires: aspell-nl
482    Requires: e-smith-formmagick >= 1.4.0-10
483    %description nl
484    %{summary}
485    %files nl -f %{name}-%{version}-%{release}-filelist-nl
486    
487    %package pt
488    Summary: %{package_summary} - Portugese
489    Group: %{group}
490    Requires: aspell-pt
491    Requires: e-smith-formmagick >= 1.4.0-10
492    %description pt
493    %{summary}
494    %files pt -f %{name}-%{version}-%{release}-filelist-pt
495    
496    %package pt_BR
497    Summary: %{package_summary} - Portugese (Brazilian)
498    Group: %{group}
499    Requires: aspell-pt
500    Requires: e-smith-formmagick >= 1.4.0-10
501    %description pt_BR
502    %{summary}
503    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
504    
505    %package sl
506    Summary: %{package_summary} - Slovinian
507    Group: %{group}
508    Requires: aspell-sl
509    Requires: e-smith-formmagick >= 1.4.0-10
510    %description sl
511    %{summary}
512    %files sl -f %{name}-%{version}-%{release}-filelist-sl
513    
514  %package sv  %package sv
515  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
516  Group: %{group}  Group: %{group}
517  Requires: aspell-sv  Requires: aspell-sv
518    Requires: e-smith-formmagick >= 1.4.0-10
519  %description sv  %description sv
520  %{summary}  %{summary}
521  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
522    
523    %package tr
524    Summary: %{package_summary} - Turkish
525    Group: %{group}
526    #Requires: aspell-tr
527    Requires: e-smith-formmagick >= 1.4.0-10
528    %description tr
529    %{summary}
530    %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