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