/[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.58 by snetram, Wed Nov 19 17:35:15 2008 UTC Revision 1.64 by snetram, Sun Mar 1 19:32:51 2009 UTC
# Line 1  Line 1 
1  # $Id: smeserver-locale.spec,v 1.57 2008/11/18 19:48:43 snetram Exp $  # $Id: smeserver-locale.spec,v 1.63 2009/02/09 16:58:47 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 2.2.0  %define version 2.2.0
7  %define release 12  %define release 17
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 bg da de el es fr hu id it ja nl pt pt_BR sl sv tr  %define package_locales bg da de el es fr hu id it ja nb nl pt pt_BR ru sl sv tr zh_CN
11  Version: %{version}  Version: %{version}
12  Release: %{release}%{?dist}  Release: %{release}%{?dist}
13  License: GPL  License: GPL
# Line 24  Patch7: smeserver-locale-2.2.0-locale-20 Line 24  Patch7: smeserver-locale-2.2.0-locale-20
24  Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch  Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch
25  Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch  Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch
26  Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch  Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch
27    Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch
28    Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch
29    Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch
30    Patch14: smeserver-locale-2.2.0-locale-2009-02-09.patch
31    Patch14: smeserver-locale-2.2.0-locale-2009-03-01.patch
32  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
33  BuildArchitectures: noarch  BuildArchitectures: noarch
34  BuildRequires: perl  BuildRequires: perl
# Line 35  AutoReqProv: no Line 40  AutoReqProv: no
40  SME Server localisation module  SME Server localisation module
41    
42  %changelog  %changelog
43    * Sat Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme
44    - Apply  1 Mar 2009 locale patch [SME: 5017]
45    - Added missing bug references to changelog entry [SME: 5002]
46    
47    * Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme
48    - Add Chineese (China) language [SME: 5002]
49    - Add Norwegian (Bokmal) language [SME: 5002]
50    - Add Russian language [SME: 5002]
51    
52    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme
53    - Apply 31 Jan 2009 locale patch [SME: 4950]
54    
55    * Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme
56    - Apply 31 Dec 2008 locale patch [SME: 4899]
57    
58    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme
59    - Apply 30 Nov 2008 locale patch [SME: 4813]
60    
61  * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme  * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme
62  - Apply 19 Nov 2008 locale patch [SME: 4748]  - Apply 19 Nov 2008 locale patch [SME: 4748]
63    
# Line 422  SME Server localisation module Line 445  SME Server localisation module
445  %patch8 -p1  %patch8 -p1
446  %patch9 -p1  %patch9 -p1
447  %patch10 -p1  %patch10 -p1
448    %patch11 -p1
449    %patch12 -p1
450    %patch13 -p1
451    %patch14 -p1
452    %patch15 -p1
453    
454  %build  %build
455  LEXICONS=$(find root/etc/e-smith/locale -type f)  LEXICONS=$(find root/etc/e-smith/locale -type f)
# Line 449  do Line 477  do
477      echo "%defattr(-,root,root)" > \      echo "%defattr(-,root,root)" > \
478          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
479    
480      grep locale/$locale %{name}-%{version}-%{release}-filelist >> \      grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \
481          %{name}-%{version}-%{release}-filelist-$locale           %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale
482  done  done
483    
484  %clean  %clean
# Line 513  Requires: e-smith-formmagick >= 1.4.0-10 Line 541  Requires: e-smith-formmagick >= 1.4.0-10
541  %package hu  %package hu
542  Summary: %{package_summary} - Hungarian  Summary: %{package_summary} - Hungarian
543  Group: %{group}  Group: %{group}
 #Requires: aspell-hu  
544  Requires: e-smith-formmagick >= 1.4.0-10  Requires: e-smith-formmagick >= 1.4.0-10
545  %description hu  %description hu
546  %{summary}  %{summary}
# Line 545  Requires: e-smith-formmagick >= 1.4.0-10 Line 572  Requires: e-smith-formmagick >= 1.4.0-10
572  %{summary}  %{summary}
573  %files ja -f %{name}-%{version}-%{release}-filelist-ja  %files ja -f %{name}-%{version}-%{release}-filelist-ja
574    
575    %package nb
576    Summary: %{package_summary} - Norwegian (Bokmal)
577    Group: %{group}
578    Requires: e-smith-formmagick >= 1.4.0-10
579    %description nb
580    %{summary}
581    %files nb -f %{name}-%{version}-%{release}-filelist-nb
582    
583  %package nl  %package nl
584  Summary: %{package_summary} - Dutch  Summary: %{package_summary} - Dutch
585  Group: %{group}  Group: %{group}
# Line 572  Requires: e-smith-formmagick >= 1.4.0-10 Line 607  Requires: e-smith-formmagick >= 1.4.0-10
607  %{summary}  %{summary}
608  %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR  %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
609    
610    %package ru
611    Summary: %{package_summary} - Russian
612    Group: %{group}
613    Requires: aspell-ru
614    Requires: e-smith-formmagick >= 1.4.0-10
615    %description ru
616    %{summary}
617    %files ru -f %{name}-%{version}-%{release}-filelist-ru
618    
619  %package sl  %package sl
620  Summary: %{package_summary} - Slovinian  Summary: %{package_summary} - Slovinian
621  Group: %{group}  Group: %{group}
# Line 593  Requires: e-smith-formmagick >= 1.4.0-10 Line 637  Requires: e-smith-formmagick >= 1.4.0-10
637  %package tr  %package tr
638  Summary: %{package_summary} - Turkish  Summary: %{package_summary} - Turkish
639  Group: %{group}  Group: %{group}
 #Requires: aspell-tr  
640  Requires: e-smith-formmagick >= 1.4.0-10  Requires: e-smith-formmagick >= 1.4.0-10
641  %description tr  %description tr
642  %{summary}  %{summary}
643  %files tr -f %{name}-%{version}-%{release}-filelist-tr  %files tr -f %{name}-%{version}-%{release}-filelist-tr
644    
645    %package zh_CN
646    Summary: %{package_summary} - Chinese (China)
647    Group: %{group}
648    Requires: e-smith-formmagick >= 1.4.0-10
649    %description zh_CN
650    %{summary}
651    %files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN


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