1 |
# $Id: smeserver-locale.spec,v 1.31 2008/05/05 21:28:58 slords Exp $ |
# $Id: smeserver-locale.spec,v 1.72 2009/10/27 17:40:13 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.2.0 |
7 |
%define release 10 |
%define release 24 |
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 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 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
38 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
39 |
BuildRequires: perl |
BuildRequires: perl |
45 |
SME Server localisation module |
SME Server localisation module |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
49 |
|
- Add Thai language [SME: 5466] |
50 |
|
|
51 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
52 |
|
- apply locale 2009-08-24 patch |
53 |
|
- Add Polish language [SME: 5437] |
54 |
|
|
55 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
56 |
|
- apply locale 2009-05-27 patch |
57 |
|
- Add Romanian language [SME: 5268] |
58 |
|
|
59 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
60 |
|
- apply locale 2009-05-20 patch |
61 |
|
|
62 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
63 |
|
- apply locale 2009-04-27 patch |
64 |
|
- Add Estonian language [SME: 5199] |
65 |
|
|
66 |
|
* Tue Mar 03 2009 SME Translation Server |
67 |
|
- re-apply locale 2009-03-03 patch |
68 |
|
|
69 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
70 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
71 |
|
|
72 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
73 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
74 |
|
- Added missing bug references to changelog entry [SME: 5002] |
75 |
|
|
76 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
77 |
|
- Add Chineese (China) language [SME: 5002] |
78 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
79 |
|
- Add Russian language [SME: 5002] |
80 |
|
|
81 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
82 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
83 |
|
|
84 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
85 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
86 |
|
|
87 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
88 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
89 |
|
|
90 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
91 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
92 |
|
|
93 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
94 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
95 |
|
|
96 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
97 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
98 |
|
|
99 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
100 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
101 |
|
|
102 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
103 |
|
- Apply 2 Nov 2008 locale patch |
104 |
|
|
105 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
106 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
107 |
|
|
108 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
109 |
|
- Apply 17 Oct 2008 locale patch |
110 |
|
|
111 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
112 |
|
- Apply 16 Oct 2008 locale patch |
113 |
|
|
114 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
115 |
|
- Apply 15 Oct 2008 locale patch |
116 |
|
|
117 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
118 |
|
- Add Japanese language [SME: 4637] |
119 |
|
|
120 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
121 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
122 |
|
|
123 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
124 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
125 |
|
|
126 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
127 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
128 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
129 |
|
|
130 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
131 |
|
- Apply 4 Oct locale patch |
132 |
|
|
133 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
134 |
|
- Remove colored highlights from German locale [SME: 4618] |
135 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
136 |
|
|
137 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
138 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
139 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
140 |
|
|
141 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
142 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
143 |
|
|
144 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
145 |
|
- Apply locale patch |
146 |
|
|
147 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
148 |
|
- Apply locale patch |
149 |
|
|
150 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
151 |
|
- Apply Jul 26 2008 locale patch |
152 |
|
- Add Portuguese language |
153 |
|
- Add Turkish language |
154 |
|
|
155 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
156 |
|
- Apply 1 July 2008 locale patch |
157 |
|
|
158 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
159 |
|
- Apply 27 Jun 2008 locale patch |
160 |
|
|
161 |
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
162 |
- Update to May 5 2008 translations |
- Update to May 5 2008 translations |
163 |
- Revert Apr 23 2008 translations (bad patch) |
- Revert Apr 23 2008 translations (bad patch) |
463 |
|
|
464 |
%prep |
%prep |
465 |
%setup |
%setup |
466 |
|
%patch0 -p1 |
467 |
%patch1 -p1 |
%patch1 -p1 |
468 |
%patch2 -p1 |
%patch2 -p1 |
469 |
%patch3 -p1 |
%patch3 -p1 |
471 |
%patch5 -p1 |
%patch5 -p1 |
472 |
%patch6 -p1 |
%patch6 -p1 |
473 |
%patch7 -p1 |
%patch7 -p1 |
474 |
|
%patch8 -p1 |
475 |
|
%patch9 -p1 |
476 |
|
%patch10 -p1 |
477 |
|
%patch11 -p1 |
478 |
|
%patch12 -p1 |
479 |
|
%patch13 -p1 |
480 |
|
%patch14 -p1 |
481 |
|
%patch15 -p1 |
482 |
|
%patch16 -p1 |
483 |
|
%patch17 -p1 |
484 |
|
%patch18 -p1 |
485 |
|
%patch19 -p1 |
486 |
|
%patch20 -p1 |
487 |
|
|
488 |
%build |
%build |
489 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
511 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
512 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
513 |
|
|
514 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
515 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
516 |
done |
done |
517 |
|
|
518 |
%clean |
%clean |
519 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
520 |
|
|
521 |
|
%package bg |
522 |
|
Summary: %{package_summary} - Bulgarian |
523 |
|
Group: %{group} |
524 |
|
Requires: aspell-bg |
525 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
526 |
|
%description bg |
527 |
|
%{summary} |
528 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
529 |
|
|
530 |
%package da |
%package da |
531 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
532 |
Group: %{group} |
Group: %{group} |
563 |
%{summary} |
%{summary} |
564 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
565 |
|
|
566 |
|
%package et |
567 |
|
Summary: %{package_summary} - Estonian |
568 |
|
Group: %{group} |
569 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
570 |
|
%description et |
571 |
|
%{summary} |
572 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
573 |
|
|
574 |
%package fr |
%package fr |
575 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
576 |
Group: %{group} |
Group: %{group} |
606 |
%{summary} |
%{summary} |
607 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
608 |
|
|
609 |
|
%package ja |
610 |
|
Summary: %{package_summary} - Japanese |
611 |
|
Group: %{group} |
612 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
613 |
|
%description ja |
614 |
|
%{summary} |
615 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
616 |
|
|
617 |
|
%package nb |
618 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
619 |
|
Group: %{group} |
620 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
621 |
|
%description nb |
622 |
|
%{summary} |
623 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
624 |
|
|
625 |
%package nl |
%package nl |
626 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
627 |
Group: %{group} |
Group: %{group} |
631 |
%{summary} |
%{summary} |
632 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
633 |
|
|
634 |
%package pt_BR |
%package pl |
635 |
|
Summary: %{package_summary} - Polish |
636 |
|
Group: %{group} |
637 |
|
Requires: aspell-pl |
638 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
639 |
|
%description pl |
640 |
|
%{summary} |
641 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
642 |
|
|
643 |
|
%package pt |
644 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
645 |
Group: %{group} |
Group: %{group} |
646 |
Requires: aspell-pt |
Requires: aspell-pt |
647 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
648 |
|
%description pt |
649 |
|
%{summary} |
650 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
651 |
|
|
652 |
|
%package pt_BR |
653 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
654 |
|
Group: %{group} |
655 |
|
Requires: aspell-pt |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
%description pt_BR |
%description pt_BR |
658 |
%{summary} |
%{summary} |
659 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
660 |
|
|
661 |
|
%package ro |
662 |
|
Summary: %{package_summary} - Romanian |
663 |
|
Group: %{group} |
664 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
665 |
|
%description ro |
666 |
|
%{summary} |
667 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
668 |
|
|
669 |
|
%package ru |
670 |
|
Summary: %{package_summary} - Russian |
671 |
|
Group: %{group} |
672 |
|
Requires: aspell-ru |
673 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
674 |
|
%description ru |
675 |
|
%{summary} |
676 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
677 |
|
|
678 |
%package sl |
%package sl |
679 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
680 |
Group: %{group} |
Group: %{group} |
692 |
%description sv |
%description sv |
693 |
%{summary} |
%{summary} |
694 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
695 |
|
|
696 |
|
%package th |
697 |
|
Summary: %{package_summary} - Thai |
698 |
|
Group: %{group} |
699 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
700 |
|
%description th |
701 |
|
%{summary} |
702 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
703 |
|
|
704 |
|
%package tr |
705 |
|
Summary: %{package_summary} - Turkish |
706 |
|
Group: %{group} |
707 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
708 |
|
%description tr |
709 |
|
%{summary} |
710 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
711 |
|
|
712 |
|
%package zh_CN |
713 |
|
Summary: %{package_summary} - Chinese (China) |
714 |
|
Group: %{group} |
715 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
716 |
|
%description zh_CN |
717 |
|
%{summary} |
718 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |