1 |
# $Id: smeserver-locale.spec,v 1.29 2008/04/09 13:51:56 slords Exp $ |
# $Id: smeserver-locale.spec,v 1.78 2010/04/28 21:38:34 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 9 |
%define release 29 |
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 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-04-23.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
BuildRequires: perl |
BuildRequires: perl |
49 |
SME Server localisation module |
SME Server localisation module |
50 |
|
|
51 |
%changelog |
%changelog |
52 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
53 |
|
- apply locale 2010-04-29 patch |
54 |
|
|
55 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
56 |
|
- apply locale 2010-03-02 patch |
57 |
|
|
58 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
59 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
60 |
|
- Correct previous changelog entry |
61 |
|
- Apply locale 2010-02-27 patch |
62 |
|
|
63 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
64 |
|
- apply locale 2010-02-25 patch |
65 |
|
|
66 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
67 |
|
- apply locale 2009-10-27 patch |
68 |
|
- Add Thai language [SME: 5466] |
69 |
|
|
70 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
71 |
|
- apply locale 2009-08-24 patch |
72 |
|
- Add Polish language [SME: 5437] |
73 |
|
|
74 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
75 |
|
- apply locale 2009-05-27 patch |
76 |
|
- Add Romanian language [SME: 5268] |
77 |
|
|
78 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
79 |
|
- apply locale 2009-05-20 patch |
80 |
|
|
81 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
82 |
|
- apply locale 2009-04-27 patch |
83 |
|
- Add Estonian language [SME: 5199] |
84 |
|
|
85 |
|
* Tue Mar 03 2009 SME Translation Server |
86 |
|
- re-apply locale 2009-03-03 patch |
87 |
|
|
88 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
89 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
90 |
|
|
91 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
92 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
93 |
|
- Added missing bug references to changelog entry [SME: 5002] |
94 |
|
|
95 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
96 |
|
- Add Chineese (China) language [SME: 5002] |
97 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
98 |
|
- Add Russian language [SME: 5002] |
99 |
|
|
100 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
101 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
102 |
|
|
103 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
104 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
105 |
|
|
106 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
107 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
108 |
|
|
109 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
110 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
111 |
|
|
112 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
113 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
114 |
|
|
115 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
116 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
117 |
|
|
118 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
119 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
120 |
|
|
121 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
122 |
|
- Apply 2 Nov 2008 locale patch |
123 |
|
|
124 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
125 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
126 |
|
|
127 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
128 |
|
- Apply 17 Oct 2008 locale patch |
129 |
|
|
130 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
131 |
|
- Apply 16 Oct 2008 locale patch |
132 |
|
|
133 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
134 |
|
- Apply 15 Oct 2008 locale patch |
135 |
|
|
136 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
137 |
|
- Add Japanese language [SME: 4637] |
138 |
|
|
139 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
140 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
141 |
|
|
142 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
143 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
144 |
|
|
145 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
146 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
147 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
148 |
|
|
149 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
150 |
|
- Apply 4 Oct locale patch |
151 |
|
|
152 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
153 |
|
- Remove colored highlights from German locale [SME: 4618] |
154 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
155 |
|
|
156 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
157 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
158 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
159 |
|
|
160 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
161 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
162 |
|
|
163 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
164 |
|
- Apply locale patch |
165 |
|
|
166 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
167 |
|
- Apply locale patch |
168 |
|
|
169 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
170 |
|
- Apply Jul 26 2008 locale patch |
171 |
|
- Add Portuguese language |
172 |
|
- Add Turkish language |
173 |
|
|
174 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
175 |
|
- Apply 1 July 2008 locale patch |
176 |
|
|
177 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
178 |
|
- Apply 27 Jun 2008 locale patch |
179 |
|
|
180 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
181 |
|
- Update to May 5 2008 translations |
182 |
|
- Revert Apr 23 2008 translations (bad patch) |
183 |
|
|
184 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
185 |
- Update to Apr 23 2008 translations |
- Update to Apr 23 2008 translations |
186 |
|
|
482 |
|
|
483 |
%prep |
%prep |
484 |
%setup |
%setup |
485 |
|
%patch0 -p1 |
486 |
%patch1 -p1 |
%patch1 -p1 |
487 |
%patch2 -p1 |
%patch2 -p1 |
488 |
%patch3 -p1 |
%patch3 -p1 |
490 |
%patch5 -p1 |
%patch5 -p1 |
491 |
%patch6 -p1 |
%patch6 -p1 |
492 |
%patch7 -p1 |
%patch7 -p1 |
493 |
|
%patch8 -p1 |
494 |
|
%patch9 -p1 |
495 |
|
%patch10 -p1 |
496 |
|
%patch11 -p1 |
497 |
|
%patch12 -p1 |
498 |
|
%patch13 -p1 |
499 |
|
%patch14 -p1 |
500 |
|
%patch15 -p1 |
501 |
|
%patch16 -p1 |
502 |
|
%patch17 -p1 |
503 |
|
%patch18 -p1 |
504 |
|
%patch19 -p1 |
505 |
|
%patch20 -p1 |
506 |
|
%patch21 -p1 |
507 |
|
%patch22 -p1 |
508 |
|
%patch23 -p1 |
509 |
|
%patch24 -p1 |
510 |
|
|
511 |
%build |
%build |
512 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
534 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
535 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
536 |
|
|
537 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
538 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
539 |
done |
done |
540 |
|
|
541 |
%clean |
%clean |
542 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
543 |
|
|
544 |
|
%package bg |
545 |
|
Summary: %{package_summary} - Bulgarian |
546 |
|
Group: %{group} |
547 |
|
Requires: aspell-bg |
548 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
549 |
|
%description bg |
550 |
|
%{summary} |
551 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
552 |
|
|
553 |
%package da |
%package da |
554 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
555 |
Group: %{group} |
Group: %{group} |
586 |
%{summary} |
%{summary} |
587 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
588 |
|
|
589 |
|
%package et |
590 |
|
Summary: %{package_summary} - Estonian |
591 |
|
Group: %{group} |
592 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
593 |
|
%description et |
594 |
|
%{summary} |
595 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
596 |
|
|
597 |
%package fr |
%package fr |
598 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
599 |
Group: %{group} |
Group: %{group} |
629 |
%{summary} |
%{summary} |
630 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
631 |
|
|
632 |
|
%package ja |
633 |
|
Summary: %{package_summary} - Japanese |
634 |
|
Group: %{group} |
635 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
636 |
|
%description ja |
637 |
|
%{summary} |
638 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
639 |
|
|
640 |
|
%package nb |
641 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
642 |
|
Group: %{group} |
643 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
644 |
|
%description nb |
645 |
|
%{summary} |
646 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
647 |
|
|
648 |
%package nl |
%package nl |
649 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
650 |
Group: %{group} |
Group: %{group} |
654 |
%{summary} |
%{summary} |
655 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
656 |
|
|
657 |
%package pt_BR |
%package pl |
658 |
|
Summary: %{package_summary} - Polish |
659 |
|
Group: %{group} |
660 |
|
Requires: aspell-pl |
661 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
662 |
|
%description pl |
663 |
|
%{summary} |
664 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
665 |
|
|
666 |
|
%package pt |
667 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
668 |
Group: %{group} |
Group: %{group} |
669 |
Requires: aspell-pt |
Requires: aspell-pt |
670 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
671 |
|
%description pt |
672 |
|
%{summary} |
673 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
674 |
|
|
675 |
|
%package pt_BR |
676 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
677 |
|
Group: %{group} |
678 |
|
Requires: aspell-pt |
679 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
680 |
%description pt_BR |
%description pt_BR |
681 |
%{summary} |
%{summary} |
682 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
683 |
|
|
684 |
|
%package ro |
685 |
|
Summary: %{package_summary} - Romanian |
686 |
|
Group: %{group} |
687 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
688 |
|
%description ro |
689 |
|
%{summary} |
690 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
691 |
|
|
692 |
|
%package ru |
693 |
|
Summary: %{package_summary} - Russian |
694 |
|
Group: %{group} |
695 |
|
Requires: aspell-ru |
696 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
697 |
|
%description ru |
698 |
|
%{summary} |
699 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
700 |
|
|
701 |
%package sl |
%package sl |
702 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
703 |
Group: %{group} |
Group: %{group} |
715 |
%description sv |
%description sv |
716 |
%{summary} |
%{summary} |
717 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
718 |
|
|
719 |
|
%package th |
720 |
|
Summary: %{package_summary} - Thai |
721 |
|
Group: %{group} |
722 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
723 |
|
%description th |
724 |
|
%{summary} |
725 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
726 |
|
|
727 |
|
%package tr |
728 |
|
Summary: %{package_summary} - Turkish |
729 |
|
Group: %{group} |
730 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
731 |
|
%description tr |
732 |
|
%{summary} |
733 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
734 |
|
|
735 |
|
%package zh_CN |
736 |
|
Summary: %{package_summary} - Chinese (China) |
737 |
|
Group: %{group} |
738 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
739 |
|
%description zh_CN |
740 |
|
%{summary} |
741 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |