1 |
|
# $Id: smeserver-locale.spec,v 1.80 2010/05/25 16:55:30 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 7 |
%define release 30 |
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_BR sl sv |
%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 |
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 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
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 |
|
Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch |
43 |
|
Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
46 |
BuildRequires: perl |
BuildRequires: perl |
52 |
SME Server localisation module |
SME Server localisation module |
53 |
|
|
54 |
%changelog |
%changelog |
55 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme |
56 |
|
- apply locale 2010-06-24 patch |
57 |
|
|
58 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
59 |
|
- Add Hebrew language [SME: 5970] |
60 |
|
- apply locale 2010-05-25 patch |
61 |
|
|
62 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
63 |
|
- apply locale 2010-05-23 patch |
64 |
|
|
65 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
66 |
|
- apply locale 2010-04-28 patch |
67 |
|
|
68 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
69 |
|
- apply locale 2010-03-02 patch |
70 |
|
|
71 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
72 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
73 |
|
|
74 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
75 |
|
- apply locale 2009-10-27 patch |
76 |
|
- Add Thai language [SME: 5466] |
77 |
|
|
78 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
79 |
|
- apply locale 2009-08-24 patch |
80 |
|
- Add Polish language [SME: 5436] |
81 |
|
|
82 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
83 |
|
- apply locale 2009-05-27 patch |
84 |
|
- Add Romanian language [SME: 5268] |
85 |
|
|
86 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
87 |
|
- apply locale 2009-05-20 patch |
88 |
|
|
89 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
90 |
|
- apply locale 2009-04-27 patch |
91 |
|
- Add Estonian language [SME: 5199] |
92 |
|
|
93 |
|
* Tue Mar 03 2009 SME Translation Server |
94 |
|
- re-apply locale 2009-03-03 patch |
95 |
|
|
96 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
97 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
98 |
|
|
99 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
100 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
101 |
|
- Added missing bug references to changelog entry [SME: 5002] |
102 |
|
|
103 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
104 |
|
- Add Chineese (China) language [SME: 5002] |
105 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
106 |
|
- Add Russian language [SME: 5002] |
107 |
|
|
108 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
109 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
110 |
|
|
111 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
112 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
113 |
|
|
114 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
115 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
116 |
|
|
117 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
118 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
119 |
|
|
120 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme |
121 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
122 |
|
|
123 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
124 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
125 |
|
|
126 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme |
127 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
128 |
|
|
129 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme |
130 |
|
- Apply 2 Nov 2008 locale patch |
131 |
|
|
132 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme |
133 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
134 |
|
|
135 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme |
136 |
|
- Apply 17 Oct 2008 locale patch |
137 |
|
|
138 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme |
139 |
|
- Apply 16 Oct 2008 locale patch |
140 |
|
|
141 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme |
142 |
|
- Apply 15 Oct 2008 locale patch |
143 |
|
|
144 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
145 |
|
- Add Japanese language [SME: 4637] |
146 |
|
|
147 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme |
148 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
149 |
|
|
150 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
151 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
152 |
|
|
153 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
154 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
155 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
156 |
|
|
157 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
158 |
|
- Apply 4 Oct locale patch |
159 |
|
|
160 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
161 |
|
- Remove colored highlights from German locale [SME: 4618] |
162 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
163 |
|
|
164 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
165 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
166 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
167 |
|
|
168 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
169 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
170 |
|
|
171 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
172 |
|
- Apply locale patch |
173 |
|
|
174 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
175 |
|
- Apply locale patch |
176 |
|
|
177 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
178 |
|
- Apply Jul 26 2008 locale patch |
179 |
|
- Add Portuguese language |
180 |
|
- Add Turkish language |
181 |
|
|
182 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
183 |
|
- Apply 1 July 2008 locale patch |
184 |
|
|
185 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
186 |
|
- Apply 27 Jun 2008 locale patch |
187 |
|
|
188 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
189 |
|
- Update to May 5 2008 translations |
190 |
|
- Revert Apr 23 2008 translations (bad patch) |
191 |
|
|
192 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
193 |
|
- Update to Apr 23 2008 translations |
194 |
|
|
195 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
196 |
|
- Update to Apr 1 2008 translations |
197 |
|
|
198 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
199 |
- Update to Mar 26 2008 translations |
- Update to Mar 26 2008 translations |
200 |
|
|
490 |
|
|
491 |
%prep |
%prep |
492 |
%setup |
%setup |
493 |
|
%patch0 -p1 |
494 |
%patch1 -p1 |
%patch1 -p1 |
495 |
%patch2 -p1 |
%patch2 -p1 |
496 |
%patch3 -p1 |
%patch3 -p1 |
497 |
%patch4 -p1 |
%patch4 -p1 |
498 |
%patch5 -p1 |
%patch5 -p1 |
499 |
|
%patch6 -p1 |
500 |
|
%patch7 -p1 |
501 |
|
%patch8 -p1 |
502 |
|
%patch9 -p1 |
503 |
|
%patch10 -p1 |
504 |
|
%patch11 -p1 |
505 |
|
%patch12 -p1 |
506 |
|
%patch13 -p1 |
507 |
|
%patch14 -p1 |
508 |
|
%patch15 -p1 |
509 |
|
%patch16 -p1 |
510 |
|
%patch17 -p1 |
511 |
|
%patch18 -p1 |
512 |
|
%patch19 -p1 |
513 |
|
%patch20 -p1 |
514 |
|
%patch21 -p1 |
515 |
|
%patch22 -p1 |
516 |
|
%patch23 -p1 |
517 |
|
%patch24 -p1 |
518 |
|
%patch25 -p1 |
519 |
|
%patch26 -p1 |
520 |
|
%patch27 -p1 |
521 |
|
|
522 |
%build |
%build |
523 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
545 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
546 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
547 |
|
|
548 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
549 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
550 |
done |
done |
551 |
|
|
552 |
%clean |
%clean |
553 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
554 |
|
|
555 |
|
%package bg |
556 |
|
Summary: %{package_summary} - Bulgarian |
557 |
|
Group: %{group} |
558 |
|
Requires: aspell-bg |
559 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
560 |
|
%description bg |
561 |
|
%{summary} |
562 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
563 |
|
|
564 |
%package da |
%package da |
565 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
566 |
Group: %{group} |
Group: %{group} |
597 |
%{summary} |
%{summary} |
598 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
599 |
|
|
600 |
|
%package et |
601 |
|
Summary: %{package_summary} - Estonian |
602 |
|
Group: %{group} |
603 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
604 |
|
%description et |
605 |
|
%{summary} |
606 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
607 |
|
|
608 |
%package fr |
%package fr |
609 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
610 |
Group: %{group} |
Group: %{group} |
614 |
%{summary} |
%{summary} |
615 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
616 |
|
|
617 |
|
%package he |
618 |
|
Summary: %{package_summary} - Hebrew |
619 |
|
Group: %{group} |
620 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
621 |
|
%description he |
622 |
|
%{summary} |
623 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
624 |
|
|
625 |
%package hu |
%package hu |
626 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
627 |
Group: %{group} |
Group: %{group} |
648 |
%{summary} |
%{summary} |
649 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
650 |
|
|
651 |
|
%package ja |
652 |
|
Summary: %{package_summary} - Japanese |
653 |
|
Group: %{group} |
654 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
655 |
|
%description ja |
656 |
|
%{summary} |
657 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
658 |
|
|
659 |
|
%package nb |
660 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
661 |
|
Group: %{group} |
662 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
663 |
|
%description nb |
664 |
|
%{summary} |
665 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
666 |
|
|
667 |
%package nl |
%package nl |
668 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
669 |
Group: %{group} |
Group: %{group} |
673 |
%{summary} |
%{summary} |
674 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
675 |
|
|
676 |
%package pt_BR |
%package pl |
677 |
|
Summary: %{package_summary} - Polish |
678 |
|
Group: %{group} |
679 |
|
Requires: aspell-pl |
680 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
681 |
|
%description pl |
682 |
|
%{summary} |
683 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
684 |
|
|
685 |
|
%package pt |
686 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
687 |
Group: %{group} |
Group: %{group} |
688 |
Requires: aspell-pt |
Requires: aspell-pt |
689 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
690 |
|
%description pt |
691 |
|
%{summary} |
692 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
693 |
|
|
694 |
|
%package pt_BR |
695 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
696 |
|
Group: %{group} |
697 |
|
Requires: aspell-pt |
698 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
699 |
%description pt_BR |
%description pt_BR |
700 |
%{summary} |
%{summary} |
701 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
702 |
|
|
703 |
|
%package ro |
704 |
|
Summary: %{package_summary} - Romanian |
705 |
|
Group: %{group} |
706 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
707 |
|
%description ro |
708 |
|
%{summary} |
709 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
710 |
|
|
711 |
|
%package ru |
712 |
|
Summary: %{package_summary} - Russian |
713 |
|
Group: %{group} |
714 |
|
Requires: aspell-ru |
715 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
716 |
|
%description ru |
717 |
|
%{summary} |
718 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
719 |
|
|
720 |
%package sl |
%package sl |
721 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
722 |
Group: %{group} |
Group: %{group} |
734 |
%description sv |
%description sv |
735 |
%{summary} |
%{summary} |
736 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
737 |
|
|
738 |
|
%package th |
739 |
|
Summary: %{package_summary} - Thai |
740 |
|
Group: %{group} |
741 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
742 |
|
%description th |
743 |
|
%{summary} |
744 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
745 |
|
|
746 |
|
%package tr |
747 |
|
Summary: %{package_summary} - Turkish |
748 |
|
Group: %{group} |
749 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
750 |
|
%description tr |
751 |
|
%{summary} |
752 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
753 |
|
|
754 |
|
%package zh_CN |
755 |
|
Summary: %{package_summary} - Chinese (China) |
756 |
|
Group: %{group} |
757 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
758 |
|
%description zh_CN |
759 |
|
%{summary} |
760 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |