1 |
# $Id: smeserver-locale.spec,v 1.47 2008/10/08 17:50:47 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.81 2010/06/24 13:52:35 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 2.0.0 |
%define version 2.0.0 |
7 |
%define release 3 |
%define release 31 |
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 |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch0: smeserver-locale-2.0.0-locale-2008-10-08.patch |
Patch0: smeserver-locale-2.0.0-locale-2008-10-08.patch |
17 |
|
Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch |
18 |
|
Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch |
19 |
|
Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch |
20 |
|
Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch |
21 |
|
Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch |
22 |
|
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
23 |
|
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
24 |
|
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
|
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
|
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
|
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
|
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
|
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
|
Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch |
31 |
|
Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch |
33 |
|
Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch |
41 |
|
Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch |
43 |
|
Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch |
44 |
|
Patch28: smeserver-locale-2.0.0-locale-2010-07-13.patch |
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
BuildRequires: perl |
BuildRequires: perl |
53 |
SME Server localisation module |
SME Server localisation module |
54 |
|
|
55 |
%changelog |
%changelog |
56 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.sme |
57 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
58 |
|
- apply locale 2010-07-13 patch |
59 |
|
|
60 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme |
61 |
|
- apply locale 2010-06-24 patch |
62 |
|
|
63 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
64 |
|
- Add Hebrew language [SME: 5970] |
65 |
|
- apply locale 2010-05-25 patch |
66 |
|
|
67 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
68 |
|
- apply locale 2010-05-23 patch |
69 |
|
|
70 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
71 |
|
- apply locale 2010-04-28 patch |
72 |
|
|
73 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
74 |
|
- apply locale 2010-03-02 patch |
75 |
|
|
76 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
77 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
78 |
|
|
79 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
80 |
|
- apply locale 2009-10-27 patch |
81 |
|
- Add Thai language [SME: 5466] |
82 |
|
|
83 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
84 |
|
- apply locale 2009-08-24 patch |
85 |
|
- Add Polish language [SME: 5436] |
86 |
|
|
87 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
88 |
|
- apply locale 2009-05-27 patch |
89 |
|
- Add Romanian language [SME: 5268] |
90 |
|
|
91 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
92 |
|
- apply locale 2009-05-20 patch |
93 |
|
|
94 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
95 |
|
- apply locale 2009-04-27 patch |
96 |
|
- Add Estonian language [SME: 5199] |
97 |
|
|
98 |
|
* Tue Mar 03 2009 SME Translation Server |
99 |
|
- re-apply locale 2009-03-03 patch |
100 |
|
|
101 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
102 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
103 |
|
|
104 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
105 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
106 |
|
- Added missing bug references to changelog entry [SME: 5002] |
107 |
|
|
108 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
109 |
|
- Add Chineese (China) language [SME: 5002] |
110 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
111 |
|
- Add Russian language [SME: 5002] |
112 |
|
|
113 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
114 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
115 |
|
|
116 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
117 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
118 |
|
|
119 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
120 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
121 |
|
|
122 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
123 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
124 |
|
|
125 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme |
126 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
127 |
|
|
128 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
129 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
130 |
|
|
131 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme |
132 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
133 |
|
|
134 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme |
135 |
|
- Apply 2 Nov 2008 locale patch |
136 |
|
|
137 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme |
138 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
139 |
|
|
140 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme |
141 |
|
- Apply 17 Oct 2008 locale patch |
142 |
|
|
143 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme |
144 |
|
- Apply 16 Oct 2008 locale patch |
145 |
|
|
146 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme |
147 |
|
- Apply 15 Oct 2008 locale patch |
148 |
|
|
149 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
150 |
- Add Japanese language [SME: 4637] |
- Add Japanese language [SME: 4637] |
151 |
|
|
496 |
%prep |
%prep |
497 |
%setup |
%setup |
498 |
%patch0 -p1 |
%patch0 -p1 |
499 |
|
%patch1 -p1 |
500 |
|
%patch2 -p1 |
501 |
|
%patch3 -p1 |
502 |
|
%patch4 -p1 |
503 |
|
%patch5 -p1 |
504 |
|
%patch6 -p1 |
505 |
|
%patch7 -p1 |
506 |
|
%patch8 -p1 |
507 |
|
%patch9 -p1 |
508 |
|
%patch10 -p1 |
509 |
|
%patch11 -p1 |
510 |
|
%patch12 -p1 |
511 |
|
%patch13 -p1 |
512 |
|
%patch14 -p1 |
513 |
|
%patch15 -p1 |
514 |
|
%patch16 -p1 |
515 |
|
%patch17 -p1 |
516 |
|
%patch18 -p1 |
517 |
|
%patch19 -p1 |
518 |
|
%patch20 -p1 |
519 |
|
%patch21 -p1 |
520 |
|
%patch22 -p1 |
521 |
|
%patch23 -p1 |
522 |
|
%patch24 -p1 |
523 |
|
%patch25 -p1 |
524 |
|
%patch26 -p1 |
525 |
|
%patch27 -p1 |
526 |
|
%patch28 -p1 |
527 |
|
|
528 |
%build |
%build |
529 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
551 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
552 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
553 |
|
|
554 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
555 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
556 |
done |
done |
557 |
|
|
558 |
%clean |
%clean |
603 |
%{summary} |
%{summary} |
604 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
605 |
|
|
606 |
|
%package et |
607 |
|
Summary: %{package_summary} - Estonian |
608 |
|
Group: %{group} |
609 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
610 |
|
%description et |
611 |
|
%{summary} |
612 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
613 |
|
|
614 |
%package fr |
%package fr |
615 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
616 |
Group: %{group} |
Group: %{group} |
620 |
%{summary} |
%{summary} |
621 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
622 |
|
|
623 |
|
%package he |
624 |
|
Summary: %{package_summary} - Hebrew |
625 |
|
Group: %{group} |
626 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
627 |
|
%description he |
628 |
|
%{summary} |
629 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
630 |
|
|
631 |
%package hu |
%package hu |
632 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
633 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
634 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
635 |
%description hu |
%description hu |
636 |
%{summary} |
%{summary} |
662 |
%{summary} |
%{summary} |
663 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
664 |
|
|
665 |
|
%package nb |
666 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
667 |
|
Group: %{group} |
668 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
669 |
|
%description nb |
670 |
|
%{summary} |
671 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
672 |
|
|
673 |
%package nl |
%package nl |
674 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
675 |
Group: %{group} |
Group: %{group} |
679 |
%{summary} |
%{summary} |
680 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
681 |
|
|
682 |
|
%package pl |
683 |
|
Summary: %{package_summary} - Polish |
684 |
|
Group: %{group} |
685 |
|
Requires: aspell-pl |
686 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
687 |
|
%description pl |
688 |
|
%{summary} |
689 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
690 |
|
|
691 |
%package pt |
%package pt |
692 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
693 |
Group: %{group} |
Group: %{group} |
706 |
%{summary} |
%{summary} |
707 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
708 |
|
|
709 |
|
%package ro |
710 |
|
Summary: %{package_summary} - Romanian |
711 |
|
Group: %{group} |
712 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
713 |
|
%description ro |
714 |
|
%{summary} |
715 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
716 |
|
|
717 |
|
%package ru |
718 |
|
Summary: %{package_summary} - Russian |
719 |
|
Group: %{group} |
720 |
|
Requires: aspell-ru |
721 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
722 |
|
%description ru |
723 |
|
%{summary} |
724 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
725 |
|
|
726 |
%package sl |
%package sl |
727 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
728 |
Group: %{group} |
Group: %{group} |
741 |
%{summary} |
%{summary} |
742 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
743 |
|
|
744 |
|
%package th |
745 |
|
Summary: %{package_summary} - Thai |
746 |
|
Group: %{group} |
747 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
748 |
|
%description th |
749 |
|
%{summary} |
750 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
751 |
|
|
752 |
%package tr |
%package tr |
753 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
754 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
755 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
756 |
%description tr |
%description tr |
757 |
%{summary} |
%{summary} |
758 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
759 |
|
|
760 |
|
%package zh_CN |
761 |
|
Summary: %{package_summary} - Chinese (China) |
762 |
|
Group: %{group} |
763 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
764 |
|
%description zh_CN |
765 |
|
%{summary} |
766 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
767 |
|
|
768 |
|
%package zh_TW |
769 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
770 |
|
Group: %{group} |
771 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
772 |
|
%description zh_TW |
773 |
|
%{summary} |
774 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |