1 |
# $Id: smeserver-locale.spec,v 1.47 2008/10/08 17:50:25 snetram Exp $ |
# $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 2.2.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 bg da de el es fr hu id it ja 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 |
Patch0: smeserver-locale-2.2.0-locale-2008-10-08.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 |
33 |
BuildRequires: perl |
BuildRequires: perl |
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 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
84 |
- Add Japanese language [SME: 4637] |
- Add Japanese language [SME: 4637] |
85 |
|
|
430 |
%prep |
%prep |
431 |
%setup |
%setup |
432 |
%patch0 -p1 |
%patch0 -p1 |
433 |
|
%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 |
535 |
%package hu |
%package hu |
536 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
537 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
538 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
539 |
%description hu |
%description hu |
540 |
%{summary} |
%{summary} |
566 |
%{summary} |
%{summary} |
567 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%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} |
601 |
%{summary} |
%{summary} |
602 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%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} |
631 |
%package tr |
%package tr |
632 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
633 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
634 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
635 |
%description tr |
%description tr |
636 |
%{summary} |
%{summary} |
637 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%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 |