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