1 |
# $Id: smeserver-locale.spec,v 1.32 2008/06/27 15:51:08 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.75 2010/02/25 10:49:02 filippocarletti 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 11 |
%define release 26 |
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_BR sl sv |
%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 |
|
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
40 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
BuildRequires: perl |
BuildRequires: perl |
47 |
SME Server localisation module |
SME Server localisation module |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
51 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
52 |
|
- Correct previous changelog entry |
53 |
|
- Apply locale 2010-02-27 patch |
54 |
|
|
55 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
56 |
|
- apply locale 2010-02-25 patch |
57 |
|
|
58 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
59 |
|
- apply locale 2009-10-27 patch |
60 |
|
- Add Thai language [SME: 5466] |
61 |
|
|
62 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
63 |
|
- apply locale 2009-08-24 patch |
64 |
|
- Add Polish language [SME: 5437] |
65 |
|
|
66 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
67 |
|
- apply locale 2009-05-27 patch |
68 |
|
- Add Romanian language [SME: 5268] |
69 |
|
|
70 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
71 |
|
- apply locale 2009-05-20 patch |
72 |
|
|
73 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
74 |
|
- apply locale 2009-04-27 patch |
75 |
|
- Add Estonian language [SME: 5199] |
76 |
|
|
77 |
|
* Tue Mar 03 2009 SME Translation Server |
78 |
|
- re-apply locale 2009-03-03 patch |
79 |
|
|
80 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
81 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
82 |
|
|
83 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
84 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
85 |
|
- Added missing bug references to changelog entry [SME: 5002] |
86 |
|
|
87 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
88 |
|
- Add Chineese (China) language [SME: 5002] |
89 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
90 |
|
- Add Russian language [SME: 5002] |
91 |
|
|
92 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
93 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
94 |
|
|
95 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
96 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
97 |
|
|
98 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
99 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
100 |
|
|
101 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
102 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
103 |
|
|
104 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
105 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
106 |
|
|
107 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
108 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
109 |
|
|
110 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
111 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
112 |
|
|
113 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
114 |
|
- Apply 2 Nov 2008 locale patch |
115 |
|
|
116 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
117 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
118 |
|
|
119 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
120 |
|
- Apply 17 Oct 2008 locale patch |
121 |
|
|
122 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
123 |
|
- Apply 16 Oct 2008 locale patch |
124 |
|
|
125 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
126 |
|
- Apply 15 Oct 2008 locale patch |
127 |
|
|
128 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
129 |
|
- Add Japanese language [SME: 4637] |
130 |
|
|
131 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
132 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
133 |
|
|
134 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
135 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
136 |
|
|
137 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
138 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
139 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
140 |
|
|
141 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
142 |
|
- Apply 4 Oct locale patch |
143 |
|
|
144 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
145 |
|
- Remove colored highlights from German locale [SME: 4618] |
146 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
147 |
|
|
148 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
149 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
150 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
151 |
|
|
152 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
153 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
154 |
|
|
155 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
156 |
|
- Apply locale patch |
157 |
|
|
158 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
159 |
|
- Apply locale patch |
160 |
|
|
161 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
162 |
|
- Apply Jul 26 2008 locale patch |
163 |
|
- Add Portuguese language |
164 |
|
- Add Turkish language |
165 |
|
|
166 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
167 |
|
- Apply 1 July 2008 locale patch |
168 |
|
|
169 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
170 |
- Apply 27 Jun 2008 locale patch |
- Apply 27 Jun 2008 locale patch |
171 |
|
|
474 |
|
|
475 |
%prep |
%prep |
476 |
%setup |
%setup |
477 |
|
%patch0 -p1 |
478 |
%patch1 -p1 |
%patch1 -p1 |
479 |
%patch2 -p1 |
%patch2 -p1 |
480 |
%patch3 -p1 |
%patch3 -p1 |
483 |
%patch6 -p1 |
%patch6 -p1 |
484 |
%patch7 -p1 |
%patch7 -p1 |
485 |
%patch8 -p1 |
%patch8 -p1 |
486 |
|
%patch9 -p1 |
487 |
|
%patch10 -p1 |
488 |
|
%patch11 -p1 |
489 |
|
%patch12 -p1 |
490 |
|
%patch13 -p1 |
491 |
|
%patch14 -p1 |
492 |
|
%patch15 -p1 |
493 |
|
%patch16 -p1 |
494 |
|
%patch17 -p1 |
495 |
|
%patch18 -p1 |
496 |
|
%patch19 -p1 |
497 |
|
%patch20 -p1 |
498 |
|
%patch21 -p1 |
499 |
|
%patch22 -p1 |
500 |
|
|
501 |
%build |
%build |
502 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
524 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
525 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
526 |
|
|
527 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
528 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
529 |
done |
done |
530 |
|
|
531 |
%clean |
%clean |
576 |
%{summary} |
%{summary} |
577 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
578 |
|
|
579 |
|
%package et |
580 |
|
Summary: %{package_summary} - Estonian |
581 |
|
Group: %{group} |
582 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
583 |
|
%description et |
584 |
|
%{summary} |
585 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
586 |
|
|
587 |
%package fr |
%package fr |
588 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
589 |
Group: %{group} |
Group: %{group} |
619 |
%{summary} |
%{summary} |
620 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
621 |
|
|
622 |
|
%package ja |
623 |
|
Summary: %{package_summary} - Japanese |
624 |
|
Group: %{group} |
625 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
626 |
|
%description ja |
627 |
|
%{summary} |
628 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
629 |
|
|
630 |
|
%package nb |
631 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
632 |
|
Group: %{group} |
633 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
634 |
|
%description nb |
635 |
|
%{summary} |
636 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
637 |
|
|
638 |
%package nl |
%package nl |
639 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
640 |
Group: %{group} |
Group: %{group} |
644 |
%{summary} |
%{summary} |
645 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
646 |
|
|
647 |
%package pt_BR |
%package pl |
648 |
|
Summary: %{package_summary} - Polish |
649 |
|
Group: %{group} |
650 |
|
Requires: aspell-pl |
651 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
652 |
|
%description pl |
653 |
|
%{summary} |
654 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
655 |
|
|
656 |
|
%package pt |
657 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
658 |
Group: %{group} |
Group: %{group} |
659 |
Requires: aspell-pt |
Requires: aspell-pt |
660 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
661 |
|
%description pt |
662 |
|
%{summary} |
663 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
664 |
|
|
665 |
|
%package pt_BR |
666 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
667 |
|
Group: %{group} |
668 |
|
Requires: aspell-pt |
669 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
670 |
%description pt_BR |
%description pt_BR |
671 |
%{summary} |
%{summary} |
672 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
673 |
|
|
674 |
|
%package ro |
675 |
|
Summary: %{package_summary} - Romanian |
676 |
|
Group: %{group} |
677 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
678 |
|
%description ro |
679 |
|
%{summary} |
680 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
681 |
|
|
682 |
|
%package ru |
683 |
|
Summary: %{package_summary} - Russian |
684 |
|
Group: %{group} |
685 |
|
Requires: aspell-ru |
686 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
687 |
|
%description ru |
688 |
|
%{summary} |
689 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
690 |
|
|
691 |
%package sl |
%package sl |
692 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
693 |
Group: %{group} |
Group: %{group} |
705 |
%description sv |
%description sv |
706 |
%{summary} |
%{summary} |
707 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
708 |
|
|
709 |
|
%package th |
710 |
|
Summary: %{package_summary} - Thai |
711 |
|
Group: %{group} |
712 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
713 |
|
%description th |
714 |
|
%{summary} |
715 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
716 |
|
|
717 |
|
%package tr |
718 |
|
Summary: %{package_summary} - Turkish |
719 |
|
Group: %{group} |
720 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
721 |
|
%description tr |
722 |
|
%{summary} |
723 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
724 |
|
|
725 |
|
%package zh_CN |
726 |
|
Summary: %{package_summary} - Chinese (China) |
727 |
|
Group: %{group} |
728 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
729 |
|
%description zh_CN |
730 |
|
%{summary} |
731 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |