/[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.20 by burnat, Tue Mar 4 21:41:58 2008 UTC Revision 1.52 by snetram, Fri Oct 17 09:41:13 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.51 2008/10/16 07:03:22 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 2.2.0
7  %define release 58  %define release 6
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 da de el es fr id it nl pt sl sv  %define package_locales bg da de el es fr hu id it ja 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  Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch
17  Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch
18  Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch
19  Patch3: smeserver-locale-1.2.0-bug263-01.patch  Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch
20  Patch4: smeserver-locale-1.2.0-germanupdates.patch  Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch
 Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  
 Patch6: smeserver-locale-1.2.0-germanupdates1.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  
 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  
 Patch43: smeserver-locale-1.2.0-enPOupdate.patch  
 Patch44: smeserver-locale-1.2.0-Updates2mar08de.patch  
 Patch45: smeserver-locale-1.2.0-Updates2mar08fr.patch  
 Patch46: smeserver-locale-1.2.0-Updates2mar08it.patch  
 Patch47: smeserver-locale-1.2.0-Updates2mar08es.patch  
 Patch48: smeserver-locale-1.2.0-Updates2mar08sv.patch  
 Patch49: smeserver-locale-1.2.0-AddDanish2mar08.patch  
 Patch50: smeserver-locale-1.2.0-AddGreek2mar08.patch  
 Patch51: smeserver-locale-1.2.0-AddIndonesian2mar08.patch  
 Patch52: smeserver-locale-1.2.0-AddDutch2mar08.patch  
 Patch53: smeserver-locale-1.2.0-AddSlovinian2mar08.patch  
 Patch54: smeserver-locale-1.2.0-AddPortugese2mar08.patch  
 Patch55: smeserver-locale-1.2.0-PootleFix04mar08.patch  
21  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
22  BuildArchitectures: noarch  BuildArchitectures: noarch
23  BuildRequires: perl  BuildRequires: perl
24  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
25  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
26  AutoReqProv: no  AutoReqProv: no
27    
28  %description  %description
29  SME Server localisation module  SME Server localisation module
30    
31  %changelog  %changelog
32    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme
33    - Apply 17 Oct 2008 locale patch
34    
35    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme
36    - Apply 16 Oct 2008 locale patch
37    
38    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme
39    - Apply 15 Oct 2008 locale patch
40    
41    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme
42    - Add Japanese language [SME: 4637]
43    
44    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme
45    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
46    
47    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
48    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
49    
50    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
51    - Reverting all changes made Oct 4, as they should be made through Pootle
52    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
53    
54    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
55    - Apply 4 Oct locale patch
56    
57    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
58    - Remove colored highlights from German locale [SME: 4618]
59    - Fix changelog entry in previous entry for [SME: 4616]
60    
61    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
62    - Remove references to the wiki from the German locale [SME: 4616]
63    - Fix bug referrence in previous changelog entry [SME: 4617]
64    
65    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
66    - Apply locale patch to fix many translation bugs [SME: 4615]
67    
68    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
69    - Apply locale patch
70    
71    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
72    - Apply locale patch
73    
74    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
75    - Apply Jul 26 2008 locale patch
76    - Add Portuguese language
77    - Add Turkish language
78    
79    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
80    - Apply 1 July 2008 locale patch
81    
82    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
83    - Apply 27 Jun 2008 locale patch
84    
85    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
86    - Update to May 5 2008 translations
87    - Revert Apr 23 2008 translations (bad patch)
88    
89    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
90    - Update to Apr 23 2008 translations
91    
92    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
93    - Update to Apr 1 2008 translations
94    
95    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
96    - Update to Mar 26 2008 translations
97    
98    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
99    - Update to Mar 25 2008 translations
100    
101    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
102    - Fix packages for Brazilian portuguese
103    - Update to Mar 18 2008 translations
104    
105    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
106    - Move requires e-smith-formmagick to correct places [SME: 3858]
107    - Add missing aspell module requires
108    
109    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
110    - Fix requires to require e-smith-formmagick [SME: 3858]
111    
112    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
113    - Convert panels to UTF-8 [SME: 3858]
114    
115    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
116    - Roll new stream and considate patches
117    
118  * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58  * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
119  - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]  - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
120    
# Line 355  SME Server localisation module Line 392  SME Server localisation module
392  %patch2 -p1  %patch2 -p1
393  %patch3 -p1  %patch3 -p1
394  %patch4 -p1  %patch4 -p1
 %patch5 -p1  
 %patch6 -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  
 %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  
 %patch43 -p1  
 %patch44 -p1  
 %patch45 -p1  
 %patch46 -p1  
 %patch47 -p1  
 %patch48 -p1  
 %patch49 -p1  
 %patch50 -p1  
 %patch51 -p1  
 %patch52 -p1  
 %patch53 -p1  
 %patch54 -p1  
 %patch55 -p1  
   
 %post  
395    
396  %build  %build
397  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
398  for file in $LEXICONS  for file in $LEXICONS
399  do  do
     /usr/bin/dos2unix $file  
400      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
401  done  done
402    
# Line 425  done Line 407  done
407    
408  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
409    
 ln -s pt root/etc/e-smith/locale/pt-br  
   
410  %install  %install
 set -x  
   
411  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
412  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
413    
 # 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  
   
414  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
415      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
416    
# Line 450  do Line 423  do
423          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
424  done  done
425    
 # 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  
   
