1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 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 15 |
%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 |
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 |
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 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
48 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
49 |
|
|
443 |
%patch11 -p1 |
%patch11 -p1 |
444 |
%patch12 -p1 |
%patch12 -p1 |
445 |
%patch13 -p1 |
%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 |