1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.108 2014/03/08 18:09:42 wellsi 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 2.2.0 |
%define version 2.2.0 |
7 |
%define release 15 |
%define release 50 |
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 ja 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 |
27 |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.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 |
|
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 |
|
Patch32: smeserver-locale-2.2.0-locale-2011-04-27.patch |
49 |
|
Patch33: smeserver-locale-2.2.0-locale-2011-06-20.patch |
50 |
|
Patch34: smeserver-locale-2.2.0-locale-2011-10-04.patch |
51 |
|
Patch35: smeserver-locale-2.2.0-locale-2011-11-23.patch |
52 |
|
Patch36: smeserver-locale-2.2.0-locale-2012-03-20.patch |
53 |
|
Patch37: smeserver-locale-2.2.0-locale-2013-07-04.patch |
54 |
|
Patch38: smeserver-locale-2.2.0-locale-2013-09-14.patch |
55 |
|
Patch39: smeserver-locale-2.2.0-locale-2013-10-07.patch |
56 |
|
Patch40: smeserver-locale-2.2.0-locale-2013-11-03.patch |
57 |
|
Patch41: smeserver-locale-2.2.0-locale-2014-02-05.patch |
58 |
|
Patch42: smeserver-locale-2.2.0-locale-2014-02-13.patch |
59 |
|
Patch43: smeserver-locale-2.2.0-locale-2014-02-19.patch |
60 |
|
Patch44: smeserver-locale-2.2.0-locale-2014-02-23.patch |
61 |
|
Patch45: smeserver-locale-2.2.0-locale-2014-03-08.patch |
62 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
63 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
64 |
BuildRequires: perl |
BuildRequires: perl |
70 |
SME Server localisation module |
SME Server localisation module |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Sat Mar 8 2014 Ian Wells <esmith@wellsi.com> 2.2.0-50.sme |
74 |
|
- apply locale 2014-03-08 patch from pootle [SME: 6998] |
75 |
|
|
76 |
|
* Sun Feb 23 2014 Ian Wells <esmith@wellsi.com> 2.2.0-49.sme |
77 |
|
- apply locale 2014-02-23 patch from pootle [SME: 7675] |
78 |
|
|
79 |
|
* Wed Feb 19 2014 Ian Wells <esmith@wellsi.com> 2.2.0-48.sme |
80 |
|
- apply locale 2014-02-19 patch from pootle [SME: 8216] |
81 |
|
|
82 |
|
* Fri Feb 14 2014 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
83 |
|
- apply locale 2014-02-13 patch from pootle [SME: 8177] |
84 |
|
|
85 |
|
* Wed Feb 5 2014 Ian Wells <esmith@wellsi.com> 2.2.0-46.sme |
86 |
|
- apply locale 2014-02-05 patch from pootle [SME: 8177] |
87 |
|
|
88 |
|
* Sun Nov 3 2013 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme |
89 |
|
- apply locale 2013-11-03 patch from pootle [SME: 7972] |
90 |
|
|
91 |
|
* Mon Oct 07 2013 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme |
92 |
|
- apply locale 2013-10-07 patch from pootle [SME: 7877] |
93 |
|
|
94 |
|
* Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 2.2.0-43.sme |
95 |
|
- apply locale 2013-09-14 patch from pootle [SME: 7847] |
96 |
|
|
97 |
|
* Thu Jul 04 2013 Ian Wells <esmith@wellsi.com> 2.2.0-42.sme |
98 |
|
- apply locale 2013-07-04 patch from pootle [SME: 7734] |
99 |
|
|
100 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.sme |
101 |
|
- apply locale 2012-03-20 patch |
102 |
|
|
103 |
|
* Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.sme |
104 |
|
- apply locale 2011-11-23 patch |
105 |
|
|
106 |
|
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.sme |
107 |
|
- apply locale 2011-10-04 patch |
108 |
|
|
109 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.sme |
110 |
|
- apply locale 2011-06-20 patch |
111 |
|
|
112 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
113 |
|
- apply locale 2011-04-27 patch |
114 |
|
|
115 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
116 |
|
- apply locale 2011-03-06 patch |
117 |
|
|
118 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
119 |
|
- apply locale 2010-10-08 patch |
120 |
|
|
121 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
122 |
|
- apply locale 2010-08-18 patch |
123 |
|
|
124 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
125 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
126 |
|
- apply locale 2010-07-13 patch |
127 |
|
|
128 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
129 |
|
- apply locale 2010-06-24 patch |
130 |
|
|
131 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
132 |
|
- apply locale 2010-06-08 patch |
133 |
|
|
134 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
135 |
|
- Add Hebrew language [SME: 5971] |
136 |
|
|
137 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
138 |
|
- apply locale 2010-05-23 patch |
139 |
|
|
140 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
141 |
|
- apply locale 2010-04-29 patch |
142 |
|
|
143 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
144 |
|
- apply locale 2010-03-02 patch |
145 |
|
|
146 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
147 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
148 |
|
- Correct previous changelog entry |
149 |
|
- Apply locale 2010-02-27 patch |
150 |
|
|
151 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
152 |
|
- apply locale 2010-02-25 patch |
153 |
|
|
154 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
155 |
|
- apply locale 2009-10-27 patch |
156 |
|
- Add Thai language [SME: 5466] |
157 |
|
|
158 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
159 |
|
- apply locale 2009-08-24 patch |
160 |
|
- Add Polish language [SME: 5437] |
161 |
|
|
162 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
163 |
|
- apply locale 2009-05-27 patch |
164 |
|
- Add Romanian language [SME: 5268] |
165 |
|
|
166 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
167 |
|
- apply locale 2009-05-20 patch |
168 |
|
|
169 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
170 |
|
- apply locale 2009-04-27 patch |
171 |
|
- Add Estonian language [SME: 5199] |
172 |
|
|
173 |
|
* Tue Mar 03 2009 SME Translation Server |
174 |
|
- re-apply locale 2009-03-03 patch |
175 |
|
|
176 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
177 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
178 |
|
|
179 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
180 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
181 |
|
- Added missing bug references to changelog entry [SME: 5002] |
182 |
|
|
183 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
184 |
|
- Add Chineese (China) language [SME: 5002] |
185 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
186 |
|
- Add Russian language [SME: 5002] |
187 |
|
|
188 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
189 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
190 |
|
|
203 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
204 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
205 |
|
|
206 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
207 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
208 |
|
|
209 |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
584 |
%patch11 -p1 |
%patch11 -p1 |
585 |
%patch12 -p1 |
%patch12 -p1 |
586 |
%patch13 -p1 |
%patch13 -p1 |
587 |
|
%patch14 -p1 |
588 |
|
%patch15 -p1 |
589 |
|
%patch16 -p1 |
590 |
|
%patch17 -p1 |
591 |
|
%patch18 -p1 |
592 |
|
%patch19 -p1 |
593 |
|
%patch20 -p1 |
594 |
|
%patch21 -p1 |
595 |
|
%patch22 -p1 |
596 |
|
%patch23 -p1 |
597 |
|
%patch24 -p1 |
598 |
|
%patch25 -p1 |
599 |
|
%patch26 -p1 |
600 |
|
%patch27 -p1 |
601 |
|
%patch28 -p1 |
602 |
|
%patch29 -p1 |
603 |
|
%patch30 -p1 |
604 |
|
%patch31 -p1 |
605 |
|
%patch32 -p1 |
606 |
|
%patch33 -p1 |
607 |
|
%patch34 -p1 |
608 |
|
%patch35 -p1 |
609 |
|
%patch36 -p1 |
610 |
|
%patch37 -p1 |
611 |
|
%patch38 -p1 |
612 |
|
%patch39 -p1 |
613 |
|
%patch40 -p1 |
614 |
|
%patch41 -p1 |
615 |
|
%patch42 -p1 |
616 |
|
%patch43 -p1 |
617 |
|
%patch44 -p1 |
618 |
|
%patch45 -p1 |
619 |
|
|
620 |
%build |
%build |
621 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
643 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
644 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
645 |
|
|
646 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
647 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
648 |
done |
done |
649 |
|
|
650 |
%clean |
%clean |
695 |
%{summary} |
%{summary} |
696 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
697 |
|
|
698 |
|
%package et |
699 |
|
Summary: %{package_summary} - Estonian |
700 |
|
Group: %{group} |
701 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
702 |
|
%description et |
703 |
|
%{summary} |
704 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
705 |
|
|
706 |
%package fr |
%package fr |
707 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
708 |
Group: %{group} |
Group: %{group} |
712 |
%{summary} |
%{summary} |
713 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
714 |
|
|
715 |
|
%package he |
716 |
|
Summary: %{package_summary} - Hebrew |
717 |
|
Group: %{group} |
718 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
719 |
|
%description he |
720 |
|
%{summary} |
721 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
722 |
|
|
723 |
%package hu |
%package hu |
724 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
725 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
726 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
727 |
%description hu |
%description hu |
728 |
%{summary} |
%{summary} |
754 |
%{summary} |
%{summary} |
755 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
756 |
|
|
757 |
|
%package nb |
758 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
759 |
|
Group: %{group} |
760 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
761 |
|
%description nb |
762 |
|
%{summary} |
763 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
764 |
|
|
765 |
%package nl |
%package nl |
766 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
767 |
Group: %{group} |
Group: %{group} |
771 |
%{summary} |
%{summary} |
772 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
773 |
|
|
774 |
|
%package pl |
775 |
|
Summary: %{package_summary} - Polish |
776 |
|
Group: %{group} |
777 |
|
Requires: aspell-pl |
778 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
779 |
|
%description pl |
780 |
|
%{summary} |
781 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
782 |
|
|
783 |
%package pt |
%package pt |
784 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
785 |
Group: %{group} |
Group: %{group} |
798 |
%{summary} |
%{summary} |
799 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
800 |
|
|
801 |
|
%package ro |
802 |
|
Summary: %{package_summary} - Romanian |
803 |
|
Group: %{group} |
804 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
805 |
|
%description ro |
806 |
|
%{summary} |
807 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
808 |
|
|
809 |
|
%package ru |
810 |
|
Summary: %{package_summary} - Russian |
811 |
|
Group: %{group} |
812 |
|
Requires: aspell-ru |
813 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
814 |
|
%description ru |
815 |
|
%{summary} |
816 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
817 |
|
|
818 |
%package sl |
%package sl |
819 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
820 |
Group: %{group} |
Group: %{group} |
833 |
%{summary} |
%{summary} |
834 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
835 |
|
|
836 |
|
%package th |
837 |
|
Summary: %{package_summary} - Thai |
838 |
|
Group: %{group} |
839 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
840 |
|
%description th |
841 |
|
%{summary} |
842 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
843 |
|
|
844 |
%package tr |
%package tr |
845 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
846 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
847 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
848 |
%description tr |
%description tr |
849 |
%{summary} |
%{summary} |
850 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
851 |
|
|
852 |
|
%package zh_CN |
853 |
|
Summary: %{package_summary} - Chinese (China) |
854 |
|
Group: %{group} |
855 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
856 |
|
%description zh_CN |
857 |
|
%{summary} |
858 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
859 |
|
|
860 |
|
%package zh_TW |
861 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
862 |
|
Group: %{group} |
863 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
864 |
|
%description zh_TW |
865 |
|
%{summary} |
866 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |