1 |
# $Id: smeserver-locale.spec,v 1.60 2008/12/31 18:25:42 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.85 2010/06/08 20:22:08 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 32 |
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 he hu id it ja nb nl pl pt pt_BR ro ru sl sv th 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 |
|
Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch |
41 |
|
Patch25: smeserver-locale-2.2.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.2.0-locale-2010-06-08.patch |
43 |
|
Patch27: smeserver-locale-2.2.0-locale-2010-06-24.patch |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
46 |
BuildRequires: perl |
BuildRequires: perl |
52 |
SME Server localisation module |
SME Server localisation module |
53 |
|
|
54 |
%changelog |
%changelog |
55 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
56 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2010-06-24 patch |
57 |
|
|
58 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
59 |
|
- apply locale 2010-06-08 patch |
60 |
|
|
61 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
62 |
|
- Add Hebrew language [SME: 5971] |
63 |
|
|
64 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
65 |
|
- apply locale 2010-05-23 patch |
66 |
|
|
67 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
68 |
|
- apply locale 2010-04-29 patch |
69 |
|
|
70 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
71 |
|
- apply locale 2010-03-02 patch |
72 |
|
|
73 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
74 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
75 |
|
- Correct previous changelog entry |
76 |
|
- Apply locale 2010-02-27 patch |
77 |
|
|
78 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
79 |
|
- apply locale 2010-02-25 patch |
80 |
|
|
81 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
82 |
|
- apply locale 2009-10-27 patch |
83 |
|
- Add Thai language [SME: 5466] |
84 |
|
|
85 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
86 |
|
- apply locale 2009-08-24 patch |
87 |
|
- Add Polish language [SME: 5437] |
88 |
|
|
89 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
90 |
|
- apply locale 2009-05-27 patch |
91 |
|
- Add Romanian language [SME: 5268] |
92 |
|
|
93 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
94 |
|
- apply locale 2009-05-20 patch |
95 |
|
|
96 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
97 |
|
- apply locale 2009-04-27 patch |
98 |
|
- Add Estonian language [SME: 5199] |
99 |
|
|
100 |
|
* Tue Mar 03 2009 SME Translation Server |
101 |
|
- re-apply locale 2009-03-03 patch |
102 |
|
|
103 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
104 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
105 |
|
|
106 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
107 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
108 |
|
- Added missing bug references to changelog entry [SME: 5002] |
109 |
|
|
110 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
111 |
|
- Add Chineese (China) language [SME: 5002] |
112 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
113 |
|
- Add Russian language [SME: 5002] |
114 |
|
|
115 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
116 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
117 |
|
|
118 |
* 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 |
119 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
130 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
131 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
132 |
|
|
133 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
134 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
135 |
|
|
136 |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
511 |
%patch11 -p1 |
%patch11 -p1 |
512 |
%patch12 -p1 |
%patch12 -p1 |
513 |
%patch13 -p1 |
%patch13 -p1 |
514 |
|
%patch14 -p1 |
515 |
|
%patch15 -p1 |
516 |
|
%patch16 -p1 |
517 |
|
%patch17 -p1 |
518 |
|
%patch18 -p1 |
519 |
|
%patch19 -p1 |
520 |
|
%patch20 -p1 |
521 |
|
%patch21 -p1 |
522 |
|
%patch22 -p1 |
523 |
|
%patch23 -p1 |
524 |
|
%patch24 -p1 |
525 |
|
%patch25 -p1 |
526 |
|
%patch26 -p1 |
527 |
|
%patch27 -p1 |
528 |
|
|
529 |
%build |
%build |
530 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
552 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
553 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
554 |
|
|
555 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
556 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
557 |
done |
done |
558 |
|
|
559 |
%clean |
%clean |
604 |
%{summary} |
%{summary} |
605 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
606 |
|
|
607 |
|
%package et |
608 |
|
Summary: %{package_summary} - Estonian |
609 |
|
Group: %{group} |
610 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
611 |
|
%description et |
612 |
|
%{summary} |
613 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
614 |
|
|
615 |
%package fr |
%package fr |
616 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
617 |
Group: %{group} |
Group: %{group} |
621 |
%{summary} |
%{summary} |
622 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
623 |
|
|
624 |
|
%package he |
625 |
|
Summary: %{package_summary} - Hungarian |
626 |
|
Group: %{group} |
627 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
628 |
|
%description he |
629 |
|
%{summary} |
630 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
631 |
|
|
632 |
%package hu |
%package hu |
633 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
634 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
635 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
636 |
%description hu |
%description hu |
637 |
%{summary} |
%{summary} |
663 |
%{summary} |
%{summary} |
664 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
665 |
|
|
666 |
|
%package nb |
667 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
668 |
|
Group: %{group} |
669 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
670 |
|
%description nb |
671 |
|
%{summary} |
672 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
673 |
|
|
674 |
%package nl |
%package nl |
675 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
676 |
Group: %{group} |
Group: %{group} |
680 |
%{summary} |
%{summary} |
681 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
682 |
|
|
683 |
|
%package pl |
684 |
|
Summary: %{package_summary} - Polish |
685 |
|
Group: %{group} |
686 |
|
Requires: aspell-pl |
687 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
688 |
|
%description pl |
689 |
|
%{summary} |
690 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
691 |
|
|
692 |
%package pt |
%package pt |
693 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
694 |
Group: %{group} |
Group: %{group} |
707 |
%{summary} |
%{summary} |
708 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
709 |
|
|
710 |
|
%package ro |
711 |
|
Summary: %{package_summary} - Romanian |
712 |
|
Group: %{group} |
713 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
714 |
|
%description ro |
715 |
|
%{summary} |
716 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
717 |
|
|
718 |
|
%package ru |
719 |
|
Summary: %{package_summary} - Russian |
720 |
|
Group: %{group} |
721 |
|
Requires: aspell-ru |
722 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
723 |
|
%description ru |
724 |
|
%{summary} |
725 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
726 |
|
|
727 |
%package sl |
%package sl |
728 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
729 |
Group: %{group} |
Group: %{group} |
742 |
%{summary} |
%{summary} |
743 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
744 |
|
|
745 |
|
%package th |
746 |
|
Summary: %{package_summary} - Thai |
747 |
|
Group: %{group} |
748 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
749 |
|
%description th |
750 |
|
%{summary} |
751 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
752 |
|
|
753 |
%package tr |
%package tr |
754 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
755 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
756 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
757 |
%description tr |
%description tr |
758 |
%{summary} |
%{summary} |
759 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
760 |
|
|
761 |
|
%package zh_CN |
762 |
|
Summary: %{package_summary} - Chinese (China) |
763 |
|
Group: %{group} |
764 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
765 |
|
%description zh_CN |
766 |
|
%{summary} |
767 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |