1 |
|
# $Id: smeserver-locale.spec,v 1.62 2009/01/31 07:58:06 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 3 |
%define release 16 |
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 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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
32 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
|
Requires: e-smith-formmagick = 1.4.0-10 |
|
33 |
BuildRequires: perl |
BuildRequires: perl |
34 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
35 |
BuildRequires: gettext |
BuildRequires: gettext |
39 |
SME Server localisation module |
SME Server localisation module |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
43 |
|
- Add Chineese (China) language |
44 |
|
- Add Norwegian (Bokmal) language |
45 |
|
- Add Russian language |
46 |
|
|
47 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
48 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
49 |
|
|
50 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
51 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
52 |
|
|
53 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
54 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
55 |
|
|
56 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
57 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
58 |
|
|
59 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
60 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
61 |
|
|
62 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
63 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
64 |
|
|
65 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
66 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
67 |
|
|
68 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
69 |
|
- Apply 2 Nov 2008 locale patch |
70 |
|
|
71 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
72 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
73 |
|
|
74 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
75 |
|
- Apply 17 Oct 2008 locale patch |
76 |
|
|
77 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
78 |
|
- Apply 16 Oct 2008 locale patch |
79 |
|
|
80 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
81 |
|
- Apply 15 Oct 2008 locale patch |
82 |
|
|
83 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
84 |
|
- Add Japanese language [SME: 4637] |
85 |
|
|
86 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
87 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
88 |
|
|
89 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
90 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
91 |
|
|
92 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
93 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
94 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
95 |
|
|
96 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
97 |
|
- Apply 4 Oct locale patch |
98 |
|
|
99 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
100 |
|
- Remove colored highlights from German locale [SME: 4618] |
101 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
102 |
|
|
103 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
104 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
105 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
106 |
|
|
107 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
108 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
109 |
|
|
110 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
111 |
|
- Apply locale patch |
112 |
|
|
113 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
114 |
|
- Apply locale patch |
115 |
|
|
116 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
117 |
|
- Apply Jul 26 2008 locale patch |
118 |
|
- Add Portuguese language |
119 |
|
- Add Turkish language |
120 |
|
|
121 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
122 |
|
- Apply 1 July 2008 locale patch |
123 |
|
|
124 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
125 |
|
- Apply 27 Jun 2008 locale patch |
126 |
|
|
127 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
128 |
|
- Update to May 5 2008 translations |
129 |
|
- Revert Apr 23 2008 translations (bad patch) |
130 |
|
|
131 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
132 |
|
- Update to Apr 23 2008 translations |
133 |
|
|
134 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
135 |
|
- Update to Apr 1 2008 translations |
136 |
|
|
137 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
138 |
|
- Update to Mar 26 2008 translations |
139 |
|
|
140 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
141 |
|
- Update to Mar 25 2008 translations |
142 |
|
|
143 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
144 |
|
- Fix packages for Brazilian portuguese |
145 |
|
- Update to Mar 18 2008 translations |
146 |
|
|
147 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
148 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
149 |
|
- Add missing aspell module requires |
150 |
|
|
151 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
152 |
- Fix requires to require e-smith-formmagick [SME: 3858] |
- Fix requires to require e-smith-formmagick [SME: 3858] |
153 |
|
|
429 |
|
|
430 |
%prep |
%prep |
431 |
%setup |
%setup |
432 |
|
%patch0 -p1 |
433 |
%patch1 -p1 |
%patch1 -p1 |
434 |
|
%patch2 -p1 |
435 |
|
%patch3 -p1 |
436 |
|
%patch4 -p1 |
437 |
|
%patch5 -p1 |
438 |
|
%patch6 -p1 |
439 |
|
%patch7 -p1 |
440 |
|
%patch8 -p1 |
441 |
|
%patch9 -p1 |
442 |
|
%patch10 -p1 |
443 |
|
%patch11 -p1 |
444 |
|
%patch12 -p1 |
445 |
|
%patch13 -p1 |
446 |
|
%patch14 -p1 |
447 |
|
|
448 |
%build |
%build |
449 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
471 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
472 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
473 |
|
|
474 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
475 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
476 |
done |
done |
477 |
|
|
478 |
%clean |
%clean |
479 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
480 |
|
|
481 |
|
%package bg |
482 |
|
Summary: %{package_summary} - Bulgarian |
483 |
|
Group: %{group} |
484 |
|
Requires: aspell-bg |
485 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
486 |
|
%description bg |
487 |
|
%{summary} |
488 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
489 |
|
|
490 |
%package da |
%package da |
491 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
492 |
Group: %{group} |
Group: %{group} |
493 |
|
Requires: aspell-da |
494 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
495 |
%description da |
%description da |
496 |
%{summary} |
%{summary} |
497 |
%files da -f %{name}-%{version}-%{release}-filelist-da |
%files da -f %{name}-%{version}-%{release}-filelist-da |
500 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
501 |
Group: %{group} |
Group: %{group} |
502 |
Requires: aspell-de |
Requires: aspell-de |
503 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
504 |
%description de |
%description de |
505 |
%{summary} |
%{summary} |
506 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
508 |
%package el |
%package el |
509 |
Summary: %{package_summary} - Greek |
Summary: %{package_summary} - Greek |
510 |
Group: %{group} |
Group: %{group} |
511 |
|
Requires: aspell-el |
512 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
513 |
%description el |
%description el |
514 |
%{summary} |
%{summary} |
515 |
%files el -f %{name}-%{version}-%{release}-filelist-el |
%files el -f %{name}-%{version}-%{release}-filelist-el |
518 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
519 |
Group: %{group} |
Group: %{group} |
520 |
Requires: aspell-es |
Requires: aspell-es |
521 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
522 |
%description es |
%description es |
523 |
%{summary} |
%{summary} |
524 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
527 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
528 |
Group: %{group} |
Group: %{group} |
529 |
Requires: aspell-fr |
Requires: aspell-fr |
530 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
531 |
%description fr |
%description fr |
532 |
%{summary} |
%{summary} |
533 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
535 |
%package hu |
%package hu |
536 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
537 |
Group: %{group} |
Group: %{group} |
538 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
539 |
%description hu |
%description hu |
540 |
%{summary} |
%{summary} |
541 |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
543 |
%package id |
%package id |
544 |
Summary: %{package_summary} - Indonesian |
Summary: %{package_summary} - Indonesian |
545 |
Group: %{group} |
Group: %{group} |
546 |
|
Requires: aspell-id |
547 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
548 |
%description id |
%description id |
549 |
%{summary} |
%{summary} |
550 |
%files id -f %{name}-%{version}-%{release}-filelist-id |
%files id -f %{name}-%{version}-%{release}-filelist-id |
553 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
554 |
Group: %{group} |
Group: %{group} |
555 |
Requires: aspell-it |
Requires: aspell-it |
556 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
557 |
%description it |
%description it |
558 |
%{summary} |
%{summary} |
559 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
560 |
|
|
561 |
|
%package ja |
562 |
|
Summary: %{package_summary} - Japanese |
563 |
|
Group: %{group} |
564 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
565 |
|
%description ja |
566 |
|
%{summary} |
567 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
568 |
|
|
569 |
|
%package nb |
570 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
571 |
|
Group: %{group} |
572 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
573 |
|
%description nb |
574 |
|
%{summary} |
575 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
576 |
|
|
577 |
%package nl |
%package nl |
578 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
579 |
Group: %{group} |
Group: %{group} |
580 |
|
Requires: aspell-nl |
581 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
582 |
%description nl |
%description nl |
583 |
%{summary} |
%{summary} |
584 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
586 |
%package pt |
%package pt |
587 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
588 |
Group: %{group} |
Group: %{group} |
589 |
|
Requires: aspell-pt |
590 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
591 |
%description pt |
%description pt |
592 |
%{summary} |
%{summary} |
593 |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
594 |
|
|
595 |
|
%package pt_BR |
596 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
597 |
|
Group: %{group} |
598 |
|
Requires: aspell-pt |
599 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
600 |
|
%description pt_BR |
601 |
|
%{summary} |
602 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
603 |
|
|
604 |
|
%package ru |
605 |
|
Summary: %{package_summary} - Russian |
606 |
|
Group: %{group} |
607 |
|
Requires: aspell-ru |
608 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
609 |
|
%description ru |
610 |
|
%{summary} |
611 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
612 |
|
|
613 |
%package sl |
%package sl |
614 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
615 |
Group: %{group} |
Group: %{group} |
616 |
|
Requires: aspell-sl |
617 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
618 |
%description sl |
%description sl |
619 |
%{summary} |
%{summary} |
620 |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
623 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
624 |
Group: %{group} |
Group: %{group} |
625 |
Requires: aspell-sv |
Requires: aspell-sv |
626 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
627 |
%description sv |
%description sv |
628 |
%{summary} |
%{summary} |
629 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
630 |
|
|
631 |
|
%package tr |
632 |
|
Summary: %{package_summary} - Turkish |
633 |
|
Group: %{group} |
634 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
635 |
|
%description tr |
636 |
|
%{summary} |
637 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
638 |
|
|
639 |
|
%package zh_CN |
640 |
|
Summary: %{package_summary} - Chinese (China) |
641 |
|
Group: %{group} |
642 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
643 |
|
%description zh_CN |
644 |
|
%{summary} |
645 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |