1 |
|
# $Id: smeserver-locale.spec,v 1.69 2009/05/20 18:29:30 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 8 |
%define release 22 |
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 et fr hu id it ja nb nl pt pt_BR ro 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 |
Patch6: smeserver-locale-2008-04-01.patch |
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 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
37 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
BuildRequires: perl |
BuildRequires: perl |
44 |
SME Server localisation module |
SME Server localisation module |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
48 |
|
- apply locale 2009-05-27 patch |
49 |
|
- Add Romanian language [SME: 5268] |
50 |
|
|
51 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
52 |
|
- apply locale 2009-05-20 patch |
53 |
|
|
54 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
55 |
|
- apply locale 2009-04-27 patch |
56 |
|
- Add Estonian language [SME: 5199] |
57 |
|
|
58 |
|
* Tue Mar 03 2009 SME Translation Server |
59 |
|
- re-apply locale 2009-03-03 patch |
60 |
|
|
61 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
62 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
63 |
|
|
64 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
65 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
66 |
|
- Added missing bug references to changelog entry [SME: 5002] |
67 |
|
|
68 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
69 |
|
- Add Chineese (China) language [SME: 5002] |
70 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
71 |
|
- Add Russian language [SME: 5002] |
72 |
|
|
73 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
74 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
75 |
|
|
76 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
77 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
78 |
|
|
79 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
80 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
81 |
|
|
82 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
83 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
84 |
|
|
85 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
86 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
87 |
|
|
88 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
89 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
90 |
|
|
91 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
92 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
93 |
|
|
94 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
95 |
|
- Apply 2 Nov 2008 locale patch |
96 |
|
|
97 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
98 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
99 |
|
|
100 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
101 |
|
- Apply 17 Oct 2008 locale patch |
102 |
|
|
103 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
104 |
|
- Apply 16 Oct 2008 locale patch |
105 |
|
|
106 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
107 |
|
- Apply 15 Oct 2008 locale patch |
108 |
|
|
109 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
110 |
|
- Add Japanese language [SME: 4637] |
111 |
|
|
112 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
113 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
114 |
|
|
115 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
116 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
117 |
|
|
118 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
119 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
120 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
121 |
|
|
122 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
123 |
|
- Apply 4 Oct locale patch |
124 |
|
|
125 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
126 |
|
- Remove colored highlights from German locale [SME: 4618] |
127 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
128 |
|
|
129 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
130 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
131 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
132 |
|
|
133 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
134 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
135 |
|
|
136 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
137 |
|
- Apply locale patch |
138 |
|
|
139 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
140 |
|
- Apply locale patch |
141 |
|
|
142 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
143 |
|
- Apply Jul 26 2008 locale patch |
144 |
|
- Add Portuguese language |
145 |
|
- Add Turkish language |
146 |
|
|
147 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
148 |
|
- Apply 1 July 2008 locale patch |
149 |
|
|
150 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
151 |
|
- Apply 27 Jun 2008 locale patch |
152 |
|
|
153 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
154 |
|
- Update to May 5 2008 translations |
155 |
|
- Revert Apr 23 2008 translations (bad patch) |
156 |
|
|
157 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
158 |
|
- Update to Apr 23 2008 translations |
159 |
|
|
160 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
161 |
- Update to Apr 1 2008 translations |
- Update to Apr 1 2008 translations |
162 |
|
|
455 |
|
|
456 |
%prep |
%prep |
457 |
%setup |
%setup |
458 |
|
%patch0 -p1 |
459 |
%patch1 -p1 |
%patch1 -p1 |
460 |
%patch2 -p1 |
%patch2 -p1 |
461 |
%patch3 -p1 |
%patch3 -p1 |
462 |
%patch4 -p1 |
%patch4 -p1 |
463 |
%patch5 -p1 |
%patch5 -p1 |
464 |
%patch6 -p1 |
%patch6 -p1 |
465 |
|
%patch7 -p1 |
466 |
|
%patch8 -p1 |
467 |
|
%patch9 -p1 |
468 |
|
%patch10 -p1 |
469 |
|
%patch11 -p1 |
470 |
|
%patch12 -p1 |
471 |
|
%patch13 -p1 |
472 |
|
%patch14 -p1 |
473 |
|
%patch15 -p1 |
474 |
|
%patch16 -p1 |
475 |
|
%patch17 -p1 |
476 |
|
%patch18 -p1 |
477 |
|
%patch19 -p1 |
478 |
|
|
479 |
%build |
%build |
480 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
502 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
503 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
504 |
|
|
505 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
506 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
507 |
done |
done |
508 |
|
|
509 |
%clean |
%clean |
510 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
511 |
|
|
512 |
|
%package bg |
513 |
|
Summary: %{package_summary} - Bulgarian |
514 |
|
Group: %{group} |
515 |
|
Requires: aspell-bg |
516 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
517 |
|
%description bg |
518 |
|
%{summary} |
519 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
520 |
|
|
521 |
%package da |
%package da |
522 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
523 |
Group: %{group} |
Group: %{group} |
554 |
%{summary} |
%{summary} |
555 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
556 |
|
|
557 |
|
%package et |
558 |
|
Summary: %{package_summary} - Estonian |
559 |
|
Group: %{group} |
560 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
561 |
|
%description et |
562 |
|
%{summary} |
563 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
564 |
|
|
565 |
%package fr |
%package fr |
566 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
567 |
Group: %{group} |
Group: %{group} |
597 |
%{summary} |
%{summary} |
598 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
599 |
|
|
600 |
|
%package ja |
601 |
|
Summary: %{package_summary} - Japanese |
602 |
|
Group: %{group} |
603 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
604 |
|
%description ja |
605 |
|
%{summary} |
606 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
607 |
|
|
608 |
|
%package nb |
609 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
610 |
|
Group: %{group} |
611 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
612 |
|
%description nb |
613 |
|
%{summary} |
614 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
615 |
|
|
616 |
%package nl |
%package nl |
617 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
618 |
Group: %{group} |
Group: %{group} |
622 |
%{summary} |
%{summary} |
623 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
624 |
|
|
625 |
%package pt_BR |
%package pt |
626 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
627 |
Group: %{group} |
Group: %{group} |
628 |
Requires: aspell-pt |
Requires: aspell-pt |
629 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
630 |
|
%description pt |
631 |
|
%{summary} |
632 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
633 |
|
|
634 |
|
%package pt_BR |
635 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
636 |
|
Group: %{group} |
637 |
|
Requires: aspell-pt |
638 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
639 |
%description pt_BR |
%description pt_BR |
640 |
%{summary} |
%{summary} |
641 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
642 |
|
|
643 |
|
%package ro |
644 |
|
Summary: %{package_summary} - Romanian |
645 |
|
Group: %{group} |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description ro |
648 |
|
%{summary} |
649 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
650 |
|
|
651 |
|
%package ru |
652 |
|
Summary: %{package_summary} - Russian |
653 |
|
Group: %{group} |
654 |
|
Requires: aspell-ru |
655 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
656 |
|
%description ru |
657 |
|
%{summary} |
658 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
659 |
|
|
660 |
%package sl |
%package sl |
661 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
662 |
Group: %{group} |
Group: %{group} |
674 |
%description sv |
%description sv |
675 |
%{summary} |
%{summary} |
676 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
677 |
|
|
678 |
|
%package tr |
679 |
|
Summary: %{package_summary} - Turkish |
680 |
|
Group: %{group} |
681 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
682 |
|
%description tr |
683 |
|
%{summary} |
684 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
685 |
|
|
686 |
|
%package zh_CN |
687 |
|
Summary: %{package_summary} - Chinese (China) |
688 |
|
Group: %{group} |
689 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
690 |
|
%description zh_CN |
691 |
|
%{summary} |
692 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |