1 |
# $Id: smeserver-locale.spec,v 1.59 2008/11/30 22:18:09 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.94 2011/04/27 16:47:54 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 14 |
%define release 38 |
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 zh_TW |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
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 |
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 |
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 |
|
Patch28: smeserver-locale-2.2.0-locale-2010-07-13.patch |
45 |
|
Patch29: smeserver-locale-2.2.0-locale-2010-08-18.patch |
46 |
|
Patch30: smeserver-locale-2.2.0-locale-2010-10-08.patch |
47 |
|
Patch31: smeserver-locale-2.2.0-locale-2011-03-06.patch |
48 |
|
Patch32: smeserver-locale-2.2.0-locale-2011-04-27.patch |
49 |
|
Patch33: smeserver-locale-2.2.0-locale-2011-06-20.patch |
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
52 |
BuildRequires: perl |
BuildRequires: perl |
58 |
SME Server localisation module |
SME Server localisation module |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.el6 |
62 |
|
- apply locale 2011-06-20 patch |
63 |
|
|
64 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
65 |
|
- apply locale 2011-04-27 patch |
66 |
|
|
67 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
68 |
|
- apply locale 2011-03-06 patch |
69 |
|
|
70 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
71 |
|
- apply locale 2010-10-08 patch |
72 |
|
|
73 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
74 |
|
- apply locale 2010-08-18 patch |
75 |
|
|
76 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
77 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
78 |
|
- apply locale 2010-07-13 patch |
79 |
|
|
80 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
81 |
|
- apply locale 2010-06-24 patch |
82 |
|
|
83 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
84 |
|
- apply locale 2010-06-08 patch |
85 |
|
|
86 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
87 |
|
- Add Hebrew language [SME: 5971] |
88 |
|
|
89 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
90 |
|
- apply locale 2010-05-23 patch |
91 |
|
|
92 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
93 |
|
- apply locale 2010-04-29 patch |
94 |
|
|
95 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
96 |
|
- apply locale 2010-03-02 patch |
97 |
|
|
98 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
99 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
100 |
|
- Correct previous changelog entry |
101 |
|
- Apply locale 2010-02-27 patch |
102 |
|
|
103 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
104 |
|
- apply locale 2010-02-25 patch |
105 |
|
|
106 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
107 |
|
- apply locale 2009-10-27 patch |
108 |
|
- Add Thai language [SME: 5466] |
109 |
|
|
110 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
111 |
|
- apply locale 2009-08-24 patch |
112 |
|
- Add Polish language [SME: 5437] |
113 |
|
|
114 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
115 |
|
- apply locale 2009-05-27 patch |
116 |
|
- Add Romanian language [SME: 5268] |
117 |
|
|
118 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
119 |
|
- apply locale 2009-05-20 patch |
120 |
|
|
121 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
122 |
|
- apply locale 2009-04-27 patch |
123 |
|
- Add Estonian language [SME: 5199] |
124 |
|
|
125 |
|
* Tue Mar 03 2009 SME Translation Server |
126 |
|
- re-apply locale 2009-03-03 patch |
127 |
|
|
128 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
129 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
130 |
|
|
131 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
132 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
133 |
|
- Added missing bug references to changelog entry [SME: 5002] |
134 |
|
|
135 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
136 |
|
- Add Chineese (China) language [SME: 5002] |
137 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
138 |
|
- Add Russian language [SME: 5002] |
139 |
|
|
140 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
141 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
142 |
|
|
143 |
* 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 |
144 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
145 |
|
|
155 |
* 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 |
156 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
157 |
|
|
158 |
* 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 |
159 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
160 |
|
|
161 |
* 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 |
535 |
%patch10 -p1 |
%patch10 -p1 |
536 |
%patch11 -p1 |
%patch11 -p1 |
537 |
%patch12 -p1 |
%patch12 -p1 |
538 |
|
%patch13 -p1 |
539 |
|
%patch14 -p1 |
540 |
|
%patch15 -p1 |
541 |
|
%patch16 -p1 |
542 |
|
%patch17 -p1 |
543 |
|
%patch18 -p1 |
544 |
|
%patch19 -p1 |
545 |
|
%patch20 -p1 |
546 |
|
%patch21 -p1 |
547 |
|
%patch22 -p1 |
548 |
|
%patch23 -p1 |
549 |
|
%patch24 -p1 |
550 |
|
%patch25 -p1 |
551 |
|
%patch26 -p1 |
552 |
|
%patch27 -p1 |
553 |
|
%patch28 -p1 |
554 |
|
%patch29 -p1 |
555 |
|
%patch30 -p1 |
556 |
|
%patch31 -p1 |
557 |
|
%patch32 -p1 |
558 |
|
%patch33 -p1 |
559 |
|
|
560 |
%build |
%build |
561 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
583 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
584 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
585 |
|
|
586 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
587 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
588 |
done |
done |
589 |
|
|
590 |
%clean |
%clean |
635 |
%{summary} |
%{summary} |
636 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
637 |
|
|
638 |
|
%package et |
639 |
|
Summary: %{package_summary} - Estonian |
640 |
|
Group: %{group} |
641 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
642 |
|
%description et |
643 |
|
%{summary} |
644 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
645 |
|
|
646 |
%package fr |
%package fr |
647 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
648 |
Group: %{group} |
Group: %{group} |
652 |
%{summary} |
%{summary} |
653 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
654 |
|
|
655 |
|
%package he |
656 |
|
Summary: %{package_summary} - Hebrew |
657 |
|
Group: %{group} |
658 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
659 |
|
%description he |
660 |
|
%{summary} |
661 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
662 |
|
|
663 |
%package hu |
%package hu |
664 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
665 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
666 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
667 |
%description hu |
%description hu |
668 |
%{summary} |
%{summary} |
694 |
%{summary} |
%{summary} |
695 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
696 |
|
|
697 |
|
%package nb |
698 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
699 |
|
Group: %{group} |
700 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
701 |
|
%description nb |
702 |
|
%{summary} |
703 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
704 |
|
|
705 |
%package nl |
%package nl |
706 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
707 |
Group: %{group} |
Group: %{group} |
711 |
%{summary} |
%{summary} |
712 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
713 |
|
|
714 |
|
%package pl |
715 |
|
Summary: %{package_summary} - Polish |
716 |
|
Group: %{group} |
717 |
|
Requires: aspell-pl |
718 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
719 |
|
%description pl |
720 |
|
%{summary} |
721 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
722 |
|
|
723 |
%package pt |
%package pt |
724 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
725 |
Group: %{group} |
Group: %{group} |
738 |
%{summary} |
%{summary} |
739 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
740 |
|
|
741 |
|
%package ro |
742 |
|
Summary: %{package_summary} - Romanian |
743 |
|
Group: %{group} |
744 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
745 |
|
%description ro |
746 |
|
%{summary} |
747 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
748 |
|
|
749 |
|
%package ru |
750 |
|
Summary: %{package_summary} - Russian |
751 |
|
Group: %{group} |
752 |
|
Requires: aspell-ru |
753 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
754 |
|
%description ru |
755 |
|
%{summary} |
756 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
757 |
|
|
758 |
%package sl |
%package sl |
759 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
760 |
Group: %{group} |
Group: %{group} |
773 |
%{summary} |
%{summary} |
774 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
775 |
|
|
776 |
|
%package th |
777 |
|
Summary: %{package_summary} - Thai |
778 |
|
Group: %{group} |
779 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
780 |
|
%description th |
781 |
|
%{summary} |
782 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
783 |
|
|
784 |
%package tr |
%package tr |
785 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
786 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
787 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
788 |
%description tr |
%description tr |
789 |
%{summary} |
%{summary} |
790 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
791 |
|
|
792 |
|
%package zh_CN |
793 |
|
Summary: %{package_summary} - Chinese (China) |
794 |
|
Group: %{group} |
795 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
796 |
|
%description zh_CN |
797 |
|
%{summary} |
798 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
799 |
|
|
800 |
|
%package zh_TW |
801 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
802 |
|
Group: %{group} |
803 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
804 |
|
%description zh_TW |
805 |
|
%{summary} |
806 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |