1 |
# $Id: smeserver-locale.spec,v 1.41 2008/10/04 07:56:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.79 2010/05/25 15:28:43 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.0.0 |
7 |
%define release 18 |
%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 he 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.0.0-locale-2008-10-08.patch |
17 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch |
21 |
Patch6: smeserver-locale-2008-04-01.patch |
Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch |
22 |
Patch7: smeserver-locale-2008-05-05.patch |
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
23 |
Patch8: smeserver-locale-2008-06-27.patch |
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
24 |
Patch9: smeserver-locale-2008-07-01.patch |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
Patch13: smeserver-locale-1.4.0-locale-2008-10-03.patch |
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
Patch14: smeserver-locale-1.4.0-removeReferrencesToWiki.patch |
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
Patch15: smeserver-locale-1.4.0-removeColorCoding.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
BuildRequires: perl |
BuildRequires: perl |
51 |
SME Server localisation module |
SME Server localisation module |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
55 |
|
- Add Hebrew language [SME: 5970] |
56 |
|
- apply locale 2010-05-25 patch |
57 |
|
|
58 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
59 |
|
- apply locale 2010-05-23 patch |
60 |
|
|
61 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
62 |
|
- apply locale 2010-04-28 patch |
63 |
|
|
64 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
65 |
|
- apply locale 2010-03-02 patch |
66 |
|
|
67 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
68 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
69 |
|
|
70 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.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.0.0-23.sme |
75 |
|
- apply locale 2009-08-24 patch |
76 |
|
- Add Polish language [SME: 5436] |
77 |
|
|
78 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.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.0.0-21.sme |
83 |
|
- apply locale 2009-05-20 patch |
84 |
|
|
85 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0-8.sme |
126 |
|
- Apply 2 Nov 2008 locale patch |
127 |
|
|
128 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.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.0.0-6.sme |
132 |
|
- Apply 17 Oct 2008 locale patch |
133 |
|
|
134 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme |
135 |
|
- Apply 16 Oct 2008 locale patch |
136 |
|
|
137 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme |
138 |
|
- Apply 15 Oct 2008 locale patch |
139 |
|
|
140 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
141 |
|
- Add Japanese language [SME: 4637] |
142 |
|
|
143 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.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.0.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 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
157 |
- Remove colored highlights from German locale [SME: 4618] |
- Remove colored highlights from German locale [SME: 4618] |
158 |
- Fix changelog entry in previous entry for [SME: 4616] |
- Fix changelog entry in previous entry for [SME: 4616] |
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 |
502 |
%patch13 -p1 |
%patch13 -p1 |
503 |
%patch14 -p1 |
%patch14 -p1 |
504 |
%patch15 -p1 |
%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 |
|
%patch26 -p1 |
516 |
|
|
517 |
%build |
%build |
518 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
540 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
541 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
542 |
|
|
543 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
544 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
545 |
done |
done |
546 |
|
|
547 |
%clean |
%clean |
592 |
%{summary} |
%{summary} |
593 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
594 |
|
|
595 |
|
%package et |
596 |
|
Summary: %{package_summary} - Estonian |
597 |
|
Group: %{group} |
598 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
599 |
|
%description et |
600 |
|
%{summary} |
601 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
602 |
|
|
603 |
%package fr |
%package fr |
604 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
605 |
Group: %{group} |
Group: %{group} |
609 |
%{summary} |
%{summary} |
610 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
611 |
|
|
612 |
|
%package he |
613 |
|
Summary: %{package_summary} - Hebrew |
614 |
|
Group: %{group} |
615 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
616 |
|
%description he |
617 |
|
%{summary} |
618 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
619 |
|
|
620 |
%package hu |
%package hu |
621 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
622 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
623 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
624 |
%description hu |
%description hu |
625 |
%{summary} |
%{summary} |
643 |
%{summary} |
%{summary} |
644 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
645 |
|
|
646 |
|
%package ja |
647 |
|
Summary: %{package_summary} - Japanese |
648 |
|
Group: %{group} |
649 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
650 |
|
%description ja |
651 |
|
%{summary} |
652 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
653 |
|
|
654 |
|
%package nb |
655 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
656 |
|
Group: %{group} |
657 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
658 |
|
%description nb |
659 |
|
%{summary} |
660 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
661 |
|
|
662 |
%package nl |
%package nl |
663 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
664 |
Group: %{group} |
Group: %{group} |
668 |
%{summary} |
%{summary} |
669 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
670 |
|
|
671 |
|
%package pl |
672 |
|
Summary: %{package_summary} - Polish |
673 |
|
Group: %{group} |
674 |
|
Requires: aspell-pl |
675 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
676 |
|
%description pl |
677 |
|
%{summary} |
678 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
679 |
|
|
680 |
%package pt |
%package pt |
681 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
682 |
Group: %{group} |
Group: %{group} |
695 |
%{summary} |
%{summary} |
696 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
697 |
|
|
698 |
|
%package ro |
699 |
|
Summary: %{package_summary} - Romanian |
700 |
|
Group: %{group} |
701 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
702 |
|
%description ro |
703 |
|
%{summary} |
704 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
705 |
|
|
706 |
|
%package ru |
707 |
|
Summary: %{package_summary} - Russian |
708 |
|
Group: %{group} |
709 |
|
Requires: aspell-ru |
710 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
711 |
|
%description ru |
712 |
|
%{summary} |
713 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
714 |
|
|
715 |
%package sl |
%package sl |
716 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
717 |
Group: %{group} |
Group: %{group} |
730 |
%{summary} |
%{summary} |
731 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
732 |
|
|
733 |
|
%package th |
734 |
|
Summary: %{package_summary} - Thai |
735 |
|
Group: %{group} |
736 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
737 |
|
%description th |
738 |
|
%{summary} |
739 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
740 |
|
|
741 |
%package tr |
%package tr |
742 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
743 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
744 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
745 |
%description tr |
%description tr |
746 |
%{summary} |
%{summary} |
747 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
748 |
|
|
749 |
|
%package zh_CN |
750 |
|
Summary: %{package_summary} - Chinese (China) |
751 |
|
Group: %{group} |
752 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
753 |
|
%description zh_CN |
754 |
|
%{summary} |
755 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |