1 |
# $Id: smeserver-locale.spec,v 1.39 2008/10/03 21:44:21 slords Exp $ |
# $Id: smeserver-locale.spec,v 1.86 2010/06/24 13:52:36 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.2.0 |
7 |
%define release 17 |
%define release 33 |
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 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 |
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.2.0-locale-2008-10-08.patch |
17 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
21 |
Patch6: smeserver-locale-2008-04-01.patch |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
Patch7: smeserver-locale-2008-05-05.patch |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
Patch8: smeserver-locale-2008-06-27.patch |
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
24 |
Patch9: smeserver-locale-2008-07-01.patch |
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch |
27 |
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch13: smeserver-locale-1.4.0-locale-2008-10-03.patch |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
Patch14: smeserver-locale-1.4.0-removeReferrencesToWiki.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
BuildRequires: perl |
BuildRequires: perl |
53 |
SME Server localisation module |
SME Server localisation module |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
57 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
58 |
|
- apply locale 2010-07-13 patch |
59 |
|
|
60 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
61 |
|
- apply locale 2010-06-24 patch |
62 |
|
|
63 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
64 |
|
- apply locale 2010-06-08 patch |
65 |
|
|
66 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
67 |
|
- Add Hebrew language [SME: 5971] |
68 |
|
|
69 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
70 |
|
- apply locale 2010-05-23 patch |
71 |
|
|
72 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
73 |
|
- apply locale 2010-04-29 patch |
74 |
|
|
75 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
76 |
|
- apply locale 2010-03-02 patch |
77 |
|
|
78 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
79 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
80 |
|
- Correct previous changelog entry |
81 |
|
- Apply locale 2010-02-27 patch |
82 |
|
|
83 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
84 |
|
- apply locale 2010-02-25 patch |
85 |
|
|
86 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
87 |
|
- apply locale 2009-10-27 patch |
88 |
|
- Add Thai language [SME: 5466] |
89 |
|
|
90 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
91 |
|
- apply locale 2009-08-24 patch |
92 |
|
- Add Polish language [SME: 5437] |
93 |
|
|
94 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
95 |
|
- apply locale 2009-05-27 patch |
96 |
|
- Add Romanian language [SME: 5268] |
97 |
|
|
98 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
99 |
|
- apply locale 2009-05-20 patch |
100 |
|
|
101 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
102 |
|
- apply locale 2009-04-27 patch |
103 |
|
- Add Estonian language [SME: 5199] |
104 |
|
|
105 |
|
* Tue Mar 03 2009 SME Translation Server |
106 |
|
- re-apply locale 2009-03-03 patch |
107 |
|
|
108 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
109 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
110 |
|
|
111 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
112 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
113 |
|
- Added missing bug references to changelog entry [SME: 5002] |
114 |
|
|
115 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
116 |
|
- Add Chineese (China) language [SME: 5002] |
117 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
118 |
|
- Add Russian language [SME: 5002] |
119 |
|
|
120 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
121 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
122 |
|
|
123 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
124 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
125 |
|
|
126 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
127 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
128 |
|
|
129 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
130 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
131 |
|
|
132 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
133 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
134 |
|
|
135 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
136 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
137 |
|
|
138 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
139 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
140 |
|
|
141 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
142 |
|
- Apply 2 Nov 2008 locale patch |
143 |
|
|
144 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
145 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
146 |
|
|
147 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
148 |
|
- Apply 17 Oct 2008 locale patch |
149 |
|
|
150 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
151 |
|
- Apply 16 Oct 2008 locale patch |
152 |
|
|
153 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
154 |
|
- Apply 15 Oct 2008 locale patch |
155 |
|
|
156 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
157 |
|
- Add Japanese language [SME: 4637] |
158 |
|
|
159 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
160 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
161 |
|
|
162 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
163 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
164 |
|
|
165 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
166 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
167 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
168 |
|
|
169 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
170 |
|
- Apply 4 Oct locale patch |
171 |
|
|
172 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
173 |
|
- Remove colored highlights from German locale [SME: 4618] |
174 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
175 |
|
|
176 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
177 |
- Apply locale patch to fix many translation bugs [SME: 4616] |
- Remove references to the wiki from the German locale [SME: 4616] |
178 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
179 |
|
|
180 |
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
181 |
- Apply locale patch to fix many translation bugs [SME: 4651] |
- Apply locale patch to fix many translation bugs [SME: 4615] |
182 |
|
|
183 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
184 |
- Apply locale patch |
- Apply locale patch |
502 |
|
|
503 |
%prep |
%prep |
504 |
%setup |
%setup |
505 |
|
%patch0 -p1 |
506 |
%patch1 -p1 |
%patch1 -p1 |
507 |
%patch2 -p1 |
%patch2 -p1 |
508 |
%patch3 -p1 |
%patch3 -p1 |
517 |
%patch12 -p1 |
%patch12 -p1 |
518 |
%patch13 -p1 |
%patch13 -p1 |
519 |
%patch14 -p1 |
%patch14 -p1 |
520 |
|
%patch15 -p1 |
521 |
|
%patch16 -p1 |
522 |
|
%patch17 -p1 |
523 |
|
%patch18 -p1 |
524 |
|
%patch19 -p1 |
525 |
|
%patch20 -p1 |
526 |
|
%patch21 -p1 |
527 |
|
%patch22 -p1 |
528 |
|
%patch23 -p1 |
529 |
|
%patch24 -p1 |
530 |
|
%patch25 -p1 |
531 |
|
%patch26 -p1 |
532 |
|
%patch27 -p1 |
533 |
|
%patch28 -p1 |
534 |
|
|
535 |
%build |
%build |
536 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
558 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
559 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
560 |
|
|
561 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
562 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
563 |
done |
done |
564 |
|
|
565 |
%clean |
%clean |
610 |
%{summary} |
%{summary} |
611 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
612 |
|
|
613 |
|
%package et |
614 |
|
Summary: %{package_summary} - Estonian |
615 |
|
Group: %{group} |
616 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
617 |
|
%description et |
618 |
|
%{summary} |
619 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
620 |
|
|
621 |
%package fr |
%package fr |
622 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
623 |
Group: %{group} |
Group: %{group} |
627 |
%{summary} |
%{summary} |
628 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
629 |
|
|
630 |
|
%package he |
631 |
|
Summary: %{package_summary} - Hungarian |
632 |
|
Group: %{group} |
633 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
634 |
|
%description he |
635 |
|
%{summary} |
636 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
637 |
|
|
638 |
%package hu |
%package hu |
639 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
640 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
641 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
642 |
%description hu |
%description hu |
643 |
%{summary} |
%{summary} |
661 |
%{summary} |
%{summary} |
662 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
663 |
|
|
664 |
|
%package ja |
665 |
|
Summary: %{package_summary} - Japanese |
666 |
|
Group: %{group} |
667 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
668 |
|
%description ja |
669 |
|
%{summary} |
670 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
671 |
|
|
672 |
|
%package nb |
673 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
674 |
|
Group: %{group} |
675 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
676 |
|
%description nb |
677 |
|
%{summary} |
678 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
679 |
|
|
680 |
%package nl |
%package nl |
681 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
682 |
Group: %{group} |
Group: %{group} |
686 |
%{summary} |
%{summary} |
687 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
688 |
|
|
689 |
|
%package pl |
690 |
|
Summary: %{package_summary} - Polish |
691 |
|
Group: %{group} |
692 |
|
Requires: aspell-pl |
693 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
694 |
|
%description pl |
695 |
|
%{summary} |
696 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
697 |
|
|
698 |
%package pt |
%package pt |
699 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
700 |
Group: %{group} |
Group: %{group} |
713 |
%{summary} |
%{summary} |
714 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
715 |
|
|
716 |
|
%package ro |
717 |
|
Summary: %{package_summary} - Romanian |
718 |
|
Group: %{group} |
719 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
720 |
|
%description ro |
721 |
|
%{summary} |
722 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
723 |
|
|
724 |
|
%package ru |
725 |
|
Summary: %{package_summary} - Russian |
726 |
|
Group: %{group} |
727 |
|
Requires: aspell-ru |
728 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
729 |
|
%description ru |
730 |
|
%{summary} |
731 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
732 |
|
|
733 |
%package sl |
%package sl |
734 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
735 |
Group: %{group} |
Group: %{group} |
748 |
%{summary} |
%{summary} |
749 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
750 |
|
|
751 |
|
%package th |
752 |
|
Summary: %{package_summary} - Thai |
753 |
|
Group: %{group} |
754 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
755 |
|
%description th |
756 |
|
%{summary} |
757 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
758 |
|
|
759 |
%package tr |
%package tr |
760 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
761 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
762 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
763 |
%description tr |
%description tr |
764 |
%{summary} |
%{summary} |
765 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
766 |
|
|
767 |
|
%package zh_CN |
768 |
|
Summary: %{package_summary} - Chinese (China) |
769 |
|
Group: %{group} |
770 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
771 |
|
%description zh_CN |
772 |
|
%{summary} |
773 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
774 |
|
|
775 |
|
%package zh_TW |
776 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
777 |
|
Group: %{group} |
778 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
779 |
|
%description zh_TW |
780 |
|
%{summary} |
781 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |