/[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.12 by bytegw, Mon Jan 21 17:54:07 2008 UTC Revision 1.23 by slords, Tue Mar 11 01:47:16 2008 UTC
# Line 1  Line 1 
1  Summary: SME Server localisation module  Summary: SME Server localisation module
2  %define name smeserver-locale  %define name smeserver-locale
3  Name: %{name}  Name: %{name}
4  %define version 1.2.0  %define version 1.4.0
5  %define release 39  %define release 3
6  %define package_summary SME Server localisation module  %define package_summary SME Server localisation module
7  %define group Applications/System  %define group Applications/System
8  %define package_locales de es fr it sv  %define package_locales da de el es fr hu id it nl pt sl sv
9  Version: %{version}  Version: %{version}
10  Release: %{release}%{?dist}  Release: %{release}%{?dist}
11  License: GPL  License: GPL
12  Group: Networking/Daemons  Group: Networking/Daemons
13  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
14  Patch0: smeserver-locale-1.2.0-italian_rc1.patch  Patch1: smeserver-locale-UTF8.patch
 Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch  
 Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch  
 Patch3: smeserver-locale-1.2.0-bug263-01.patch  
 Patch4: smeserver-locale-1.2.0-germanupdates.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  
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17    Requires: e-smith-formmagick = 1.4.0-10
18  BuildRequires: perl  BuildRequires: perl
19  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
20  BuildRequires: gettext  BuildRequires: gettext
 BuildRequires: dos2unix  
21  AutoReqProv: no  AutoReqProv: no
22    
23  %description  %description
24  SME Server localisation module  SME Server localisation module
25    
26  %changelog  %changelog
27    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
28    - Fix requires to require e-smith-formmagick [SME: 3858]
29    
30    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
31    - Convert panels to UTF-8 [SME: 3858]
32    
33    * Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1
34    - Roll new stream and considate patches
35    
36    * Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58
37    - fix conversions for tags with CDATA or marked fuzzy [SME: 4014]
38    
39    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57
40    - add translations for Brazilian portuguese [SME: 63]
41    
42    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56
43    - add translations for Slovian    [SME: 892]
44    
45    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55
46    - add translations for Dutch      [SME: 2737]
47    
48    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54
49    - add translations for Indonesian [SME: 3260]
50    
51    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53
52    - add translations for Greek      [SME: 1690]
53    
54    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52
55    - add translations for Danish     [SME: 2688]
56    
57    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51
58    - update translations for Swedish [SME: 3934]
59    
60    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50
61    - update translations for Spanish [SME: 3937]
62    
63    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49
64    - update translations for Italian [SME: 3936]
65    
66    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48
67    - update translations for French  [SME: 3935]
68    
69    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47
70    - update translations for German  [SME: 3933]
71    
72    * Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46
73    - update po files, include script to recreate, in .src.rpm only [SME: 3833]
74    
75    * Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45
76    - rename de and it quota .po files with .tmpl [SME: 3834]
77    
78    * Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44
79    - Remove redundant germam lexicon reinstall [SME: 3881]
80    
81    * Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43
82    - Fix fr translation for smtp header in email panels. [SME: 3831]
83    
84    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42
85    - Update de, es, fr and sv translations for yum panel. [SME: 2090]
86    
87    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41
88    - Update de, fr and sv translations for smtp header in email panels. [SME: 2305]
89    
90    * Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40
91    - Update de, es, fr and sv translations for email panels. [SME: 2296]
92    
93  * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39  * Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39
94  - Italian update for SMTP server [SME: 2305]  - Italian update for SMTP server [SME: 2305]
95    
# Line 274  SME Server localisation module Line 305  SME Server localisation module
305    
306  %prep  %prep
307  %setup  %setup
 %patch0 -p1  
308  %patch1 -p1  %patch1 -p1
 %patch2 -p1  
 %patch3 -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  
   
 %post  
309    
310  %build  %build
311  LEXICONS=$((find root/etc/e-smith/locale -type f) \  LEXICONS=$(find root/etc/e-smith/locale -type f)
         | grep -v CVS | grep -v pleasewait)  
   
312  for file in $LEXICONS  for file in $LEXICONS
313  do  do
     /usr/bin/dos2unix $file  
314      /sbin/e-smith/validate-lexicon $file      /sbin/e-smith/validate-lexicon $file
315  done  done
316    
# Line 331  done Line 322  done
322  /sbin/e-smith/generate-lexicons  /sbin/e-smith/generate-lexicons
323    
324  %install  %install
 set -x  
   
325  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
326  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
327    
 # 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  
   
328  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
329      > %{name}-%{version}-%{release}-filelist      > %{name}-%{version}-%{release}-filelist
330    
# Line 353  do Line 337  do
337          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
338  done  done
339    
 # 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  
   
340  %clean  %clean
341  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
342    
343    %package da
344    Summary: %{package_summary} - Danish
345    Group: %{group}
346    %description da
347    %{summary}
348    %files da -f %{name}-%{version}-%{release}-filelist-da
349    
350  %package de  %package de
351  Summary: %{package_summary} - German  Summary: %{package_summary} - German
352  Group: %{group}  Group: %{group}
# Line 396  Requires: aspell-de Line 355  Requires: aspell-de
355  %{summary}  %{summary}
356  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
357    
358    %package el
359    Summary: %{package_summary} - Greek
360    Group: %{group}
361    %description el
362    %{summary}
363    %files el -f %{name}-%{version}-%{release}-filelist-el
364    
365  %package es  %package es
366  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
367  Group: %{group}  Group: %{group}
# Line 412  Requires: aspell-fr Line 378  Requires: aspell-fr
378  %{summary}  %{summary}
379  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
380    
381    %package hu
382    Summary: %{package_summary} - Hungarian
383    Group: %{group}
384    %description hu
385    %{summary}
386    %files hu -f %{name}-%{version}-%{release}-filelist-hu
387    
388    %package id
389    Summary: %{package_summary} - Indonesian
390    Group: %{group}
391    %description id
392    %{summary}
393    %files id -f %{name}-%{version}-%{release}-filelist-id
394    
395  %package it  %package it
396  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
397  Group: %{group}  Group: %{group}
# Line 420  Requires: aspell-it Line 400  Requires: aspell-it
400  %{summary}  %{summary}
401  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
402    
403    %package nl
404    Summary: %{package_summary} - Dutch
405    Group: %{group}
406    %description nl
407    %{summary}
408    %files nl -f %{name}-%{version}-%{release}-filelist-nl
409    
410    %package pt
411    Summary: %{package_summary} - Portugese
412    Group: %{group}
413    %description pt
414    %{summary}
415    %files pt -f %{name}-%{version}-%{release}-filelist-pt
416    
417    %package sl
418    Summary: %{package_summary} - Slovinian
419    Group: %{group}
420    %description sl
421    %{summary}
422    %files sl -f %{name}-%{version}-%{release}-filelist-sl
423    
424  %package sv  %package sv
425  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
426  Group: %{group}  Group: %{group}


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