1 |
# $Id: smeserver-locale.spec,v 1.43 2008/10/04 10:00:49 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.91 2011/03/06 15:27:57 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 20 |
%define release 36 |
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 |
|
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 |
|
Patch29: smeserver-locale-2.2.0-locale-2010-08-18.patch |
46 |
|
Patch30: smeserver-locale-2.2.0-locale-2010-10-08.patch |
47 |
|
Patch31: smeserver-locale-2.2.0-locale-2011-03-06.patch |
48 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
49 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
BuildRequires: perl |
BuildRequires: perl |
56 |
SME Server localisation module |
SME Server localisation module |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
60 |
|
- apply locale 2011-03-06 patch |
61 |
|
|
62 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
63 |
|
- apply locale 2010-10-08 patch |
64 |
|
|
65 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
66 |
|
- apply locale 2010-08-18 patch |
67 |
|
|
68 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
69 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
70 |
|
- apply locale 2010-07-13 patch |
71 |
|
|
72 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
73 |
|
- apply locale 2010-06-24 patch |
74 |
|
|
75 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
76 |
|
- apply locale 2010-06-08 patch |
77 |
|
|
78 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
79 |
|
- Add Hebrew language [SME: 5971] |
80 |
|
|
81 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
82 |
|
- apply locale 2010-05-23 patch |
83 |
|
|
84 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
85 |
|
- apply locale 2010-04-29 patch |
86 |
|
|
87 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
88 |
|
- apply locale 2010-03-02 patch |
89 |
|
|
90 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
91 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
92 |
|
- Correct previous changelog entry |
93 |
|
- Apply locale 2010-02-27 patch |
94 |
|
|
95 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
96 |
|
- apply locale 2010-02-25 patch |
97 |
|
|
98 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
99 |
|
- apply locale 2009-10-27 patch |
100 |
|
- Add Thai language [SME: 5466] |
101 |
|
|
102 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
103 |
|
- apply locale 2009-08-24 patch |
104 |
|
- Add Polish language [SME: 5437] |
105 |
|
|
106 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
107 |
|
- apply locale 2009-05-27 patch |
108 |
|
- Add Romanian language [SME: 5268] |
109 |
|
|
110 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
111 |
|
- apply locale 2009-05-20 patch |
112 |
|
|
113 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
114 |
|
- apply locale 2009-04-27 patch |
115 |
|
- Add Estonian language [SME: 5199] |
116 |
|
|
117 |
|
* Tue Mar 03 2009 SME Translation Server |
118 |
|
- re-apply locale 2009-03-03 patch |
119 |
|
|
120 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
121 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
122 |
|
|
123 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
124 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
125 |
|
- Added missing bug references to changelog entry [SME: 5002] |
126 |
|
|
127 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
128 |
|
- Add Chineese (China) language [SME: 5002] |
129 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
130 |
|
- Add Russian language [SME: 5002] |
131 |
|
|
132 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
133 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
134 |
|
|
135 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
136 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
137 |
|
|
138 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
139 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
140 |
|
|
141 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
142 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
143 |
|
|
144 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
145 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
146 |
|
|
147 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
148 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
149 |
|
|
150 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
151 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
152 |
|
|
153 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
154 |
|
- Apply 2 Nov 2008 locale patch |
155 |
|
|
156 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
157 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
158 |
|
|
159 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
160 |
|
- Apply 17 Oct 2008 locale patch |
161 |
|
|
162 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
163 |
|
- Apply 16 Oct 2008 locale patch |
164 |
|
|
165 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
166 |
|
- Apply 15 Oct 2008 locale patch |
167 |
|
|
168 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
169 |
|
- Add Japanese language [SME: 4637] |
170 |
|
|
171 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
172 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
173 |
|
|
174 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
175 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
176 |
|
|
177 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
178 |
- Reverting all changes made Oct 4, as they should be made through Pootle |
- Reverting all changes made Oct 4, as they should be made through Pootle |
179 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
180 |
|
|
181 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
182 |
- Apply 4 Oct locale patch |
- Apply 4 Oct locale patch |
514 |
|
|
515 |
%prep |
%prep |
516 |
%setup |
%setup |
517 |
|
%patch0 -p1 |
518 |
%patch1 -p1 |
%patch1 -p1 |
519 |
%patch2 -p1 |
%patch2 -p1 |
520 |
%patch3 -p1 |
%patch3 -p1 |
528 |
%patch11 -p1 |
%patch11 -p1 |
529 |
%patch12 -p1 |
%patch12 -p1 |
530 |
%patch13 -p1 |
%patch13 -p1 |
531 |
|
%patch14 -p1 |
532 |
|
%patch15 -p1 |
533 |
|
%patch16 -p1 |
534 |
|
%patch17 -p1 |
535 |
|
%patch18 -p1 |
536 |
|
%patch19 -p1 |
537 |
|
%patch20 -p1 |
538 |
|
%patch21 -p1 |
539 |
|
%patch22 -p1 |
540 |
|
%patch23 -p1 |
541 |
|
%patch24 -p1 |
542 |
|
%patch25 -p1 |
543 |
|
%patch26 -p1 |
544 |
|
%patch27 -p1 |
545 |
|
%patch28 -p1 |
546 |
|
%patch29 -p1 |
547 |
|
%patch30 -p1 |
548 |
|
#%patch31 -p1 |
549 |
|
|
550 |
%build |
%build |
551 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
573 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
574 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
575 |
|
|
576 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
577 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
578 |
done |
done |
579 |
|
|
580 |
%clean |
%clean |
625 |
%{summary} |
%{summary} |
626 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
627 |
|
|
628 |
|
%package et |
629 |
|
Summary: %{package_summary} - Estonian |
630 |
|
Group: %{group} |
631 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
632 |
|
%description et |
633 |
|
%{summary} |
634 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
635 |
|
|
636 |
%package fr |
%package fr |
637 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
638 |
Group: %{group} |
Group: %{group} |
642 |
%{summary} |
%{summary} |
643 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
644 |
|
|
645 |
|
%package he |
646 |
|
Summary: %{package_summary} - Hebrew |
647 |
|
Group: %{group} |
648 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
649 |
|
%description he |
650 |
|
%{summary} |
651 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
652 |
|
|
653 |
%package hu |
%package hu |
654 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
655 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
656 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
%description hu |
%description hu |
658 |
%{summary} |
%{summary} |
676 |
%{summary} |
%{summary} |
677 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
678 |
|
|
679 |
|
%package ja |
680 |
|
Summary: %{package_summary} - Japanese |
681 |
|
Group: %{group} |
682 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
683 |
|
%description ja |
684 |
|
%{summary} |
685 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
686 |
|
|
687 |
|
%package nb |
688 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
689 |
|
Group: %{group} |
690 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
691 |
|
%description nb |
692 |
|
%{summary} |
693 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
694 |
|
|
695 |
%package nl |
%package nl |
696 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
697 |
Group: %{group} |
Group: %{group} |
701 |
%{summary} |
%{summary} |
702 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
703 |
|
|
704 |
|
%package pl |
705 |
|
Summary: %{package_summary} - Polish |
706 |
|
Group: %{group} |
707 |
|
Requires: aspell-pl |
708 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
709 |
|
%description pl |
710 |
|
%{summary} |
711 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
712 |
|
|
713 |
%package pt |
%package pt |
714 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
715 |
Group: %{group} |
Group: %{group} |
728 |
%{summary} |
%{summary} |
729 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
730 |
|
|
731 |
|
%package ro |
732 |
|
Summary: %{package_summary} - Romanian |
733 |
|
Group: %{group} |
734 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
735 |
|
%description ro |
736 |
|
%{summary} |
737 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
738 |
|
|
739 |
|
%package ru |
740 |
|
Summary: %{package_summary} - Russian |
741 |
|
Group: %{group} |
742 |
|
Requires: aspell-ru |
743 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
744 |
|
%description ru |
745 |
|
%{summary} |
746 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
747 |
|
|
748 |
%package sl |
%package sl |
749 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
750 |
Group: %{group} |
Group: %{group} |
763 |
%{summary} |
%{summary} |
764 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
765 |
|
|
766 |
|
%package th |
767 |
|
Summary: %{package_summary} - Thai |
768 |
|
Group: %{group} |
769 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
770 |
|
%description th |
771 |
|
%{summary} |
772 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
773 |
|
|
774 |
%package tr |
%package tr |
775 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
776 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
777 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
778 |
%description tr |
%description tr |
779 |
%{summary} |
%{summary} |
780 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
781 |
|
|
782 |
|
%package zh_CN |
783 |
|
Summary: %{package_summary} - Chinese (China) |
784 |
|
Group: %{group} |
785 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
786 |
|
%description zh_CN |
787 |
|
%{summary} |
788 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
789 |
|
|
790 |
|
%package zh_TW |
791 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
792 |
|
Group: %{group} |
793 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
794 |
|
%description zh_TW |
795 |
|
%{summary} |
796 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |