1 |
# $Id: smeserver-locale.spec,v 1.60 2008/12/31 18:25:42 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.67 2009/03/03 21:27:19 slords 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 20 |
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 et 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 |
|
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
35 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
36 |
BuildRequires: perl |
BuildRequires: perl |
42 |
SME Server localisation module |
SME Server localisation module |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
46 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2009-04-27 patch |
47 |
|
- Add Estonian language [SME: 5199] |
48 |
|
|
49 |
|
* Tue Mar 03 2009 SME Translation Server |
50 |
|
- re-apply locale 2009-03-03 patch |
51 |
|
|
52 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
53 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
54 |
|
|
55 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
56 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
57 |
|
- Added missing bug references to changelog entry [SME: 5002] |
58 |
|
|
59 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
60 |
|
- Add Chineese (China) language [SME: 5002] |
61 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
62 |
|
- Add Russian language [SME: 5002] |
63 |
|
|
64 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
65 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
66 |
|
|
67 |
* 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 |
68 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
460 |
%patch11 -p1 |
%patch11 -p1 |
461 |
%patch12 -p1 |
%patch12 -p1 |
462 |
%patch13 -p1 |
%patch13 -p1 |
463 |
|
%patch14 -p1 |
464 |
|
%patch15 -p1 |
465 |
|
%patch16 -p1 |
466 |
|
%patch17 -p1 |
467 |
|
|
468 |
%build |
%build |
469 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
491 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
492 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
493 |
|
|
494 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
495 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
496 |
done |
done |
497 |
|
|
498 |
%clean |
%clean |
543 |
%{summary} |
%{summary} |
544 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
545 |
|
|
546 |
|
%package et |
547 |
|
Summary: %{package_summary} - Estonian |
548 |
|
Group: %{group} |
549 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
550 |
|
%description et |
551 |
|
%{summary} |
552 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
553 |
|
|
554 |
%package fr |
%package fr |
555 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
556 |
Group: %{group} |
Group: %{group} |
563 |
%package hu |
%package hu |
564 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
565 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
566 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
567 |
%description hu |
%description hu |
568 |
%{summary} |
%{summary} |
594 |
%{summary} |
%{summary} |
595 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
596 |
|
|
597 |
|
%package nb |
598 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
599 |
|
Group: %{group} |
600 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
601 |
|
%description nb |
602 |
|
%{summary} |
603 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
604 |
|
|
605 |
%package nl |
%package nl |
606 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
607 |
Group: %{group} |
Group: %{group} |
629 |
%{summary} |
%{summary} |
630 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
631 |
|
|
632 |
|
%package ru |
633 |
|
Summary: %{package_summary} - Russian |
634 |
|
Group: %{group} |
635 |
|
Requires: aspell-ru |
636 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
637 |
|
%description ru |
638 |
|
%{summary} |
639 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
640 |
|
|
641 |
%package sl |
%package sl |
642 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
643 |
Group: %{group} |
Group: %{group} |
659 |
%package tr |
%package tr |
660 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
661 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
662 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
663 |
%description tr |
%description tr |
664 |
%{summary} |
%{summary} |
665 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
666 |
|
|
667 |
|
%package zh_CN |
668 |
|
Summary: %{package_summary} - Chinese (China) |
669 |
|
Group: %{group} |
670 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
671 |
|
%description zh_CN |
672 |
|
%{summary} |
673 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |