1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.64 2009/03/01 19:32:51 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 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 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 |
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 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
53 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
54 |
|
|
448 |
%patch11 -p1 |
%patch11 -p1 |
449 |
%patch12 -p1 |
%patch12 -p1 |
450 |
%patch13 -p1 |
%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 |
541 |
%package hu |
%package hu |
542 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
543 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
544 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
545 |
%description hu |
%description hu |
546 |
%{summary} |
%{summary} |
572 |
%{summary} |
%{summary} |
573 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%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} |
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} |
637 |
%package tr |
%package tr |
638 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
639 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
640 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
641 |
%description tr |
%description tr |
642 |
%{summary} |
%{summary} |
643 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%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 |