1 |
# $Id: smeserver-locale.spec,v 1.60 2008/12/31 18:25:42 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 15 |
%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 |
27 |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch |
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 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
45 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- 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 |
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
60 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
452 |
%patch11 -p1 |
%patch11 -p1 |
453 |
%patch12 -p1 |
%patch12 -p1 |
454 |
%patch13 -p1 |
%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 |