1 |
# $Id: smeserver-locale.spec,v 1.34 2008/07/01 20:38:08 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.82 2010/05/25 15:28:43 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 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 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-06-27.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-05-25.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 May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
55 |
|
- Add Hebrew language [SME: 5971] |
56 |
|
- apply locale 2010-05-25 patch |
57 |
|
|
58 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
59 |
|
- apply locale 2010-05-23 patch |
60 |
|
|
61 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
62 |
|
- apply locale 2010-04-29 patch |
63 |
|
|
64 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
65 |
|
- apply locale 2010-03-02 patch |
66 |
|
|
67 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
68 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
69 |
|
- Correct previous changelog entry |
70 |
|
- Apply locale 2010-02-27 patch |
71 |
|
|
72 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
73 |
|
- apply locale 2010-02-25 patch |
74 |
|
|
75 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
76 |
|
- apply locale 2009-10-27 patch |
77 |
|
- Add Thai language [SME: 5466] |
78 |
|
|
79 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
80 |
|
- apply locale 2009-08-24 patch |
81 |
|
- Add Polish language [SME: 5437] |
82 |
|
|
83 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
84 |
|
- apply locale 2009-05-27 patch |
85 |
|
- Add Romanian language [SME: 5268] |
86 |
|
|
87 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
88 |
|
- apply locale 2009-05-20 patch |
89 |
|
|
90 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
91 |
|
- apply locale 2009-04-27 patch |
92 |
|
- Add Estonian language [SME: 5199] |
93 |
|
|
94 |
|
* Tue Mar 03 2009 SME Translation Server |
95 |
|
- re-apply locale 2009-03-03 patch |
96 |
|
|
97 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
98 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
99 |
|
|
100 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
101 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
102 |
|
- Added missing bug references to changelog entry [SME: 5002] |
103 |
|
|
104 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
105 |
|
- Add Chineese (China) language [SME: 5002] |
106 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
107 |
|
- Add Russian language [SME: 5002] |
108 |
|
|
109 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
110 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
111 |
|
|
112 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
113 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
114 |
|
|
115 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
116 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
117 |
|
|
118 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
119 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
120 |
|
|
121 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
122 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
123 |
|
|
124 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
125 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
126 |
|
|
127 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
128 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
129 |
|
|
130 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
131 |
|
- Apply 2 Nov 2008 locale patch |
132 |
|
|
133 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
134 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
135 |
|
|
136 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
137 |
|
- Apply 17 Oct 2008 locale patch |
138 |
|
|
139 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
140 |
|
- Apply 16 Oct 2008 locale patch |
141 |
|
|
142 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
143 |
|
- Apply 15 Oct 2008 locale patch |
144 |
|
|
145 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
146 |
|
- Add Japanese language [SME: 4637] |
147 |
|
|
148 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
149 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
150 |
|
|
151 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
152 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
153 |
|
|
154 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
155 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
156 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
157 |
|
|
158 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
159 |
|
- Apply 4 Oct locale patch |
160 |
|
|
161 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
162 |
|
- Remove colored highlights from German locale [SME: 4618] |
163 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
164 |
|
|
165 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
166 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
167 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
168 |
|
|
169 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
170 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
171 |
|
|
172 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
173 |
|
- Apply locale patch |
174 |
|
|
175 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
176 |
|
- Apply locale patch |
177 |
|
|
178 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
179 |
|
- Apply Jul 26 2008 locale patch |
180 |
|
- Add Portuguese language |
181 |
|
- Add Turkish language |
182 |
|
|
183 |
* 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 |
184 |
- Apply 1 July 2008 locale patch |
- Apply 1 July 2008 locale patch |
185 |
|
|
491 |
|
|
492 |
%prep |
%prep |
493 |
%setup |
%setup |
494 |
|
%patch0 -p1 |
495 |
%patch1 -p1 |
%patch1 -p1 |
496 |
%patch2 -p1 |
%patch2 -p1 |
497 |
%patch3 -p1 |
%patch3 -p1 |
501 |
%patch7 -p1 |
%patch7 -p1 |
502 |
%patch8 -p1 |
%patch8 -p1 |
503 |
%patch9 -p1 |
%patch9 -p1 |
504 |
|
%patch10 -p1 |
505 |
|
%patch11 -p1 |
506 |
|
%patch12 -p1 |
507 |
|
%patch13 -p1 |
508 |
|
%patch14 -p1 |
509 |
|
%patch15 -p1 |
510 |
|
%patch16 -p1 |
511 |
|
%patch17 -p1 |
512 |
|
%patch18 -p1 |
513 |
|
%patch19 -p1 |
514 |
|
%patch20 -p1 |
515 |
|
%patch21 -p1 |
516 |
|
%patch22 -p1 |
517 |
|
%patch23 -p1 |
518 |
|
%patch24 -p1 |
519 |
|
%patch25 -p1 |
520 |
|
%patch26 -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 |
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} - Hungarian |
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 |