426  %clean  %clean
427  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
428    
429    %package bg
430    Summary: %{package_summary} - Bulgarian
431    Group: %{group}
432    Requires: aspell-bg
433    Requires: e-smith-formmagick >= 1.4.0-10
434    %description bg
435    %{summary}
436    %files bg -f %{name}-%{version}-%{release}-filelist-bg
437    
438  %package da  %package da
439  Summary: %{package_summary} - Danish  Summary: %{package_summary} - Danish
440  Group: %{group}  Group: %{group}
441    Requires: aspell-da
442    Requires: e-smith-formmagick >= 1.4.0-10
443  %description da  %description da
444  %{summary}  %{summary}
445  %files da -f %{name}-%{version}-%{release}-filelist-da  %files da -f %{name}-%{version}-%{release}-filelist-da
# Line 496  Group: %{group} Line 448  Group: %{group}
448  Summary: %{package_summary} - German  Summary: %{package_summary} - German
449  Group: %{group}  Group: %{group}
450  Requires: aspell-de  Requires: aspell-de
451    Requires: e-smith-formmagick >= 1.4.0-10
452  %description de  %description de
453  %{summary}  %{summary}
454  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
# Line 503  Requires: aspell-de Line 456  Requires: aspell-de
456  %package el  %package el
457  Summary: %{package_summary} - Greek  Summary: %{package_summary} - Greek
458  Group: %{group}  Group: %{group}
459    Requires: aspell-el
460    Requires: e-smith-formmagick >= 1.4.0-10
461  %description el  %description el
462  %{summary}  %{summary}
463  %files el -f %{name}-%{version}-%{release}-filelist-el  %files el -f %{name}-%{version}-%{release}-filelist-el
# Line 511  Group: %{group} Line 466  Group: %{group}
466  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
467  Group: %{group}  Group: %{group}
468  Requires: aspell-es  Requires: aspell-es
469    Requires: e-smith-formmagick >= 1.4.0-10
470  %description es  %description es
471  %{summary}  %{summary}
472  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 519  Requires: aspell-es Line 475  Requires: aspell-es
475  Summary: %{package_summary} - French  Summary: %{package_summary} - French
476  Group: %{group}  Group: %{group}
477  Requires: aspell-fr  Requires: aspell-fr
478    Requires: e-smith-formmagick >= 1.4.0-10
479  %description fr  %description fr
480  %{summary}  %{summary}
481  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
482    
483    %package hu
484    Summary: %{package_summary} - Hungarian
485    Group: %{group}
486    #Requires: aspell-hu
487    Requires: e-smith-formmagick >= 1.4.0-10
488    %description hu
489    %{summary}
490    %files hu -f %{name}-%{version}-%{release}-filelist-hu
491    
492  %package id  %package id
493  Summary: %{package_summary} - Indonesian  Summary: %{package_summary} - Indonesian
494  Group: %{group}  Group: %{group}
495    Requires: aspell-id
496    Requires: e-smith-formmagick >= 1.4.0-10
497  %description id  %description id
498  %{summary}  %{summary}
499  %files id -f %{name}-%{version}-%{release}-filelist-id  %files id -f %{name}-%{version}-%{release}-filelist-id
# Line 534  Group: %{group} Line 502  Group: %{group}
502  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
503  Group: %{group}  Group: %{group}
504  Requires: aspell-it  Requires: aspell-it
505    Requires: e-smith-formmagick >= 1.4.0-10
506  %description it  %description it
507  %{summary}  %{summary}
508  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
509    
510    %package ja
511    Summary: %{package_summary} - Japanese
512    Group: %{group}
513    Requires: e-smith-formmagick >= 1.4.0-10
514    %description ja
515    %{summary}
516    %files ja -f %{name}-%{version}-%{release}-filelist-ja
517    
518  %package nl  %package nl
519  Summary: %{package_summary} - Dutch  Summary: %{package_summary} - Dutch
520  Group: %{group}  Group: %{group}
521    Requires: aspell-nl
522    Requires: e-smith-formmagick >= 1.4.0-10
523  %description nl  %description nl
524  %{summary}  %{summary}
525  %files nl -f %{name}-%{version}-%{release}-filelist-nl  %files nl -f %{name}-%{version}-%{release}-filelist-nl
# Line 548  Group: %{group} Line 527  Group: %{group}
527  %package pt  %package pt
528  Summary: %{package_summary} - Portugese  Summary: %{package_summary} - Portugese
529  Group: %{group}  Group: %{group}
530    Requires: aspell-pt
531    Requires: e-smith-formmagick >= 1.4.0-10
532  %description pt  %description pt
533  %{summary}  %{summary}
534  %files pt -f %{name}-%{version}-%{release}-filelist-pt  %files pt -f %{name}-%{version}-%{release}-filelist-pt
535    
536    %package pt_BR
537    Summary: %{package_summary} - Portugese (Brazilian)
538    Group: %{group}
539    Requires: aspell-pt
540    Requires: e-smith-formmagick >= 1.4.0-10
541    %description pt_BR
542    %{summary}
543    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
544    
545  %package sl  %package sl
546  Summary: %{package_summary} - Slovinian  Summary: %{package_summary} - Slovinian
547  Group: %{group}  Group: %{group}
548    Requires: aspell-sl
549    Requires: e-smith-formmagick >= 1.4.0-10
550  %description sl  %description sl
551  %{summary}  %{summary}
552  %files sl -f %{name}-%{version}-%{release}-filelist-sl  %files sl -f %{name}-%{version}-%{release}-filelist-sl
# Line 563  Group: %{group} Line 555  Group: %{group}
555  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
556  Group: %{group}  Group: %{group}
557  Requires: aspell-sv  Requires: aspell-sv
558    Requires: e-smith-formmagick >= 1.4.0-10
559  %description sv  %description sv
560  %{summary}  %{summary}
561  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
562    
563    %package tr
564    Summary: %{package_summary} - Turkish
565    Group: %{group}
566    #Requires: aspell-tr
567    Requires: e-smith-formmagick >= 1.4.0-10
568    %description tr
569    %{summary}
570    %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