1 |
# $Id: smeserver-locale.spec,v 1.38 2008/09/30 07:55:43 dungog Exp $ |
# $Id: smeserver-locale.spec,v 1.66 2009/03/03 17:05:29 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 16 |
%define release 19 |
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 pt_BR sl sv tr |
%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 |
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 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch |
27 |
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch13: smeserver-locale-1.4.0-locale-2008-10-03.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
34 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
35 |
BuildRequires: perl |
BuildRequires: perl |
41 |
SME Server localisation module |
SME Server localisation module |
42 |
|
|
43 |
%changelog |
%changelog |
44 |
|
* Tue Mar 03 2009 SME Translation Server |
45 |
|
- re-apply locale 2009-03-03 patch |
46 |
|
|
47 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
48 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
49 |
|
|
50 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
51 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
52 |
|
- Added missing bug references to changelog entry [SME: 5002] |
53 |
|
|
54 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
55 |
|
- Add Chineese (China) language [SME: 5002] |
56 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
57 |
|
- Add Russian language [SME: 5002] |
58 |
|
|
59 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
60 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
61 |
|
|
62 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
63 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
64 |
|
|
65 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
66 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
67 |
|
|
68 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
69 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
70 |
|
|
71 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
72 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
73 |
|
|
74 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
75 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
76 |
|
|
77 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
78 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
79 |
|
|
80 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
81 |
|
- Apply 2 Nov 2008 locale patch |
82 |
|
|
83 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
84 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
85 |
|
|
86 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
87 |
|
- Apply 17 Oct 2008 locale patch |
88 |
|
|
89 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
90 |
|
- Apply 16 Oct 2008 locale patch |
91 |
|
|
92 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
93 |
|
- Apply 15 Oct 2008 locale patch |
94 |
|
|
95 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
96 |
|
- Add Japanese language [SME: 4637] |
97 |
|
|
98 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
99 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
100 |
|
|
101 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
102 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
103 |
|
|
104 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
105 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
106 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
107 |
|
|
108 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
109 |
|
- Apply 4 Oct locale patch |
110 |
|
|
111 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
112 |
|
- Remove colored highlights from German locale [SME: 4618] |
113 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
114 |
|
|
115 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
116 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
117 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
118 |
|
|
119 |
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
120 |
- Apply locale patch to fix many translation bugs [SME: 4651] |
- Apply locale patch to fix many translation bugs [SME: 4615] |
121 |
|
|
122 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
123 |
- Apply locale patch |
- Apply locale patch |
441 |
|
|
442 |
%prep |
%prep |
443 |
%setup |
%setup |
444 |
|
%patch0 -p1 |
445 |
%patch1 -p1 |
%patch1 -p1 |
446 |
%patch2 -p1 |
%patch2 -p1 |
447 |
%patch3 -p1 |
%patch3 -p1 |
455 |
%patch11 -p1 |
%patch11 -p1 |
456 |
%patch12 -p1 |
%patch12 -p1 |
457 |
%patch13 -p1 |
%patch13 -p1 |
458 |
|
%patch14 -p1 |
459 |
|
%patch15 -p1 |
460 |
|
%patch16 -p1 |
461 |
|
|
462 |
%build |
%build |
463 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
485 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
486 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
487 |
|
|
488 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
489 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
490 |
done |
done |
491 |
|
|
492 |
%clean |
%clean |
549 |
%package hu |
%package hu |
550 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
551 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
552 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
553 |
%description hu |
%description hu |
554 |
%{summary} |
%{summary} |
572 |
%{summary} |
%{summary} |
573 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
574 |
|
|
575 |
|
%package ja |
576 |
|
Summary: %{package_summary} - Japanese |
577 |
|
Group: %{group} |
578 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
579 |
|
%description ja |
580 |
|
%{summary} |
581 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
582 |
|
|
583 |
|
%package nb |
584 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
585 |
|
Group: %{group} |
586 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
587 |
|
%description nb |
588 |
|
%{summary} |
589 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
590 |
|
|
591 |
%package nl |
%package nl |
592 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
593 |
Group: %{group} |
Group: %{group} |
615 |
%{summary} |
%{summary} |
616 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
617 |
|
|
618 |
|
%package ru |
619 |
|
Summary: %{package_summary} - Russian |
620 |
|
Group: %{group} |
621 |
|
Requires: aspell-ru |
622 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
623 |
|
%description ru |
624 |
|
%{summary} |
625 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
626 |
|
|
627 |
%package sl |
%package sl |
628 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
629 |
Group: %{group} |
Group: %{group} |
645 |
%package tr |
%package tr |
646 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
647 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
648 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
649 |
%description tr |
%description tr |
650 |
%{summary} |
%{summary} |
651 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
652 |
|
|
653 |
|
%package zh_CN |
654 |
|
Summary: %{package_summary} - Chinese (China) |
655 |
|
Group: %{group} |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
|
%description zh_CN |
658 |
|
%{summary} |
659 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |