/[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.18 by burnat, Sun Mar 2 07:44:22 2008 UTC Revision 1.44 by snetram, Sat Oct 4 15:38:05 2008 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.43 2008/10/04 10:00:49 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 57  %define release 20
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 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
 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  
29  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
30  BuildArchitectures: noarch  BuildArchitectures: noarch
31  BuildRequires: perl  BuildRequires: perl
32  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
33  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
34  AutoReqProv: no  AutoReqProv: no
35    
36  %description  %description
37  SME Server localisation module  SME Server localisation module
38    
39  %changelog  %changelog
40    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
41    - Reverting all changes made Oct 4, as they should be made through Pootle
42    
43    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
44    - Apply 4 Oct locale patch
45    
46    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
47    - Remove colored highlights from German locale [SME: 4618]
48    - Fix changelog entry in previous entry for [SME: 4616]
49    
50    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
51    - Remove references to the wiki from the German locale [SME: 4616]
52    - Fix bug referrence in previous changelog entry [SME: 4617]
53    
54    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
55    - Apply locale patch to fix many translation bugs [SME: 4615]
56    
57    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
58    - Apply locale patch
59    
60    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
61    - Apply locale patch
62    
63    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
64    - Apply Jul 26 2008 locale patch
65    - Add Portuguese language
66    - Add Turkish language
67    
68    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
69    - Apply 1 July 2008 locale patch
70    
71    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
72    - Apply 27 Jun 2008 locale patch
73    
74    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
75    - Update to May 5 2008 translations
76    - Revert Apr 23 2008 translations (bad patch)
77    
78    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
79    - Update to Apr 23 2008 translations
80    
81    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
82    - Update to Apr 1 2008 translations
83    
84    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
85    - Update to Mar 26 2008 translations
86    
87    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
88    - Update to Mar 25 2008 translations
89    
90    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
91    - Fix packages for Brazilian portuguese
92    - Update to Mar 18 2008 translations
93    
94    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
95    - Move requires e-smith-formmagick to correct places [SME: 3858]
96    - Add missing aspell module requires
97    
98    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
99    - Fix requires to require e-smith-formmagick [SME: 3858]
100    
101    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
102    - Convert panels to UTF-8 [SME: 3858]
103    
104    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
105    - Roll new stream and considate patches
106    
107    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
108    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
109    
110  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
111  - add translations for Brazilian portuguese [SME: 63]  - add translations for Brazilian portuguese [SME: 63]
112    
# Line 99  SME Server localisation module Line 129  SME Server localisation module
129  - update translations for Swedish [SME: 3934]  - update translations for Swedish [SME: 3934]
130    
131  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
132  - update translations for Spanish [SME: 3938]  - update translations for Spanish [SME: 3937]
133    
134  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
135  - update translations for Italian [SME: 3937]  - update translations for Italian [SME: 3936]
136    
137  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
138  - update translations for French  [SME: 3936]  - update translations for French  [SME: 3935]
139    
140  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47  * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
141  - update translations for German  [SME: 3933]  - update translations for German  [SME: 3933]
# Line 346  SME Server localisation module Line 376  SME Server localisation module
376    
377  %prep  %prep
378  %setup  %setup
 %patch0 -p1  
379  %patch1 -p1  %patch1 -p1
380  %patch2 -p1  %patch2 -p1
381  %patch3 -p1  %patch3 -p1
# Line 360  SME Server localisation module Line 389  SME Server localisation module
389  %patch11 -p1  %patch11 -p1
390  %patch12 -p1  %patch12 -p1
391  %patch13 -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  
   
 %post  
392    
393  %build  %build
394  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
395  for file in $LEXICONS  for file in $LEXICONS
396  do  do
     /usr/bin/dos2unix $file  
397      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
398  done  done
399    
# Line 420  done Line 404  done
404    
405  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
406    
 ln -s pt root/etc/e-smith/locale/pt-br  
   
407  %install  %install
 set -x  
   
408  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
409  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
410    
 # 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  
   
411  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
412      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
413    
# Line 445  do Line 420  do
420          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
421  done  done
422    
 # 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  
   
423  %clean  %clean
424  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
425    
426    %package bg
427    Summary: %{package_summary} - Bulgarian
428    Group: %{group}
429    Requires: aspell-bg
430    Requires: e-smith-formmagick >= 1.4.0-10
431    %description bg
432    %{summary}
433    %files bg -f %{name}-%{version}-%{release}-filelist-bg
434    
435  %package da  %package da
436  Summary: %{package_summary} - Danish  Summary: %{package_summary} - Danish
437  Group: %{group}  Group: %{group}
438    Requires: aspell-da
439    Requires: e-smith-formmagick >= 1.4.0-10
440  %description da  %description da
441  %{summary}  %{summary}
442  %files da -f %{name}-%{version}-%{release}-filelist-da  %files da -f %{name}-%{version}-%{release}-filelist-da
# Line 491  Group: %{group} Line 445  Group: %{group}
445  Summary: %{package_summary} - German  Summary: %{package_summary} - German
446  Group: %{group}  Group: %{group}
447  Requires: aspell-de  Requires: aspell-de
448    Requires: e-smith-formmagick >= 1.4.0-10
449  %description de  %description de
450  %{summary}  %{summary}
451  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
# Line 498  Requires: aspell-de Line 453  Requires: aspell-de
453  %package el  %package el
454  Summary: %{package_summary} - Greek  Summary: %{package_summary} - Greek
455  Group: %{group}  Group: %{group}
456    Requires: aspell-el
457    Requires: e-smith-formmagick >= 1.4.0-10
458  %description el  %description el
459  %{summary}  %{summary}
460  %files el -f %{name}-%{version}-%{release}-filelist-el  %files el -f %{name}-%{version}-%{release}-filelist-el
# Line 506  Group: %{group} Line 463  Group: %{group}
463  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
464  Group: %{group}  Group: %{group}
465  Requires: aspell-es  Requires: aspell-es
466    Requires: e-smith-formmagick >= 1.4.0-10
467  %description es  %description es
468  %{summary}  %{summary}
469  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
# Line 514  Requires: aspell-es Line 472  Requires: aspell-es
472  Summary: %{package_summary} - French  Summary: %{package_summary} - French
473  Group: %{group}  Group: %{group}
474  Requires: aspell-fr  Requires: aspell-fr
475    Requires: e-smith-formmagick >= 1.4.0-10
476  %description fr  %description fr
477  %{summary}  %{summary}
478  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
479    
480    %package hu
481    Summary: %{package_summary} - Hungarian
482    Group: %{group}
483    #Requires: aspell-hu
484    Requires: e-smith-formmagick >= 1.4.0-10
485    %description hu
486    %{summary}
487    %files hu -f %{name}-%{version}-%{release}-filelist-hu
488    
489  %package id  %package id
490  Summary: %{package_summary} - Indonesian  Summary: %{package_summary} - Indonesian
491  Group: %{group}  Group: %{group}
492    Requires: aspell-id
493    Requires: e-smith-formmagick >= 1.4.0-10
494  %description id  %description id
495  %{summary}  %{summary}
496  %files id -f %{name}-%{version}-%{release}-filelist-id  %files id -f %{name}-%{version}-%{release}-filelist-id
# Line 529  Group: %{group} Line 499  Group: %{group}
499  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
500  Group: %{group}  Group: %{group}
501  Requires: aspell-it  Requires: aspell-it
502    Requires: e-smith-formmagick >= 1.4.0-10
503  %description it  %description it
504  %{summary}  %{summary}
505  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
# Line 536  Requires: aspell-it Line 507  Requires: aspell-it
507  %package nl  %package nl
508  Summary: %{package_summary} - Dutch  Summary: %{package_summary} - Dutch
509  Group: %{group}  Group: %{group}
510    Requires: aspell-nl
511    Requires: e-smith-formmagick >= 1.4.0-10
512  %description nl  %description nl
513  %{summary}  %{summary}
514  %files nl -f %{name}-%{version}-%{release}-filelist-nl  %files nl -f %{name}-%{version}-%{release}-filelist-nl
# Line 543  Group: %{group} Line 516  Group: %{group}
516  %package pt  %package pt
517  Summary: %{package_summary} - Portugese  Summary: %{package_summary} - Portugese
518  Group: %{group}  Group: %{group}
519    Requires: aspell-pt
520    Requires: e-smith-formmagick >= 1.4.0-10
521  %description pt  %description pt
522  %{summary}  %{summary}
523  %files pt -f %{name}-%{version}-%{release}-filelist-pt  %files pt -f %{name}-%{version}-%{release}-filelist-pt
524    
525    %package pt_BR
526    Summary: %{package_summary} - Portugese (Brazilian)
527    Group: %{group}
528    Requires: aspell-pt
529    Requires: e-smith-formmagick >= 1.4.0-10
530    %description pt_BR
531    %{summary}
532    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
533    
534  %package sl  %package sl
535  Summary: %{package_summary} - Slovinian  Summary: %{package_summary} - Slovinian
536  Group: %{group}  Group: %{group}
537    Requires: aspell-sl
538    Requires: e-smith-formmagick >= 1.4.0-10
539  %description sl  %description sl
540  %{summary}  %{summary}
541  %files sl -f %{name}-%{version}-%{release}-filelist-sl  %files sl -f %{name}-%{version}-%{release}-filelist-sl
# Line 558  Group: %{group} Line 544  Group: %{group}
544  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
545  Group: %{group}  Group: %{group}
546  Requires: aspell-sv  Requires: aspell-sv
547    Requires: e-smith-formmagick >= 1.4.0-10
548  %description sv  %description sv
549  %{summary}  %{summary}
550  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
551    
552    %package tr
553    Summary: %{package_summary} - Turkish
554    Group: %{group}
555    #Requires: aspell-tr
556    Requires: e-smith-formmagick >= 1.4.0-10
557    %description tr
558    %{summary}
559    %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