1 |
|
# $Id: smeserver-locale.spec,v 1.67 2009/03/03 21:27:19 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 2 |
%define release 20 |
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 sl sv |
%define package_locales bg da de el es et 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 |
|
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
18 |
|
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
19 |
|
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
20 |
|
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 |
|
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
|
Requires: e-smith-lib = 1.18.0-21 |
|
36 |
BuildRequires: perl |
BuildRequires: perl |
37 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
38 |
BuildRequires: gettext |
BuildRequires: gettext |
42 |
SME Server localisation module |
SME Server localisation module |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
46 |
|
- apply locale 2009-04-27 patch |
47 |
|
- Add Estonian language [SME: 5199] |
48 |
|
|
49 |
|
* Tue Mar 03 2009 SME Translation Server |
50 |
|
- re-apply locale 2009-03-03 patch |
51 |
|
|
52 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
53 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
54 |
|
|
55 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
56 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
57 |
|
- Added missing bug references to changelog entry [SME: 5002] |
58 |
|
|
59 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
60 |
|
- Add Chineese (China) language [SME: 5002] |
61 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
62 |
|
- Add Russian language [SME: 5002] |
63 |
|
|
64 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
65 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
66 |
|
|
67 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
68 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
69 |
|
|
70 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
71 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
72 |
|
|
73 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
74 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
75 |
|
|
76 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
77 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
78 |
|
|
79 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
80 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
81 |
|
|
82 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
83 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
84 |
|
|
85 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
86 |
|
- Apply 2 Nov 2008 locale patch |
87 |
|
|
88 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
89 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
90 |
|
|
91 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
92 |
|
- Apply 17 Oct 2008 locale patch |
93 |
|
|
94 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
95 |
|
- Apply 16 Oct 2008 locale patch |
96 |
|
|
97 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
98 |
|
- Apply 15 Oct 2008 locale patch |
99 |
|
|
100 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
101 |
|
- Add Japanese language [SME: 4637] |
102 |
|
|
103 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
104 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
105 |
|
|
106 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
107 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
108 |
|
|
109 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
110 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
111 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
112 |
|
|
113 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
114 |
|
- Apply 4 Oct locale patch |
115 |
|
|
116 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
117 |
|
- Remove colored highlights from German locale [SME: 4618] |
118 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
119 |
|
|
120 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
121 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
122 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
123 |
|
|
124 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
125 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
126 |
|
|
127 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
128 |
|
- Apply locale patch |
129 |
|
|
130 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
131 |
|
- Apply locale patch |
132 |
|
|
133 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
134 |
|
- Apply Jul 26 2008 locale patch |
135 |
|
- Add Portuguese language |
136 |
|
- Add Turkish language |
137 |
|
|
138 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
139 |
|
- Apply 1 July 2008 locale patch |
140 |
|
|
141 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
142 |
|
- Apply 27 Jun 2008 locale patch |
143 |
|
|
144 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
145 |
|
- Update to May 5 2008 translations |
146 |
|
- Revert Apr 23 2008 translations (bad patch) |
147 |
|
|
148 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
149 |
|
- Update to Apr 23 2008 translations |
150 |
|
|
151 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
152 |
|
- Update to Apr 1 2008 translations |
153 |
|
|
154 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
155 |
|
- Update to Mar 26 2008 translations |
156 |
|
|
157 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
158 |
|
- Update to Mar 25 2008 translations |
159 |
|
|
160 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
161 |
|
- Fix packages for Brazilian portuguese |
162 |
|
- Update to Mar 18 2008 translations |
163 |
|
|
164 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
165 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
166 |
|
- Add missing aspell module requires |
167 |
|
|
168 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
169 |
|
- Fix requires to require e-smith-formmagick [SME: 3858] |
170 |
|
|
171 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2 |
172 |
- Convert panels to UTF-8 [SME: 3858] |
- Convert panels to UTF-8 [SME: 3858] |
173 |
|
|
446 |
|
|
447 |
%prep |
%prep |
448 |
%setup |
%setup |
449 |
|
%patch0 -p1 |
450 |
%patch1 -p1 |
%patch1 -p1 |
451 |
|
%patch2 -p1 |
452 |
|
%patch3 -p1 |
453 |
|
%patch4 -p1 |
454 |
|
%patch5 -p1 |
455 |
|
%patch6 -p1 |
456 |
|
%patch7 -p1 |
457 |
|
%patch8 -p1 |
458 |
|
%patch9 -p1 |
459 |
|
%patch10 -p1 |
460 |
|
%patch11 -p1 |
461 |
|
%patch12 -p1 |
462 |
|
%patch13 -p1 |
463 |
|
%patch14 -p1 |
464 |
|
%patch15 -p1 |
465 |
|
%patch16 -p1 |
466 |
|
%patch17 -p1 |
467 |
|
|
468 |
%build |
%build |
469 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
491 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
492 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
493 |
|
|
494 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
495 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
496 |
done |
done |
497 |
|
|
498 |
%clean |
%clean |
499 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
500 |
|
|
501 |
|
%package bg |
502 |
|
Summary: %{package_summary} - Bulgarian |
503 |
|
Group: %{group} |
504 |
|
Requires: aspell-bg |
505 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
506 |
|
%description bg |
507 |
|
%{summary} |
508 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
509 |
|
|
510 |
%package da |
%package da |
511 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
512 |
Group: %{group} |
Group: %{group} |
513 |
|
Requires: aspell-da |
514 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
515 |
%description da |
%description da |
516 |
%{summary} |
%{summary} |
517 |
%files da -f %{name}-%{version}-%{release}-filelist-da |
%files da -f %{name}-%{version}-%{release}-filelist-da |
520 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
521 |
Group: %{group} |
Group: %{group} |
522 |
Requires: aspell-de |
Requires: aspell-de |
523 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
524 |
%description de |
%description de |
525 |
%{summary} |
%{summary} |
526 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
528 |
%package el |
%package el |
529 |
Summary: %{package_summary} - Greek |
Summary: %{package_summary} - Greek |
530 |
Group: %{group} |
Group: %{group} |
531 |
|
Requires: aspell-el |
532 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
533 |
%description el |
%description el |
534 |
%{summary} |
%{summary} |
535 |
%files el -f %{name}-%{version}-%{release}-filelist-el |
%files el -f %{name}-%{version}-%{release}-filelist-el |
538 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
539 |
Group: %{group} |
Group: %{group} |
540 |
Requires: aspell-es |
Requires: aspell-es |
541 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
542 |
%description es |
%description es |
543 |
%{summary} |
%{summary} |
544 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
545 |
|
|
546 |
|
%package et |
547 |
|
Summary: %{package_summary} - Estonian |
548 |
|
Group: %{group} |
549 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
550 |
|
%description et |
551 |
|
%{summary} |
552 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
553 |
|
|
554 |
%package fr |
%package fr |
555 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
556 |
Group: %{group} |
Group: %{group} |
557 |
Requires: aspell-fr |
Requires: aspell-fr |
558 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
559 |
%description fr |
%description fr |
560 |
%{summary} |
%{summary} |
561 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
563 |
%package hu |
%package hu |
564 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
565 |
Group: %{group} |
Group: %{group} |
566 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
567 |
%description hu |
%description hu |
568 |
%{summary} |
%{summary} |
569 |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
571 |
%package id |
%package id |
572 |
Summary: %{package_summary} - Indonesian |
Summary: %{package_summary} - Indonesian |
573 |
Group: %{group} |
Group: %{group} |
574 |
|
Requires: aspell-id |
575 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
576 |
%description id |
%description id |
577 |
%{summary} |
%{summary} |
578 |
%files id -f %{name}-%{version}-%{release}-filelist-id |
%files id -f %{name}-%{version}-%{release}-filelist-id |
581 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
582 |
Group: %{group} |
Group: %{group} |
583 |
Requires: aspell-it |
Requires: aspell-it |
584 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
585 |
%description it |
%description it |
586 |
%{summary} |
%{summary} |
587 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
588 |
|
|
589 |
|
%package ja |
590 |
|
Summary: %{package_summary} - Japanese |
591 |
|
Group: %{group} |
592 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
593 |
|
%description ja |
594 |
|
%{summary} |
595 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
596 |
|
|
597 |
|
%package nb |
598 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
599 |
|
Group: %{group} |
600 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
601 |
|
%description nb |
602 |
|
%{summary} |
603 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
604 |
|
|
605 |
%package nl |
%package nl |
606 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
607 |
Group: %{group} |
Group: %{group} |
608 |
|
Requires: aspell-nl |
609 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
610 |
%description nl |
%description nl |
611 |
%{summary} |
%{summary} |
612 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
614 |
%package pt |
%package pt |
615 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
616 |
Group: %{group} |
Group: %{group} |
617 |
|
Requires: aspell-pt |
618 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
619 |
%description pt |
%description pt |
620 |
%{summary} |
%{summary} |
621 |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
622 |
|
|
623 |
|
%package pt_BR |
624 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
625 |
|
Group: %{group} |
626 |
|
Requires: aspell-pt |
627 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
628 |
|
%description pt_BR |
629 |
|
%{summary} |
630 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
631 |
|
|
632 |
|
%package ru |
633 |
|
Summary: %{package_summary} - Russian |
634 |
|
Group: %{group} |
635 |
|
Requires: aspell-ru |
636 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
637 |
|
%description ru |
638 |
|
%{summary} |
639 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
640 |
|
|
641 |
%package sl |
%package sl |
642 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
643 |
Group: %{group} |
Group: %{group} |
644 |
|
Requires: aspell-sl |
645 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
646 |
%description sl |
%description sl |
647 |
%{summary} |
%{summary} |
648 |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
651 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
652 |
Group: %{group} |
Group: %{group} |
653 |
Requires: aspell-sv |
Requires: aspell-sv |
654 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
655 |
%description sv |
%description sv |
656 |
%{summary} |
%{summary} |
657 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
658 |
|
|
659 |
|
%package tr |
660 |
|
Summary: %{package_summary} - Turkish |
661 |
|
Group: %{group} |
662 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
663 |
|
%description tr |
664 |
|
%{summary} |
665 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
666 |
|
|
667 |
|
%package zh_CN |
668 |
|
Summary: %{package_summary} - Chinese (China) |
669 |
|
Group: %{group} |
670 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
671 |
|
%description zh_CN |
672 |
|
%{summary} |
673 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |