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