/[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.22 by slords, Tue Mar 11 01:36:17 2008 UTC Revision 1.77 by slords, Wed Apr 28 21:38:33 2010 UTC
# Line 1  Line 1 
1    # $Id: smeserver-locale.spec,v 1.76 2010/03/03 04:04:50 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.4.0  %define version 2.0.0
7  %define release 2  %define release 27
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 hu id it nl pt sl sv  %define package_locales bg da de el es et fr hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN
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  Patch1: smeserver-locale-UTF8.patch  Patch0: smeserver-locale-2.0.0-locale-2008-10-08.patch
17    Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch
18    Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch
19    Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch
20    Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch
21    Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch
22    Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch
23    Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch
24    Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch
25    Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch
26    Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch
27    Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch
28    Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch
29    Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch
30    Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch
31    Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch
32    Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch
33    Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch
34    Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch
35    Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch
36    Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch
37    Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch
38    Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch
39    Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch
40    Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch
41  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
42  BuildArchitectures: noarch  BuildArchitectures: noarch
 Requires: e-smith-lib = 1.18.0-21  
43  BuildRequires: perl  BuildRequires: perl
44  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
45  BuildRequires: gettext  BuildRequires: gettext
# Line 24  AutoReqProv: no Line 49  AutoReqProv: no
49  SME Server localisation module  SME Server localisation module
50    
51  %changelog  %changelog
52    * Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme
53    - apply locale 2010-04-28 patch
54    
55    * Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme
56    - apply locale 2010-03-02 patch
57    
58    * Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme
59    - Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804]
60    
61    * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme
62    - apply locale 2009-10-27 patch
63    - Add Thai language [SME: 5466]
64    
65    * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme
66    - apply locale 2009-08-24 patch
67    - Add Polish language [SME: 5436]
68    
69    * Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme
70    - apply locale 2009-05-27 patch
71    - Add Romanian language [SME: 5268]
72    
73    * Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme
74    - apply locale 2009-05-20 patch
75    
76    * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme
77    - apply locale 2009-04-27 patch
78    - Add Estonian language [SME: 5199]
79    
80    * Tue Mar 03 2009 SME Translation Server
81    - re-apply locale 2009-03-03 patch
82    
83    * Tue Mar  3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme
84    - Apply  3 Mar 2009 locale patch [SME: 5051]
85    
86    * Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme
87    - Apply  1 Mar 2009 locale patch [SME: 5017]
88    - Added missing bug references to changelog entry [SME: 5002]
89    
90    * Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme
91    - Add Chineese (China) language [SME: 5002]
92    - Add Norwegian (Bokmal) language [SME: 5002]
93    - Add Russian language [SME: 5002]
94    
95    * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme
96    - Apply 31 Jan 2009 locale patch [SME: 4950]
97    
98    * Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme
99    - Apply 31 Dec 2008 locale patch [SME: 4899]
100    
101    * Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme
102    - Apply 30 Nov 2008 locale patch [SME: 4813]
103    
104    * Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme
105    - Apply 19 Nov 2008 locale patch [SME: 4748]
106    
107    * Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme
108    - Apply 18 Nov 2008 locale patch [SME: 4748]
109    
110    * Fri Nov  7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme
111    - Apply  7 Nov 2008 locale patch [SME: 4748]
112    
113    * Thu Nov  6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme
114    - Apply  6 Nov 2008 locale patch [SME: 4746]
115    
116    * Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme
117    - Apply 2 Nov 2008 locale patch
118    
119    * Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme
120    - Apply 19 Oct 2008 locale patch [SME: 4692]
121    
122    * Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme
123    - Apply 17 Oct 2008 locale patch
124    
125    * Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme
126    - Apply 16 Oct 2008 locale patch
127    
128    * Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme
129    - Apply 15 Oct 2008 locale patch
130    
131    * Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme
132    - Add Japanese language [SME: 4637]
133    
134    * Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme
135    - Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618]
136    
137    * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
138    - Roll new stream to separate sme7/sme8 trees [SME: 4633]
139    
140    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20
141    - Reverting all changes made Oct 4, as they should be made through Pootle
142    - Applying Pootle patch, fixing [SME: 4618] and [SME: 4616]
143    
144    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19
145    - Apply 4 Oct locale patch
146    
147    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18
148    - Remove colored highlights from German locale [SME: 4618]
149    - Fix changelog entry in previous entry for [SME: 4616]
150    
151    * Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17
152    - Remove references to the wiki from the German locale [SME: 4616]
153    - Fix bug referrence in previous changelog entry [SME: 4617]
154    
155    * Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16
156    - Apply locale patch to fix many translation bugs [SME: 4615]
157    
158    * Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15
159    - Apply locale patch
160    
161    * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14
162    - Apply locale patch
163    
164    * Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13
165    - Apply Jul 26 2008 locale patch
166    - Add Portuguese language
167    - Add Turkish language
168    
169    * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12
170    - Apply 1 July 2008 locale patch
171    
172    * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11
173    - Apply 27 Jun 2008 locale patch
174    
175    * Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10
176    - Update to May 5 2008 translations
177    - Revert Apr 23 2008 translations (bad patch)
178    
179    * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9
180    - Update to Apr 23 2008 translations
181    
182    * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8
183    - Update to Apr 1 2008 translations
184    
185    * Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7
186    - Update to Mar 26 2008 translations
187    
188    * Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6
189    - Update to Mar 25 2008 translations
190    
191    * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5
192    - Fix packages for Brazilian portuguese
193    - Update to Mar 18 2008 translations
194    
195    * Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4
196    - Move requires e-smith-formmagick to correct places [SME: 3858]
197    - Add missing aspell module requires
198    
199    * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3
200    - Fix requires to require e-smith-formmagick [SME: 3858]
201    
202  * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2  * Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2
203  - Convert panels to UTF-8 [SME: 3858]  - Convert panels to UTF-8 [SME: 3858]
204    
# Line 302  SME Server localisation module Line 477  SME Server localisation module
477    
478  %prep  %prep
479  %setup  %setup
480    %patch0 -p1
481  %patch1 -p1  %patch1 -p1
482    %patch2 -p1
483    %patch3 -p1
484    %patch4 -p1
485    %patch5 -p1
486    %patch6 -p1
487    %patch7 -p1
488    %patch8 -p1
489    %patch9 -p1
490    %patch10 -p1
491    %patch11 -p1
492    %patch12 -p1
493    %patch13 -p1
494    %patch14 -p1
495    %patch15 -p1
496    %patch16 -p1
497    %patch17 -p1
498    %patch18 -p1
499    %patch19 -p1
500    %patch20 -p1
501    %patch21 -p1
502    %patch22 -p1
503    %patch23 -p1
504    %patch24 -p1
505    
506  %build  %build
507  LEXICONS=$(find root/etc/e-smith/locale -type f)  LEXICONS=$(find root/etc/e-smith/locale -type f)
# Line 330  do Line 529  do
529      echo "%defattr(-,root,root)" > \      echo "%defattr(-,root,root)" > \
530          %{name}-%{version}-%{release}-filelist-$locale          %{name}-%{version}-%{release}-filelist-$locale
531    
532      grep locale/$locale %{name}-%{version}-%{release}-filelist >> \      grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \
533          %{name}-%{version}-%{release}-filelist-$locale           %{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale
534  done  done
535    
536  %clean  %clean
537  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
538    
539    %package bg
540    Summary: %{package_summary} - Bulgarian
541    Group: %{group}
542    Requires: aspell-bg
543    Requires: e-smith-formmagick >= 1.4.0-10
544    %description bg
545    %{summary}
546    %files bg -f %{name}-%{version}-%{release}-filelist-bg
547    
548  %package da  %package da
549  Summary: %{package_summary} - Danish  Summary: %{package_summary} - Danish
550  Group: %{group}  Group: %{group}
551    Requires: aspell-da
552    Requires: e-smith-formmagick >= 1.4.0-10
553  %description da  %description da
554  %{summary}  %{summary}
555  %files da -f %{name}-%{version}-%{release}-filelist-da  %files da -f %{name}-%{version}-%{release}-filelist-da
# Line 348  Group: %{group} Line 558  Group: %{group}
558  Summary: %{package_summary} - German  Summary: %{package_summary} - German
559  Group: %{group}  Group: %{group}
560  Requires: aspell-de  Requires: aspell-de
561    Requires: e-smith-formmagick >= 1.4.0-10
562  %description de  %description de
563  %{summary}  %{summary}
564  %files de -f %{name}-%{version}-%{release}-filelist-de  %files de -f %{name}-%{version}-%{release}-filelist-de
# Line 355  Requires: aspell-de Line 566  Requires: aspell-de
566  %package el  %package el
567  Summary: %{package_summary} - Greek  Summary: %{package_summary} - Greek
568  Group: %{group}  Group: %{group}
569    Requires: aspell-el
570    Requires: e-smith-formmagick >= 1.4.0-10
571  %description el  %description el
572  %{summary}  %{summary}
573  %files el -f %{name}-%{version}-%{release}-filelist-el  %files el -f %{name}-%{version}-%{release}-filelist-el
# Line 363  Group: %{group} Line 576  Group: %{group}
576  Summary: %{package_summary} - Spanish  Summary: %{package_summary} - Spanish
577  Group: %{group}  Group: %{group}
578  Requires: aspell-es  Requires: aspell-es
579    Requires: e-smith-formmagick >= 1.4.0-10
580  %description es  %description es
581  %{summary}  %{summary}
582  %files es -f %{name}-%{version}-%{release}-filelist-es  %files es -f %{name}-%{version}-%{release}-filelist-es
583    
584    %package et
585    Summary: %{package_summary} - Estonian
586    Group: %{group}
587    Requires: e-smith-formmagick >= 1.4.0-10
588    %description et
589    %{summary}
590    %files et -f %{name}-%{version}-%{release}-filelist-et
591    
592  %package fr  %package fr
593  Summary: %{package_summary} - French  Summary: %{package_summary} - French
594  Group: %{group}  Group: %{group}
595  Requires: aspell-fr  Requires: aspell-fr
596    Requires: e-smith-formmagick >= 1.4.0-10
597  %description fr  %description fr
598  %{summary}  %{summary}
599  %files fr -f %{name}-%{version}-%{release}-filelist-fr  %files fr -f %{name}-%{version}-%{release}-filelist-fr
# Line 378  Requires: aspell-fr Line 601  Requires: aspell-fr
601  %package hu  %package hu
602  Summary: %{package_summary} - Hungarian  Summary: %{package_summary} - Hungarian
603  Group: %{group}  Group: %{group}
604    Requires: e-smith-formmagick >= 1.4.0-10
605  %description hu  %description hu
606  %{summary}  %{summary}
607  %files hu -f %{name}-%{version}-%{release}-filelist-hu  %files hu -f %{name}-%{version}-%{release}-filelist-hu
# Line 385  Group: %{group} Line 609  Group: %{group}
609  %package id  %package id
610  Summary: %{package_summary} - Indonesian  Summary: %{package_summary} - Indonesian
611  Group: %{group}  Group: %{group}
612    Requires: aspell-id
613    Requires: e-smith-formmagick >= 1.4.0-10
614  %description id  %description id
615  %{summary}  %{summary}
616  %files id -f %{name}-%{version}-%{release}-filelist-id  %files id -f %{name}-%{version}-%{release}-filelist-id
# Line 393  Group: %{group} Line 619  Group: %{group}
619  Summary: %{package_summary} - Italian  Summary: %{package_summary} - Italian
620  Group: %{group}  Group: %{group}
621  Requires: aspell-it  Requires: aspell-it
622    Requires: e-smith-formmagick >= 1.4.0-10
623  %description it  %description it
624  %{summary}  %{summary}
625  %files it -f %{name}-%{version}-%{release}-filelist-it  %files it -f %{name}-%{version}-%{release}-filelist-it
626    
627    %package ja
628    Summary: %{package_summary} - Japanese
629    Group: %{group}
630    Requires: e-smith-formmagick >= 1.4.0-10
631    %description ja
632    %{summary}
633    %files ja -f %{name}-%{version}-%{release}-filelist-ja
634    
635    %package nb
636    Summary: %{package_summary} - Norwegian (Bokmal)
637    Group: %{group}
638    Requires: e-smith-formmagick >= 1.4.0-10
639    %description nb
640    %{summary}
641    %files nb -f %{name}-%{version}-%{release}-filelist-nb
642    
643  %package nl  %package nl
644  Summary: %{package_summary} - Dutch  Summary: %{package_summary} - Dutch
645  Group: %{group}  Group: %{group}
646    Requires: aspell-nl
647    Requires: e-smith-formmagick >= 1.4.0-10
648  %description nl  %description nl
649  %{summary}  %{summary}
650  %files nl -f %{name}-%{version}-%{release}-filelist-nl  %files nl -f %{name}-%{version}-%{release}-filelist-nl
651    
652    %package pl
653    Summary: %{package_summary} - Polish
654    Group: %{group}
655    Requires: aspell-pl
656    Requires: e-smith-formmagick >= 1.4.0-10
657    %description pl
658    %{summary}
659    %files pl -f %{name}-%{version}-%{release}-filelist-pl
660    
661  %package pt  %package pt
662  Summary: %{package_summary} - Portugese  Summary: %{package_summary} - Portugese
663  Group: %{group}  Group: %{group}
664    Requires: aspell-pt
665    Requires: e-smith-formmagick >= 1.4.0-10
666  %description pt  %description pt
667  %{summary}  %{summary}
668  %files pt -f %{name}-%{version}-%{release}-filelist-pt  %files pt -f %{name}-%{version}-%{release}-filelist-pt
669    
670    %package pt_BR
671    Summary: %{package_summary} - Portugese (Brazilian)
672    Group: %{group}
673    Requires: aspell-pt
674    Requires: e-smith-formmagick >= 1.4.0-10
675    %description pt_BR
676    %{summary}
677    %files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR
678    
679    %package ro
680    Summary: %{package_summary} - Romanian
681    Group: %{group}
682    Requires: e-smith-formmagick >= 1.4.0-10
683    %description ro
684    %{summary}
685    %files ro -f %{name}-%{version}-%{release}-filelist-ro
686    
687    %package ru
688    Summary: %{package_summary} - Russian
689    Group: %{group}
690    Requires: aspell-ru
691    Requires: e-smith-formmagick >= 1.4.0-10
692    %description ru
693    %{summary}
694    %files ru -f %{name}-%{version}-%{release}-filelist-ru
695    
696  %package sl  %package sl
697  Summary: %{package_summary} - Slovinian  Summary: %{package_summary} - Slovinian
698  Group: %{group}  Group: %{group}
699    Requires: aspell-sl
700    Requires: e-smith-formmagick >= 1.4.0-10
701  %description sl  %description sl
702  %{summary}  %{summary}
703  %files sl -f %{name}-%{version}-%{release}-filelist-sl  %files sl -f %{name}-%{version}-%{release}-filelist-sl
# Line 422  Group: %{group} Line 706  Group: %{group}
706  Summary: %{package_summary} - Swedish  Summary: %{package_summary} - Swedish
707  Group: %{group}  Group: %{group}
708  Requires: aspell-sv  Requires: aspell-sv
709    Requires: e-smith-formmagick >= 1.4.0-10
710  %description sv  %description sv
711  %{summary}  %{summary}
712  %files sv -f %{name}-%{version}-%{release}-filelist-sv  %files sv -f %{name}-%{version}-%{release}-filelist-sv
713    
714    %package th
715    Summary: %{package_summary} - Thai
716    Group: %{group}
717    Requires: e-smith-formmagick >= 1.4.0-10
718    %description th
719    %{summary}
720    %files th -f %{name}-%{version}-%{release}-filelist-th
721    
722    %package tr
723    Summary: %{package_summary} - Turkish
724    Group: %{group}
725    Requires: e-smith-formmagick >= 1.4.0-10
726    %description tr
727    %{summary}
728    %files tr -f %{name}-%{version}-%{release}-filelist-tr
729    
730    %package zh_CN
731    Summary: %{package_summary} - Chinese (China)
732    Group: %{group}
733    Requires: e-smith-formmagick >= 1.4.0-10
734    %description zh_CN
735    %{summary}
736    %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