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