1 |
# $Id: smeserver-locale.spec,v 1.52 2008/10/17 09:41:13 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.65 2009/03/01 19:34:16 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 7 |
%define release 18 |
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 |
19 |
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
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 |
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 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
45 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
46 |
|
|
47 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
48 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
49 |
|
- Added missing bug references to changelog entry [SME: 5002] |
50 |
|
|
51 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
52 |
|
- Add Chineese (China) language [SME: 5002] |
53 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
54 |
|
- Add Russian language [SME: 5002] |
55 |
|
|
56 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
57 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
58 |
|
|
59 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
60 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
61 |
|
|
62 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
63 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
64 |
|
|
65 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
66 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
67 |
|
|
68 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
69 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
70 |
|
|
71 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
72 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
73 |
|
|
74 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
75 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
76 |
|
|
77 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
78 |
|
- Apply 2 Nov 2008 locale patch |
79 |
|
|
80 |
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
81 |
- Apply 19 Oct 2008 locale patch [SME: 4692] |
- Apply 19 Oct 2008 locale patch [SME: 4692] |
82 |
|
|
444 |
%patch3 -p1 |
%patch3 -p1 |
445 |
%patch4 -p1 |
%patch4 -p1 |
446 |
%patch5 -p1 |
%patch5 -p1 |
447 |
|
%patch6 -p1 |
448 |
|
%patch7 -p1 |
449 |
|
%patch8 -p1 |
450 |
|
%patch9 -p1 |
451 |
|
%patch10 -p1 |
452 |
|
%patch11 -p1 |
453 |
|
%patch12 -p1 |
454 |
|
%patch13 -p1 |
455 |
|
%patch14 -p1 |
456 |
|
%patch15 -p1 |
457 |
|
%patch16 -p1 |
458 |
|
|
459 |
%build |
%build |
460 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
482 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
483 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
484 |
|
|
485 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
486 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
487 |
done |
done |
488 |
|
|
489 |
%clean |
%clean |
546 |
%package hu |
%package hu |
547 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
548 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
549 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
550 |
%description hu |
%description hu |
551 |
%{summary} |
%{summary} |
577 |
%{summary} |
%{summary} |
578 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
579 |
|
|
580 |
|
%package nb |
581 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
582 |
|
Group: %{group} |
583 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
584 |
|
%description nb |
585 |
|
%{summary} |
586 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
587 |
|
|
588 |
%package nl |
%package nl |
589 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
590 |
Group: %{group} |
Group: %{group} |
612 |
%{summary} |
%{summary} |
613 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
614 |
|
|
615 |
|
%package ru |
616 |
|
Summary: %{package_summary} - Russian |
617 |
|
Group: %{group} |
618 |
|
Requires: aspell-ru |
619 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
620 |
|
%description ru |
621 |
|
%{summary} |
622 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
623 |
|
|
624 |
%package sl |
%package sl |
625 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
626 |
Group: %{group} |
Group: %{group} |
642 |
%package tr |
%package tr |
643 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
644 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
645 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
646 |
%description tr |
%description tr |
647 |
%{summary} |
%{summary} |
648 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
649 |
|
|
650 |
|
%package zh_CN |
651 |
|
Summary: %{package_summary} - Chinese (China) |
652 |
|
Group: %{group} |
653 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
654 |
|
%description zh_CN |
655 |
|
%{summary} |
656 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |