1 |
|
# $Id: smeserver-locale.spec,v 1.66 2009/03/03 17:05:29 snetram 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 7 |
%define release 19 |
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 da de el es fr hu id it nl pt_BR sl sv |
%define package_locales bg da de el es fr hu id it ja nb nl pt pt_BR ru sl sv 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 |
|
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
|
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
BuildRequires: perl |
BuildRequires: perl |
41 |
SME Server localisation module |
SME Server localisation module |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Tue Mar 03 2009 SME Translation Server |
45 |
|
- re-apply locale 2009-03-03 patch |
46 |
|
|
47 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
48 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
49 |
|
|
50 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
51 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
52 |
|
- Added missing bug references to changelog entry [SME: 5002] |
53 |
|
|
54 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
55 |
|
- Add Chineese (China) language [SME: 5002] |
56 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
57 |
|
- Add Russian language [SME: 5002] |
58 |
|
|
59 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
60 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
61 |
|
|
62 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
63 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
64 |
|
|
65 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
66 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
67 |
|
|
68 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
69 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
70 |
|
|
71 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
72 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
73 |
|
|
74 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
75 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
76 |
|
|
77 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
78 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
79 |
|
|
80 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
81 |
|
- Apply 2 Nov 2008 locale patch |
82 |
|
|
83 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
84 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
85 |
|
|
86 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
87 |
|
- Apply 17 Oct 2008 locale patch |
88 |
|
|
89 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
90 |
|
- Apply 16 Oct 2008 locale patch |
91 |
|
|
92 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
93 |
|
- Apply 15 Oct 2008 locale patch |
94 |
|
|
95 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
96 |
|
- Add Japanese language [SME: 4637] |
97 |
|
|
98 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
99 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
100 |
|
|
101 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
102 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
103 |
|
|
104 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
105 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
106 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
107 |
|
|
108 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
109 |
|
- Apply 4 Oct locale patch |
110 |
|
|
111 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
112 |
|
- Remove colored highlights from German locale [SME: 4618] |
113 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
114 |
|
|
115 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
116 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
117 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
118 |
|
|
119 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
120 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
121 |
|
|
122 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
123 |
|
- Apply locale patch |
124 |
|
|
125 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
126 |
|
- Apply locale patch |
127 |
|
|
128 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
129 |
|
- Apply Jul 26 2008 locale patch |
130 |
|
- Add Portuguese language |
131 |
|
- Add Turkish language |
132 |
|
|
133 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
134 |
|
- Apply 1 July 2008 locale patch |
135 |
|
|
136 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
137 |
|
- Apply 27 Jun 2008 locale patch |
138 |
|
|
139 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
140 |
|
- Update to May 5 2008 translations |
141 |
|
- Revert Apr 23 2008 translations (bad patch) |
142 |
|
|
143 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
144 |
|
- Update to Apr 23 2008 translations |
145 |
|
|
146 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
147 |
|
- Update to Apr 1 2008 translations |
148 |
|
|
149 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
150 |
- Update to Mar 26 2008 translations |
- Update to Mar 26 2008 translations |
151 |
|
|
441 |
|
|
442 |
%prep |
%prep |
443 |
%setup |
%setup |
444 |
|
%patch0 -p1 |
445 |
%patch1 -p1 |
%patch1 -p1 |
446 |
%patch2 -p1 |
%patch2 -p1 |
447 |
%patch3 -p1 |
%patch3 -p1 |
448 |
%patch4 -p1 |
%patch4 -p1 |
449 |
%patch5 -p1 |
%patch5 -p1 |
450 |
|
%patch6 -p1 |
451 |
|
%patch7 -p1 |
452 |
|
%patch8 -p1 |
453 |
|
%patch9 -p1 |
454 |
|
%patch10 -p1 |
455 |
|
%patch11 -p1 |
456 |
|
%patch12 -p1 |
457 |
|
%patch13 -p1 |
458 |
|
%patch14 -p1 |
459 |
|
%patch15 -p1 |
460 |
|
%patch16 -p1 |
461 |
|
|
462 |
%build |
%build |
463 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
485 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
486 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
487 |
|
|
488 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
489 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
490 |
done |
done |
491 |
|
|
492 |
%clean |
%clean |
493 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
494 |
|
|
495 |
|
%package bg |
496 |
|
Summary: %{package_summary} - Bulgarian |
497 |
|
Group: %{group} |
498 |
|
Requires: aspell-bg |
499 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
500 |
|
%description bg |
501 |
|
%{summary} |
502 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
503 |
|
|
504 |
%package da |
%package da |
505 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
506 |
Group: %{group} |
Group: %{group} |
572 |
%{summary} |
%{summary} |
573 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
574 |
|
|
575 |
|
%package ja |
576 |
|
Summary: %{package_summary} - Japanese |
577 |
|
Group: %{group} |
578 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
579 |
|
%description ja |
580 |
|
%{summary} |
581 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
582 |
|
|
583 |
|
%package nb |
584 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
585 |
|
Group: %{group} |
586 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
587 |
|
%description nb |
588 |
|
%{summary} |
589 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
590 |
|
|
591 |
%package nl |
%package nl |
592 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
593 |
Group: %{group} |
Group: %{group} |
597 |
%{summary} |
%{summary} |
598 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
599 |
|
|
600 |
%package pt_BR |
%package pt |
601 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
602 |
Group: %{group} |
Group: %{group} |
603 |
Requires: aspell-pt |
Requires: aspell-pt |
604 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
605 |
|
%description pt |
606 |
|
%{summary} |
607 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
608 |
|
|
609 |
|
%package pt_BR |
610 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
611 |
|
Group: %{group} |
612 |
|
Requires: aspell-pt |
613 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
614 |
%description pt_BR |
%description pt_BR |
615 |
%{summary} |
%{summary} |
616 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
617 |
|
|
618 |
|
%package ru |
619 |
|
Summary: %{package_summary} - Russian |
620 |
|
Group: %{group} |
621 |
|
Requires: aspell-ru |
622 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
623 |
|
%description ru |
624 |
|
%{summary} |
625 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
626 |
|
|
627 |
%package sl |
%package sl |
628 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
629 |
Group: %{group} |
Group: %{group} |
641 |
%description sv |
%description sv |
642 |
%{summary} |
%{summary} |
643 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
644 |
|
|
645 |
|
%package tr |
646 |
|
Summary: %{package_summary} - Turkish |
647 |
|
Group: %{group} |
648 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
649 |
|
%description tr |
650 |
|
%{summary} |
651 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
652 |
|
|
653 |
|
%package zh_CN |
654 |
|
Summary: %{package_summary} - Chinese (China) |
655 |
|
Group: %{group} |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
|
%description zh_CN |
658 |
|
%{summary} |
659 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |