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