1 |
# $Id: smeserver-locale.spec,v 1.41 2008/10/04 07:56:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.68 2009/04/27 16:10:28 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 18 |
%define release 21 |
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 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 |
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 |
Patch14: smeserver-locale-1.4.0-removeReferrencesToWiki.patch |
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch |
30 |
Patch15: smeserver-locale-1.4.0-removeColorCoding.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
36 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
37 |
BuildRequires: perl |
BuildRequires: perl |
43 |
SME Server localisation module |
SME Server localisation module |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
47 |
|
- apply locale 2009-05-20 patch |
48 |
|
|
49 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
50 |
|
- apply locale 2009-04-27 patch |
51 |
|
- Add Estonian language [SME: 5199] |
52 |
|
|
53 |
|
* Tue Mar 03 2009 SME Translation Server |
54 |
|
- re-apply locale 2009-03-03 patch |
55 |
|
|
56 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
57 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
58 |
|
|
59 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
60 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
61 |
|
- Added missing bug references to changelog entry [SME: 5002] |
62 |
|
|
63 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
64 |
|
- Add Chineese (China) language [SME: 5002] |
65 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
66 |
|
- Add Russian language [SME: 5002] |
67 |
|
|
68 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
69 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
70 |
|
|
71 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
72 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
73 |
|
|
74 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
75 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
76 |
|
|
77 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
78 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
79 |
|
|
80 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
81 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
82 |
|
|
83 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
84 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
85 |
|
|
86 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
87 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
88 |
|
|
89 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
90 |
|
- Apply 2 Nov 2008 locale patch |
91 |
|
|
92 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
93 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
94 |
|
|
95 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
96 |
|
- Apply 17 Oct 2008 locale patch |
97 |
|
|
98 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
99 |
|
- Apply 16 Oct 2008 locale patch |
100 |
|
|
101 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
102 |
|
- Apply 15 Oct 2008 locale patch |
103 |
|
|
104 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
105 |
|
- Add Japanese language [SME: 4637] |
106 |
|
|
107 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
108 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
109 |
|
|
110 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
111 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
112 |
|
|
113 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
114 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
115 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
116 |
|
|
117 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
118 |
|
- Apply 4 Oct locale patch |
119 |
|
|
120 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
121 |
- Remove colored highlights from German locale [SME: 4618] |
- Remove colored highlights from German locale [SME: 4618] |
122 |
- Fix changelog entry in previous entry for [SME: 4616] |
- Fix changelog entry in previous entry for [SME: 4616] |
450 |
|
|
451 |
%prep |
%prep |
452 |
%setup |
%setup |
453 |
|
%patch0 -p1 |
454 |
%patch1 -p1 |
%patch1 -p1 |
455 |
%patch2 -p1 |
%patch2 -p1 |
456 |
%patch3 -p1 |
%patch3 -p1 |
466 |
%patch13 -p1 |
%patch13 -p1 |
467 |
%patch14 -p1 |
%patch14 -p1 |
468 |
%patch15 -p1 |
%patch15 -p1 |
469 |
|
%patch16 -p1 |
470 |
|
%patch17 -p1 |
471 |
|
%patch18 -p1 |
472 |
|
|
473 |
%build |
%build |
474 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
496 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
497 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
498 |
|
|
499 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
500 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
501 |
done |
done |
502 |
|
|
503 |
%clean |
%clean |
548 |
%{summary} |
%{summary} |
549 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
550 |
|
|
551 |
|
%package et |
552 |
|
Summary: %{package_summary} - Estonian |
553 |
|
Group: %{group} |
554 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
555 |
|
%description et |
556 |
|
%{summary} |
557 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
558 |
|
|
559 |
%package fr |
%package fr |
560 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
561 |
Group: %{group} |
Group: %{group} |
568 |
%package hu |
%package hu |
569 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
570 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
571 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
572 |
%description hu |
%description hu |
573 |
%{summary} |
%{summary} |
591 |
%{summary} |
%{summary} |
592 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
593 |
|
|
594 |
|
%package ja |
595 |
|
Summary: %{package_summary} - Japanese |
596 |
|
Group: %{group} |
597 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
598 |
|
%description ja |
599 |
|
%{summary} |
600 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
601 |
|
|
602 |
|
%package nb |
603 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
604 |
|
Group: %{group} |
605 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
606 |
|
%description nb |
607 |
|
%{summary} |
608 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
609 |
|
|
610 |
%package nl |
%package nl |
611 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
612 |
Group: %{group} |
Group: %{group} |
634 |
%{summary} |
%{summary} |
635 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
636 |
|
|
637 |
|
%package ru |
638 |
|
Summary: %{package_summary} - Russian |
639 |
|
Group: %{group} |
640 |
|
Requires: aspell-ru |
641 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
642 |
|
%description ru |
643 |
|
%{summary} |
644 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
645 |
|
|
646 |
%package sl |
%package sl |
647 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
648 |
Group: %{group} |
Group: %{group} |
664 |
%package tr |
%package tr |
665 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
666 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
667 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
668 |
%description tr |
%description tr |
669 |
%{summary} |
%{summary} |
670 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
671 |
|
|
672 |
|
%package zh_CN |
673 |
|
Summary: %{package_summary} - Chinese (China) |
674 |
|
Group: %{group} |
675 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
676 |
|
%description zh_CN |
677 |
|
%{summary} |
678 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |