1 |
# $Id: smeserver-locale.spec,v 1.57 2008/11/18 19:48:43 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.69 2009/05/20 18:29:30 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 12 |
%define release 22 |
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 ro ru sl sv tr zh_CN |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
24 |
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch |
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 |
|
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch |
36 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
37 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
38 |
BuildRequires: perl |
BuildRequires: perl |
44 |
SME Server localisation module |
SME Server localisation module |
45 |
|
|
46 |
%changelog |
%changelog |
47 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
48 |
|
- apply locale 2009-05-27 patch |
49 |
|
- Add Romanian language [SME: 5268] |
50 |
|
|
51 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
52 |
|
- apply locale 2009-05-20 patch |
53 |
|
|
54 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
55 |
|
- apply locale 2009-04-27 patch |
56 |
|
- Add Estonian language [SME: 5199] |
57 |
|
|
58 |
|
* Tue Mar 03 2009 SME Translation Server |
59 |
|
- re-apply locale 2009-03-03 patch |
60 |
|
|
61 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
62 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
63 |
|
|
64 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
65 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
66 |
|
- Added missing bug references to changelog entry [SME: 5002] |
67 |
|
|
68 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
69 |
|
- Add Chineese (China) language [SME: 5002] |
70 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
71 |
|
- Add Russian language [SME: 5002] |
72 |
|
|
73 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
74 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
75 |
|
|
76 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
77 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
78 |
|
|
79 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
80 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
81 |
|
|
82 |
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
83 |
- Apply 19 Nov 2008 locale patch [SME: 4748] |
- Apply 19 Nov 2008 locale patch [SME: 4748] |
84 |
|
|
466 |
%patch8 -p1 |
%patch8 -p1 |
467 |
%patch9 -p1 |
%patch9 -p1 |
468 |
%patch10 -p1 |
%patch10 -p1 |
469 |
|
%patch11 -p1 |
470 |
|
%patch12 -p1 |
471 |
|
%patch13 -p1 |
472 |
|
%patch14 -p1 |
473 |
|
%patch15 -p1 |
474 |
|
%patch16 -p1 |
475 |
|
%patch17 -p1 |
476 |
|
%patch18 -p1 |
477 |
|
%patch19 -p1 |
478 |
|
|
479 |
%build |
%build |
480 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
502 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
503 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
504 |
|
|
505 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
506 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
507 |
done |
done |
508 |
|
|
509 |
%clean |
%clean |
554 |
%{summary} |
%{summary} |
555 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
556 |
|
|
557 |
|
%package et |
558 |
|
Summary: %{package_summary} - Estonian |
559 |
|
Group: %{group} |
560 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
561 |
|
%description et |
562 |
|
%{summary} |
563 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
564 |
|
|
565 |
%package fr |
%package fr |
566 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
567 |
Group: %{group} |
Group: %{group} |
574 |
%package hu |
%package hu |
575 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
576 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
577 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
578 |
%description hu |
%description hu |
579 |
%{summary} |
%{summary} |
605 |
%{summary} |
%{summary} |
606 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
607 |
|
|
608 |
|
%package nb |
609 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
610 |
|
Group: %{group} |
611 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
612 |
|
%description nb |
613 |
|
%{summary} |
614 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
615 |
|
|
616 |
%package nl |
%package nl |
617 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
618 |
Group: %{group} |
Group: %{group} |
640 |
%{summary} |
%{summary} |
641 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
642 |
|
|
643 |
|
%package ro |
644 |
|
Summary: %{package_summary} - Romanian |
645 |
|
Group: %{group} |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description ro |
648 |
|
%{summary} |
649 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
650 |
|
|
651 |
|
%package ru |
652 |
|
Summary: %{package_summary} - Russian |
653 |
|
Group: %{group} |
654 |
|
Requires: aspell-ru |
655 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
656 |
|
%description ru |
657 |
|
%{summary} |
658 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
659 |
|
|
660 |
%package sl |
%package sl |
661 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
662 |
Group: %{group} |
Group: %{group} |
678 |
%package tr |
%package tr |
679 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
680 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
681 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
682 |
%description tr |
%description tr |
683 |
%{summary} |
%{summary} |
684 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
685 |
|
|
686 |
|
%package zh_CN |
687 |
|
Summary: %{package_summary} - Chinese (China) |
688 |
|
Group: %{group} |
689 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
690 |
|
%description zh_CN |
691 |
|
%{summary} |
692 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |