1 |
# $Id: smeserver-locale.spec,v 1.53 2008/10/20 00:05:03 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 2.2.0 |
%define version 2.2.0 |
7 |
%define release 8 |
%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 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 |
20 |
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
21 |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
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 |
|
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 |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
81 |
- Apply 2 Nov 2008 locale patch |
- Apply 2 Nov 2008 locale patch |
82 |
|
|
448 |
%patch4 -p1 |
%patch4 -p1 |
449 |
%patch5 -p1 |
%patch5 -p1 |
450 |
%patch6 -p1 |
%patch6 -p1 |
451 |
|
%patch7 -p1 |
452 |
|
%patch8 -p1 |
453 |
|
%patch9 -p1 |
454 |
|
%patch10 -p1 |
455 |
|
%patch11 -p1 |
456 |
|
%patch12 -p1 |
457 |
|
%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} |
580 |
%{summary} |
%{summary} |
581 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%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 |