1 |
# $Id: smeserver-locale.spec,v 1.34 2008/07/01 20:38:08 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.63 2009/02/09 16:58:47 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 17 |
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 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 |
|
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 |
|
Patch14: smeserver-locale-2.2.0-locale-2009-03-01.patch |
32 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
33 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
34 |
BuildRequires: perl |
BuildRequires: perl |
40 |
SME Server localisation module |
SME Server localisation module |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Sat Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
44 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
45 |
|
- Added missing bug references to changelog entry [SME: 5002] |
46 |
|
|
47 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
48 |
|
- Add Chineese (China) language [SME: 5002] |
49 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
50 |
|
- Add Russian language [SME: 5002] |
51 |
|
|
52 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
53 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
54 |
|
|
55 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
56 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
57 |
|
|
58 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
59 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
60 |
|
|
61 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
62 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
63 |
|
|
64 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
65 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
66 |
|
|
67 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
68 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
69 |
|
|
70 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
71 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
72 |
|
|
73 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
74 |
|
- Apply 2 Nov 2008 locale patch |
75 |
|
|
76 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
77 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
78 |
|
|
79 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
80 |
|
- Apply 17 Oct 2008 locale patch |
81 |
|
|
82 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
83 |
|
- Apply 16 Oct 2008 locale patch |
84 |
|
|
85 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
86 |
|
- Apply 15 Oct 2008 locale patch |
87 |
|
|
88 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
89 |
|
- Add Japanese language [SME: 4637] |
90 |
|
|
91 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
92 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
93 |
|
|
94 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
95 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
96 |
|
|
97 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
98 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
99 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
100 |
|
|
101 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
102 |
|
- Apply 4 Oct locale patch |
103 |
|
|
104 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
105 |
|
- Remove colored highlights from German locale [SME: 4618] |
106 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
107 |
|
|
108 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
109 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
110 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
111 |
|
|
112 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
113 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
114 |
|
|
115 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
116 |
|
- Apply locale patch |
117 |
|
|
118 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
119 |
|
- Apply locale patch |
120 |
|
|
121 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
122 |
|
- Apply Jul 26 2008 locale patch |
123 |
|
- Add Portuguese language |
124 |
|
- Add Turkish language |
125 |
|
|
126 |
* 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 |
127 |
- Apply 1 July 2008 locale patch |
- Apply 1 July 2008 locale patch |
128 |
|
|
434 |
|
|
435 |
%prep |
%prep |
436 |
%setup |
%setup |
437 |
|
%patch0 -p1 |
438 |
%patch1 -p1 |
%patch1 -p1 |
439 |
%patch2 -p1 |
%patch2 -p1 |
440 |
%patch3 -p1 |
%patch3 -p1 |
444 |
%patch7 -p1 |
%patch7 -p1 |
445 |
%patch8 -p1 |
%patch8 -p1 |
446 |
%patch9 -p1 |
%patch9 -p1 |
447 |
|
%patch10 -p1 |
448 |
|
%patch11 -p1 |
449 |
|
%patch12 -p1 |
450 |
|
%patch13 -p1 |
451 |
|
%patch14 -p1 |
452 |
|
%patch15 -p1 |
453 |
|
|
454 |
%build |
%build |
455 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
477 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
478 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
479 |
|
|
480 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
481 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
482 |
done |
done |
483 |
|
|
484 |
%clean |
%clean |
564 |
%{summary} |
%{summary} |
565 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
566 |
|
|
567 |
|
%package ja |
568 |
|
Summary: %{package_summary} - Japanese |
569 |
|
Group: %{group} |
570 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
571 |
|
%description ja |
572 |
|
%{summary} |
573 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
574 |
|
|
575 |
|
%package nb |
576 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
577 |
|
Group: %{group} |
578 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
579 |
|
%description nb |
580 |
|
%{summary} |
581 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
582 |
|
|
583 |
%package nl |
%package nl |
584 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
585 |
Group: %{group} |
Group: %{group} |
589 |
%{summary} |
%{summary} |
590 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
591 |
|
|
592 |
%package pt_BR |
%package pt |
593 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
594 |
Group: %{group} |
Group: %{group} |
595 |
Requires: aspell-pt |
Requires: aspell-pt |
596 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
597 |
|
%description pt |
598 |
|
%{summary} |
599 |
|
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
600 |
|
|
601 |
|
%package pt_BR |
602 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
603 |
|
Group: %{group} |
604 |
|
Requires: aspell-pt |
605 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
606 |
%description pt_BR |
%description pt_BR |
607 |
%{summary} |
%{summary} |
608 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
609 |
|
|
610 |
|
%package ru |
611 |
|
Summary: %{package_summary} - Russian |
612 |
|
Group: %{group} |
613 |
|
Requires: aspell-ru |
614 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
615 |
|
%description ru |
616 |
|
%{summary} |
617 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
618 |
|
|
619 |
%package sl |
%package sl |
620 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
621 |
Group: %{group} |
Group: %{group} |
633 |
%description sv |
%description sv |
634 |
%{summary} |
%{summary} |
635 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
636 |
|
|
637 |
|
%package tr |
638 |
|
Summary: %{package_summary} - Turkish |
639 |
|
Group: %{group} |
640 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
641 |
|
%description tr |
642 |
|
%{summary} |
643 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
644 |
|
|
645 |
|
%package zh_CN |
646 |
|
Summary: %{package_summary} - Chinese (China) |
647 |
|
Group: %{group} |
648 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
649 |
|
%description zh_CN |
650 |
|
%{summary} |
651 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |