1 |
# $Id: smeserver-locale.spec,v 1.49 2008/10/13 22:22:41 slords Exp $ |
# $Id: smeserver-locale.spec,v 1.99 2013/07/04 17:11:14 wellsi 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 4 |
%define release 43 |
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 et fr he hu id it ja nb nl pl pt pt_BR ro ru sl sv th tr zh_CN zh_TW |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
16 |
Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch |
Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch |
17 |
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
18 |
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
19 |
|
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
20 |
|
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
21 |
|
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
|
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
|
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
24 |
|
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
|
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
|
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 |
|
Patch15: smeserver-locale-2.2.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-locale-2.2.0-locale-2009-03-03.patch |
33 |
|
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch |
41 |
|
Patch25: smeserver-locale-2.2.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.2.0-locale-2010-06-08.patch |
43 |
|
Patch27: smeserver-locale-2.2.0-locale-2010-06-24.patch |
44 |
|
Patch28: smeserver-locale-2.2.0-locale-2010-07-13.patch |
45 |
|
Patch29: smeserver-locale-2.2.0-locale-2010-08-18.patch |
46 |
|
Patch30: smeserver-locale-2.2.0-locale-2010-10-08.patch |
47 |
|
Patch31: smeserver-locale-2.2.0-locale-2011-03-06.patch |
48 |
|
Patch32: smeserver-locale-2.2.0-locale-2011-04-27.patch |
49 |
|
Patch33: smeserver-locale-2.2.0-locale-2011-06-20.patch |
50 |
|
Patch34: smeserver-locale-2.2.0-locale-2011-10-04.patch |
51 |
|
Patch35: smeserver-locale-2.2.0-locale-2011-11-23.patch |
52 |
|
Patch36: smeserver-locale-2.2.0-locale-2012-03-20.patch |
53 |
|
Patch37: smeserver-locale-2.2.0-locale-2013-07-04.patch |
54 |
|
Patch38: smeserver-locale-2.2.0-locale-2013-09-14.patch |
55 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
56 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
57 |
BuildRequires: perl |
BuildRequires: perl |
63 |
SME Server localisation module |
SME Server localisation module |
64 |
|
|
65 |
%changelog |
%changelog |
66 |
|
* Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 2.2.0-43.el6 |
67 |
|
- apply locale 2013-09-14 patch from pootle [SME: 7847] |
68 |
|
|
69 |
|
* Thu Jul 04 2013 Ian Wells <esmith@wellsi.com> 2.2.0-42.el6 |
70 |
|
- apply locale 2013-07-04 patch from pootle [SME: 7734] |
71 |
|
|
72 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.el6 |
73 |
|
- apply locale 2012-03-20 patch |
74 |
|
|
75 |
|
* Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.el6 |
76 |
|
- apply locale 2011-11-23 patch |
77 |
|
|
78 |
|
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.el6 |
79 |
|
- apply locale 2011-10-04 patch |
80 |
|
|
81 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.el6 |
82 |
|
- apply locale 2011-06-20 patch |
83 |
|
|
84 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
85 |
|
- apply locale 2011-04-27 patch |
86 |
|
|
87 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
88 |
|
- apply locale 2011-03-06 patch |
89 |
|
|
90 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
91 |
|
- apply locale 2010-10-08 patch |
92 |
|
|
93 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
94 |
|
- apply locale 2010-08-18 patch |
95 |
|
|
96 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
97 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
98 |
|
- apply locale 2010-07-13 patch |
99 |
|
|
100 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
101 |
|
- apply locale 2010-06-24 patch |
102 |
|
|
103 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
104 |
|
- apply locale 2010-06-08 patch |
105 |
|
|
106 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
107 |
|
- Add Hebrew language [SME: 5971] |
108 |
|
|
109 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
110 |
|
- apply locale 2010-05-23 patch |
111 |
|
|
112 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
113 |
|
- apply locale 2010-04-29 patch |
114 |
|
|
115 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
116 |
|
- apply locale 2010-03-02 patch |
117 |
|
|
118 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
119 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
120 |
|
- Correct previous changelog entry |
121 |
|
- Apply locale 2010-02-27 patch |
122 |
|
|
123 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
124 |
|
- apply locale 2010-02-25 patch |
125 |
|
|
126 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
127 |
|
- apply locale 2009-10-27 patch |
128 |
|
- Add Thai language [SME: 5466] |
129 |
|
|
130 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
131 |
|
- apply locale 2009-08-24 patch |
132 |
|
- Add Polish language [SME: 5437] |
133 |
|
|
134 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
135 |
|
- apply locale 2009-05-27 patch |
136 |
|
- Add Romanian language [SME: 5268] |
137 |
|
|
138 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
139 |
|
- apply locale 2009-05-20 patch |
140 |
|
|
141 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
142 |
|
- apply locale 2009-04-27 patch |
143 |
|
- Add Estonian language [SME: 5199] |
144 |
|
|
145 |
|
* Tue Mar 03 2009 SME Translation Server |
146 |
|
- re-apply locale 2009-03-03 patch |
147 |
|
|
148 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
149 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
150 |
|
|
151 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
152 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
153 |
|
- Added missing bug references to changelog entry [SME: 5002] |
154 |
|
|
155 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
156 |
|
- Add Chineese (China) language [SME: 5002] |
157 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
158 |
|
- Add Russian language [SME: 5002] |
159 |
|
|
160 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
161 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
162 |
|
|
163 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
164 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
165 |
|
|
166 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
167 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
168 |
|
|
169 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
170 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
171 |
|
|
172 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
173 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
174 |
|
|
175 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
176 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
177 |
|
|
178 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
179 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
180 |
|
|
181 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
182 |
|
- Apply 2 Nov 2008 locale patch |
183 |
|
|
184 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
185 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
186 |
|
|
187 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
188 |
|
- Apply 17 Oct 2008 locale patch |
189 |
|
|
190 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
191 |
|
- Apply 16 Oct 2008 locale patch |
192 |
|
|
193 |
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
194 |
- Apply 15 Oct 2008 locale patch |
- Apply 15 Oct 2008 locale patch |
195 |
|
|
545 |
%patch0 -p1 |
%patch0 -p1 |
546 |
%patch1 -p1 |
%patch1 -p1 |
547 |
%patch2 -p1 |
%patch2 -p1 |
548 |
|
%patch3 -p1 |
549 |
|
%patch4 -p1 |
550 |
|
%patch5 -p1 |
551 |
|
%patch6 -p1 |
552 |
|
%patch7 -p1 |
553 |
|
%patch8 -p1 |
554 |
|
%patch9 -p1 |
555 |
|
%patch10 -p1 |
556 |
|
%patch11 -p1 |
557 |
|
%patch12 -p1 |
558 |
|
%patch13 -p1 |
559 |
|
%patch14 -p1 |
560 |
|
%patch15 -p1 |
561 |
|
%patch16 -p1 |
562 |
|
%patch17 -p1 |
563 |
|
%patch18 -p1 |
564 |
|
%patch19 -p1 |
565 |
|
%patch20 -p1 |
566 |
|
%patch21 -p1 |
567 |
|
%patch22 -p1 |
568 |
|
%patch23 -p1 |
569 |
|
%patch24 -p1 |
570 |
|
%patch25 -p1 |
571 |
|
%patch26 -p1 |
572 |
|
%patch27 -p1 |
573 |
|
%patch28 -p1 |
574 |
|
%patch29 -p1 |
575 |
|
%patch30 -p1 |
576 |
|
%patch31 -p1 |
577 |
|
%patch32 -p1 |
578 |
|
%patch33 -p1 |
579 |
|
%patch34 -p1 |
580 |
|
%patch35 -p1 |
581 |
|
%patch36 -p1 |
582 |
|
%patch37 -p1 |
583 |
|
%patch38 -p1 |
584 |
|
|
585 |
%build |
%build |
586 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
608 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
609 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
610 |
|
|
611 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
612 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
613 |
done |
done |
614 |
|
|
615 |
%clean |
%clean |
660 |
%{summary} |
%{summary} |
661 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
662 |
|
|
663 |
|
%package et |
664 |
|
Summary: %{package_summary} - Estonian |
665 |
|
Group: %{group} |
666 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
667 |
|
%description et |
668 |
|
%{summary} |
669 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
670 |
|
|
671 |
%package fr |
%package fr |
672 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
673 |
Group: %{group} |
Group: %{group} |
677 |
%{summary} |
%{summary} |
678 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
679 |
|
|
680 |
|
%package he |
681 |
|
Summary: %{package_summary} - Hebrew |
682 |
|
Group: %{group} |
683 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
684 |
|
%description he |
685 |
|
%{summary} |
686 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
687 |
|
|
688 |
%package hu |
%package hu |
689 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
690 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
691 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
692 |
%description hu |
%description hu |
693 |
%{summary} |
%{summary} |
719 |
%{summary} |
%{summary} |
720 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
721 |
|
|
722 |
|
%package nb |
723 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
724 |
|
Group: %{group} |
725 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
726 |
|
%description nb |
727 |
|
%{summary} |
728 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
729 |
|
|
730 |
%package nl |
%package nl |
731 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
732 |
Group: %{group} |
Group: %{group} |
736 |
%{summary} |
%{summary} |
737 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
738 |
|
|
739 |
|
%package pl |
740 |
|
Summary: %{package_summary} - Polish |
741 |
|
Group: %{group} |
742 |
|
Requires: aspell-pl |
743 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
744 |
|
%description pl |
745 |
|
%{summary} |
746 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
747 |
|
|
748 |
%package pt |
%package pt |
749 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
750 |
Group: %{group} |
Group: %{group} |
763 |
%{summary} |
%{summary} |
764 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
765 |
|
|
766 |
|
%package ro |
767 |
|
Summary: %{package_summary} - Romanian |
768 |
|
Group: %{group} |
769 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
770 |
|
%description ro |
771 |
|
%{summary} |
772 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
773 |
|
|
774 |
|
%package ru |
775 |
|
Summary: %{package_summary} - Russian |
776 |
|
Group: %{group} |
777 |
|
Requires: aspell-ru |
778 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
779 |
|
%description ru |
780 |
|
%{summary} |
781 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
782 |
|
|
783 |
%package sl |
%package sl |
784 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
785 |
Group: %{group} |
Group: %{group} |
798 |
%{summary} |
%{summary} |
799 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
800 |
|
|
801 |
|
%package th |
802 |
|
Summary: %{package_summary} - Thai |
803 |
|
Group: %{group} |
804 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
805 |
|
%description th |
806 |
|
%{summary} |
807 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
808 |
|
|
809 |
%package tr |
%package tr |
810 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
811 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
812 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
813 |
%description tr |
%description tr |
814 |
%{summary} |
%{summary} |
815 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
816 |
|
|
817 |
|
%package zh_CN |
818 |
|
Summary: %{package_summary} - Chinese (China) |
819 |
|
Group: %{group} |
820 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
821 |
|
%description zh_CN |
822 |
|
%{summary} |
823 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
824 |
|
|
825 |
|
%package zh_TW |
826 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
827 |
|
Group: %{group} |
828 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
829 |
|
%description zh_TW |
830 |
|
%{summary} |
831 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |