1 |
# $Id: smeserver-locale.spec,v 1.60 2008/12/31 18:25:42 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.104 2014/02/05 20:34:03 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 47 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
60 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
61 |
BuildRequires: perl |
BuildRequires: perl |
67 |
SME Server localisation module |
SME Server localisation module |
68 |
|
|
69 |
%changelog |
%changelog |
70 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Fri Feb 14 2014 Ian Wells <esmith@wellsi.com> 2.2.0-47.sme |
71 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2014-02-13 patch from pootle [SME: 8177] |
72 |
|
|
73 |
|
* Wed Feb 5 2014 Ian Wells <esmith@wellsi.com> 2.2.0-46.sme |
74 |
|
- apply locale 2014-02-05 patch from pootle [SME: 8177] |
75 |
|
|
76 |
|
* Sun Nov 3 2013 Ian Wells <esmith@wellsi.com> 2.2.0-45.sme |
77 |
|
- apply locale 2013-11-03 patch from pootle [SME: 7972] |
78 |
|
|
79 |
|
* Mon Oct 07 2013 Ian Wells <esmith@wellsi.com> 2.2.0-44.sme |
80 |
|
- apply locale 2013-10-07 patch from pootle [SME: 7877] |
81 |
|
|
82 |
|
* Sat Sep 14 2013 Ian Wells <esmith@wellsi.com> 2.2.0-43.sme |
83 |
|
- apply locale 2013-09-14 patch from pootle [SME: 7847] |
84 |
|
|
85 |
|
* Thu Jul 04 2013 Ian Wells <esmith@wellsi.com> 2.2.0-42.sme |
86 |
|
- apply locale 2013-07-04 patch from pootle [SME: 7734] |
87 |
|
|
88 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.sme |
89 |
|
- apply locale 2012-03-20 patch |
90 |
|
|
91 |
|
* Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.sme |
92 |
|
- apply locale 2011-11-23 patch |
93 |
|
|
94 |
|
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.sme |
95 |
|
- apply locale 2011-10-04 patch |
96 |
|
|
97 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.sme |
98 |
|
- apply locale 2011-06-20 patch |
99 |
|
|
100 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
101 |
|
- apply locale 2011-04-27 patch |
102 |
|
|
103 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
104 |
|
- apply locale 2011-03-06 patch |
105 |
|
|
106 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
107 |
|
- apply locale 2010-10-08 patch |
108 |
|
|
109 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
110 |
|
- apply locale 2010-08-18 patch |
111 |
|
|
112 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
113 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
114 |
|
- apply locale 2010-07-13 patch |
115 |
|
|
116 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
117 |
|
- apply locale 2010-06-24 patch |
118 |
|
|
119 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
120 |
|
- apply locale 2010-06-08 patch |
121 |
|
|
122 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
123 |
|
- Add Hebrew language [SME: 5971] |
124 |
|
|
125 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
126 |
|
- apply locale 2010-05-23 patch |
127 |
|
|
128 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
129 |
|
- apply locale 2010-04-29 patch |
130 |
|
|
131 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
132 |
|
- apply locale 2010-03-02 patch |
133 |
|
|
134 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
135 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
136 |
|
- Correct previous changelog entry |
137 |
|
- Apply locale 2010-02-27 patch |
138 |
|
|
139 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
140 |
|
- apply locale 2010-02-25 patch |
141 |
|
|
142 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
143 |
|
- apply locale 2009-10-27 patch |
144 |
|
- Add Thai language [SME: 5466] |
145 |
|
|
146 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
147 |
|
- apply locale 2009-08-24 patch |
148 |
|
- Add Polish language [SME: 5437] |
149 |
|
|
150 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
151 |
|
- apply locale 2009-05-27 patch |
152 |
|
- Add Romanian language [SME: 5268] |
153 |
|
|
154 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
155 |
|
- apply locale 2009-05-20 patch |
156 |
|
|
157 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
158 |
|
- apply locale 2009-04-27 patch |
159 |
|
- Add Estonian language [SME: 5199] |
160 |
|
|
161 |
|
* Tue Mar 03 2009 SME Translation Server |
162 |
|
- re-apply locale 2009-03-03 patch |
163 |
|
|
164 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
165 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
166 |
|
|
167 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
168 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
169 |
|
- Added missing bug references to changelog entry [SME: 5002] |
170 |
|
|
171 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
172 |
|
- Add Chineese (China) language [SME: 5002] |
173 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
174 |
|
- Add Russian language [SME: 5002] |
175 |
|
|
176 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
177 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
178 |
|
|
179 |
* 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 |
180 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
191 |
* 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 |
192 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
193 |
|
|
194 |
* 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 |
195 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
196 |
|
|
197 |
* 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 |
572 |
%patch11 -p1 |
%patch11 -p1 |
573 |
%patch12 -p1 |
%patch12 -p1 |
574 |
%patch13 -p1 |
%patch13 -p1 |
575 |
|
%patch14 -p1 |
576 |
|
%patch15 -p1 |
577 |
|
%patch16 -p1 |
578 |
|
%patch17 -p1 |
579 |
|
%patch18 -p1 |
580 |
|
%patch19 -p1 |
581 |
|
%patch20 -p1 |
582 |
|
%patch21 -p1 |
583 |
|
%patch22 -p1 |
584 |
|
%patch23 -p1 |
585 |
|
%patch24 -p1 |
586 |
|
%patch25 -p1 |
587 |
|
%patch26 -p1 |
588 |
|
%patch27 -p1 |
589 |
|
%patch28 -p1 |
590 |
|
%patch29 -p1 |
591 |
|
%patch30 -p1 |
592 |
|
%patch31 -p1 |
593 |
|
%patch32 -p1 |
594 |
|
%patch33 -p1 |
595 |
|
%patch34 -p1 |
596 |
|
%patch35 -p1 |
597 |
|
%patch36 -p1 |
598 |
|
%patch37 -p1 |
599 |
|
%patch38 -p1 |
600 |
|
%patch39 -p1 |
601 |
|
%patch40 -p1 |
602 |
|
%patch41 -p1 |
603 |
|
%patch42 -p1 |
604 |
|
|
605 |
%build |
%build |
606 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
628 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
629 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
630 |
|
|
631 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
632 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
633 |
done |
done |
634 |
|
|
635 |
%clean |
%clean |
680 |
%{summary} |
%{summary} |
681 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
682 |
|
|
683 |
|
%package et |
684 |
|
Summary: %{package_summary} - Estonian |
685 |
|
Group: %{group} |
686 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
687 |
|
%description et |
688 |
|
%{summary} |
689 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
690 |
|
|
691 |
%package fr |
%package fr |
692 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
693 |
Group: %{group} |
Group: %{group} |
697 |
%{summary} |
%{summary} |
698 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
699 |
|
|
700 |
|
%package he |
701 |
|
Summary: %{package_summary} - Hebrew |
702 |
|
Group: %{group} |
703 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
704 |
|
%description he |
705 |
|
%{summary} |
706 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
707 |
|
|
708 |
%package hu |
%package hu |
709 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
710 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
711 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
712 |
%description hu |
%description hu |
713 |
%{summary} |
%{summary} |
739 |
%{summary} |
%{summary} |
740 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
741 |
|
|
742 |
|
%package nb |
743 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
744 |
|
Group: %{group} |
745 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
746 |
|
%description nb |
747 |
|
%{summary} |
748 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
749 |
|
|
750 |
%package nl |
%package nl |
751 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
752 |
Group: %{group} |
Group: %{group} |
756 |
%{summary} |
%{summary} |
757 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
758 |
|
|
759 |
|
%package pl |
760 |
|
Summary: %{package_summary} - Polish |
761 |
|
Group: %{group} |
762 |
|
Requires: aspell-pl |
763 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
764 |
|
%description pl |
765 |
|
%{summary} |
766 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
767 |
|
|
768 |
%package pt |
%package pt |
769 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
770 |
Group: %{group} |
Group: %{group} |
783 |
%{summary} |
%{summary} |
784 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
785 |
|
|
786 |
|
%package ro |
787 |
|
Summary: %{package_summary} - Romanian |
788 |
|
Group: %{group} |
789 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
790 |
|
%description ro |
791 |
|
%{summary} |
792 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
793 |
|
|
794 |
|
%package ru |
795 |
|
Summary: %{package_summary} - Russian |
796 |
|
Group: %{group} |
797 |
|
Requires: aspell-ru |
798 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
799 |
|
%description ru |
800 |
|
%{summary} |
801 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
802 |
|
|
803 |
%package sl |
%package sl |
804 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
805 |
Group: %{group} |
Group: %{group} |
818 |
%{summary} |
%{summary} |
819 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
820 |
|
|
821 |
|
%package th |
822 |
|
Summary: %{package_summary} - Thai |
823 |
|
Group: %{group} |
824 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
825 |
|
%description th |
826 |
|
%{summary} |
827 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
828 |
|
|
829 |
%package tr |
%package tr |
830 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
831 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
832 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
833 |
%description tr |
%description tr |
834 |
%{summary} |
%{summary} |
835 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
836 |
|
|
837 |
|
%package zh_CN |
838 |
|
Summary: %{package_summary} - Chinese (China) |
839 |
|
Group: %{group} |
840 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
841 |
|
%description zh_CN |
842 |
|
%{summary} |
843 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
844 |
|
|
845 |
|
%package zh_TW |
846 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
847 |
|
Group: %{group} |
848 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
849 |
|
%description zh_TW |
850 |
|
%{summary} |
851 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |