/[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.16 by burnat, Sat Feb 16 13:26:06 2008 UTC Revision 1.55 by snetram, Thu Nov 6 08:31:23 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.54 2008/11/02 21:16:30 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 2.2.0
7  %define release 45  %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 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
21  Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch  Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch
22  Patch6: smeserver-locale-1.2.0-germanupdates1.patch  Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch
23  Patch7: smeserver-locale-1.2.0-bug1001-01.patch  Patch7: smeserver-locale-2.2.0-locale-2008-11-06.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  
24  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
25  BuildArchitectures: noarch  BuildArchitectures: noarch
26  BuildRequires: perl  BuildRequires: perl
27  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
28  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
29  AutoReqProv: no  AutoReqProv: no
30    
31  %description  %description
32  SME Server localisation module  SME Server localisation module
33    
34  %changelog  %changelog
35    * Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme
36    - Apply  6 Nov 2008 locale patch [SME: 4746]
37    
38    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme
39    - Apply 2 Nov 2008 locale patch
40    
41    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme
42    - Apply 19 Oct 2008 locale patch [SME: 4692]
43    
44    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme
45    - Apply 17 Oct 2008 locale patch
46    
47    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme
48    - Apply 16 Oct 2008 locale patch
49    
50    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme
51    - Apply 15 Oct 2008 locale patch
52    
53    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme
54    - Add Japanese language [SME: 4637]
55    
56    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme
57    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
58    
59    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
60    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
61    
62    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
63    - Reverting all changes made Oct 4, as they should be made through Pootle
64    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
65    
66    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
67    - Apply 4 Oct locale patch
68    
69    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
70    - Remove colored highlights from German locale [SME: 4618]
71    - Fix changelog entry in previous entry for [SME: 4616]
72    
73    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
74    - Remove references to the wiki from the German locale [SME: 4616]
75    - Fix bug referrence in previous changelog entry [SME: 4617]
76    
77    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
78    - Apply locale patch to fix many translation bugs [SME: 4615]
79    
80    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
81    - Apply locale patch
82    
83    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
84    - Apply locale patch
85    
86    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
87    - Apply Jul 26 2008 locale patch
88    - Add Portuguese language
89    - Add Turkish language
90    
91    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
92    - Apply 1 July 2008 locale patch
93    
94    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
95    - Apply 27 Jun 2008 locale patch
96    
97    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
98    - Update to May 5 2008 translations
99    - Revert Apr 23 2008 translations (bad patch)
100    
101    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
102    - Update to Apr 23 2008 translations
103    
104    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
105    - Update to Apr 1 2008 translations
106    
107    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
108    - Update to Mar 26 2008 translations
109    
110    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
111    - Update to Mar 25 2008 translations
112    
113    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
114    - Fix packages for Brazilian portuguese
115    - Update to Mar 18 2008 translations
116    
117    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
118    - Move requires e-smith-formmagick to correct places [SME: 3858]
119    - Add missing aspell module requires
120    
121    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
122    - Fix requires to require e-smith-formmagick [SME: 3858]
123    
124    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
125    - Convert panels to UTF-8 [SME: 3858]
126    
127    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
128    - Roll new stream and considate patches
129    
130    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
131    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
132    
133    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
134    - add translations for Brazilian portuguese [SME: 63]
135    
136    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
137    - add translations for Slovian    [SME: 892]
138    
139    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
140    - add translations for Dutch      [SME: 2737]
141    
142    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
143    - add translations for Indonesian [SME: 3260]
144    
145    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
146    - add translations for Greek      [SME: 1690]
147    
148    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
149    - add translations for Danish     [SME: 2688]
150    
151    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
152    - update translations for Swedish [SME: 3934]
153    
154    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
155    - update translations for Spanish [SME: 3937]
156    
157    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
158    - update translations for Italian [SME: 3936]
159    
160    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
161    - update translations for French  [SME: 3935]
162    
163    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
164    - update translations for German  [SME: 3933]
165    
166    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
167    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
168    
169  * 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
170  - rename de and it quota .po files with .tmpl [SME: 3834]  - rename de and it quota .po files with .tmpl [SME: 3834]
171    
# Line 306  SME Server localisation module Line 407  SME Server localisation module
407  %patch5 -p1  %patch5 -p1
408  %patch6 -p1  %patch6 -p1
409  %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  
 %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  
410    
411  %build  %build
412  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
413  for file in $LEXICONS  for file in $LEXICONS
414  do  do
     /usr/bin/dos2unix $file  
415      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
416  done  done
417    
# Line 361  done Line 423  done
423  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
424    
425  %install  %install
 set -x  
   
426  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
427  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
428    
 # 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  
   
429  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
430      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
431    
# Line 383  do Line 438  do
438          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
439  done  done
440    
 # 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  
   
441  %clean  %clean
442  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
443    
444    %package bg
445    Summary: %{package_summary} - Bulgarian
446    Group: %{group}
447    Requires: aspell-bg
448    Requires: e-smith-formmagick >= 1.4.0-10
449    %description bg
450    %{summary}
451    %files bg -f %{name}-%{version}-%{release}-filelist-bg
452    
453    %package da
454    Summary: %{package_summary} - Danish
455    Group: %{group}
456    Requires: aspell-da
457    Requires: e-smith-formmagick >= 1.4.0-10
458    %description da
459    %{summary}
460    %files da -f %{name}-%{version}-%{release}-filelist-da
461    
462  %package de  %package de
463  Summary: %{package_summary} - German  Summary: %{package_summary} - German
464  Group: %{group}  Group: %{group}
465  Requires: aspell-de  Requires: aspell-de
466    Requires: e-smith-formmagick >= 1.4.0-10
467  %description de  %description de
468  %{summary}  %{summary}
469  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
470    
471    %package el
472    Summary: %{package_summary} - Greek
473    Group: %{group}
474    Requires: aspell-el
475    Requires: e-smith-formmagick >= 1.4.0-10
476    %description el
477    %{summary}
478    %files el -f %{name}-%{version}-%{release}-filelist-el
479    
480  %package es  %package es
481  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
482  Group: %{group}  Group: %{group}
483  Requires: aspell-es  Requires: aspell-es
484    Requires: e-smith-formmagick >= 1.4.0-10
485  %description es  %description es
486  %{summary}  %{summary}
487  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 438  Requires: aspell-es Line 490  Requires: aspell-es
490  Summary: %{package_summary} - French  Summary: %{package_summary} - French
491  Group: %{group}  Group: %{group}
492  Requires: aspell-fr  Requires: aspell-fr
493    Requires: e-smith-formmagick >= 1.4.0-10
494  %description fr  %description fr
495  %{summary}  %{summary}
496  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
497    
498    %package hu
499    Summary: %{package_summary} - Hungarian
500    Group: %{group}
501    #Requires: aspell-hu
502    Requires: e-smith-formmagick >= 1.4.0-10
503    %description hu
504    %{summary}
505    %files hu -f %{name}-%{version}-%{release}-filelist-hu
506    
507    %package id
508    Summary: %{package_summary} - Indonesian
509    Group: %{group}
510    Requires: aspell-id
511    Requires: e-smith-formmagick >= 1.4.0-10
512    %description id
513    %{summary}
514    %files id -f %{name}-%{version}-%{release}-filelist-id
515    
516  %package it  %package it
517  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
518  Group: %{group}  Group: %{group}
519  Requires: aspell-it  Requires: aspell-it
520    Requires: e-smith-formmagick >= 1.4.0-10
521  %description it  %description it
522  %{summary}  %{summary}
523  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
524    
525    %package ja
526    Summary: %{package_summary} - Japanese
527    Group: %{group}
528    Requires: e-smith-formmagick >= 1.4.0-10
529    %description ja
530    %{summary}
531    %files ja -f %{name}-%{version}-%{release}-filelist-ja
532    
533    %package nl
534    Summary: %{package_summary} - Dutch
535    Group: %{group}
536    Requires: aspell-nl
537    Requires: e-smith-formmagick >= 1.4.0-10
538    %description nl
539    %{summary}
540    %files nl -f %{name}-%{version}-%{release}-filelist-nl
541    
542    %package pt
543    Summary: %{package_summary} - Portugese
544    Group: %{group}
545    Requires: aspell-pt
546    Requires: e-smith-formmagick >= 1.4.0-10
547    %description pt
548    %{summary}
549    %files pt -f %{name}-%{version}-%{release}-filelist-pt
550    
551    %package pt_BR
552    Summary: %{package_summary} - Portugese (Brazilian)
553    Group: %{group}
554    Requires: aspell-pt
555    Requires: e-smith-formmagick >= 1.4.0-10
556    %description pt_BR
557    %{summary}
558    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
559    
560    %package sl
561    Summary: %{package_summary} - Slovinian
562    Group: %{group}
563    Requires: aspell-sl
564    Requires: e-smith-formmagick >= 1.4.0-10
565    %description sl
566    %{summary}
567    %files sl -f %{name}-%{version}-%{release}-filelist-sl
568    
569  %package sv  %package sv
570  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
571  Group: %{group}  Group: %{group}
572  Requires: aspell-sv  Requires: aspell-sv
573    Requires: e-smith-formmagick >= 1.4.0-10
574  %description sv  %description sv
575  %{summary}  %{summary}
576  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
577    
578    %package tr
579    Summary: %{package_summary} - Turkish
580    Group: %{group}
581    #Requires: aspell-tr
582    Requires: e-smith-formmagick >= 1.4.0-10
583    %description tr
584    %{summary}
585    %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