1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.97 2011/11/23 19:12:17 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 41 |
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 |
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 |
|
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 |
|
Patch34: smeserver-locale-2.2.0-locale-2011-10-04.patch |
51 |
|
Patch35: smeserver-locale-2.2.0-locale-2011-11-23.patch |
52 |
|
Patch36: smeserver-locale-2.2.0-locale-2012-03-20.patch |
53 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
54 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
55 |
BuildRequires: perl |
BuildRequires: perl |
61 |
SME Server localisation module |
SME Server localisation module |
62 |
|
|
63 |
%changelog |
%changelog |
64 |
|
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.2.0-41.el6 |
65 |
|
- apply locale 2012-03-20 patch |
66 |
|
|
67 |
|
* Wed Nov 23 2011 SME Translation Server <translations@contribs.org> 2.2.0-40.el6 |
68 |
|
- apply locale 2011-11-23 patch |
69 |
|
|
70 |
|
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.el6 |
71 |
|
- apply locale 2011-10-04 patch |
72 |
|
|
73 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.el6 |
74 |
|
- apply locale 2011-06-20 patch |
75 |
|
|
76 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
77 |
|
- apply locale 2011-04-27 patch |
78 |
|
|
79 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
80 |
|
- apply locale 2011-03-06 patch |
81 |
|
|
82 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
83 |
|
- apply locale 2010-10-08 patch |
84 |
|
|
85 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
86 |
|
- apply locale 2010-08-18 patch |
87 |
|
|
88 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
89 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
90 |
|
- apply locale 2010-07-13 patch |
91 |
|
|
92 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
93 |
|
- apply locale 2010-06-24 patch |
94 |
|
|
95 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
96 |
|
- apply locale 2010-06-08 patch |
97 |
|
|
98 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
99 |
|
- Add Hebrew language [SME: 5971] |
100 |
|
|
101 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
102 |
|
- apply locale 2010-05-23 patch |
103 |
|
|
104 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
105 |
|
- apply locale 2010-04-29 patch |
106 |
|
|
107 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
108 |
|
- apply locale 2010-03-02 patch |
109 |
|
|
110 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
111 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
112 |
|
- Correct previous changelog entry |
113 |
|
- Apply locale 2010-02-27 patch |
114 |
|
|
115 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
116 |
|
- apply locale 2010-02-25 patch |
117 |
|
|
118 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
119 |
|
- apply locale 2009-10-27 patch |
120 |
|
- Add Thai language [SME: 5466] |
121 |
|
|
122 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
123 |
|
- apply locale 2009-08-24 patch |
124 |
|
- Add Polish language [SME: 5437] |
125 |
|
|
126 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
127 |
|
- apply locale 2009-05-27 patch |
128 |
|
- Add Romanian language [SME: 5268] |
129 |
|
|
130 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
131 |
|
- apply locale 2009-05-20 patch |
132 |
|
|
133 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
134 |
|
- apply locale 2009-04-27 patch |
135 |
|
- Add Estonian language [SME: 5199] |
136 |
|
|
137 |
|
* Tue Mar 03 2009 SME Translation Server |
138 |
|
- re-apply locale 2009-03-03 patch |
139 |
|
|
140 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
141 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
142 |
|
|
143 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
144 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
145 |
|
- Added missing bug references to changelog entry [SME: 5002] |
146 |
|
|
147 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
148 |
|
- Add Chineese (China) language [SME: 5002] |
149 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
150 |
|
- Add Russian language [SME: 5002] |
151 |
|
|
152 |
* 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 |
153 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
154 |
|
|
167 |
* 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 |
168 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
169 |
|
|
170 |
* 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 |
171 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
172 |
|
|
173 |
* 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 |
548 |
%patch11 -p1 |
%patch11 -p1 |
549 |
%patch12 -p1 |
%patch12 -p1 |
550 |
%patch13 -p1 |
%patch13 -p1 |
551 |
|
%patch14 -p1 |
552 |
|
%patch15 -p1 |
553 |
|
%patch16 -p1 |
554 |
|
%patch17 -p1 |
555 |
|
%patch18 -p1 |
556 |
|
%patch19 -p1 |
557 |
|
%patch20 -p1 |
558 |
|
%patch21 -p1 |
559 |
|
%patch22 -p1 |
560 |
|
%patch23 -p1 |
561 |
|
%patch24 -p1 |
562 |
|
%patch25 -p1 |
563 |
|
%patch26 -p1 |
564 |
|
%patch27 -p1 |
565 |
|
%patch28 -p1 |
566 |
|
%patch29 -p1 |
567 |
|
%patch30 -p1 |
568 |
|
%patch31 -p1 |
569 |
|
%patch32 -p1 |
570 |
|
%patch33 -p1 |
571 |
|
%patch34 -p1 |
572 |
|
%patch35 -p1 |
573 |
|
%patch36 -p1 |
574 |
|
|
575 |
%build |
%build |
576 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
598 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
599 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
600 |
|
|
601 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
602 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
603 |
done |
done |
604 |
|
|
605 |
%clean |
%clean |
650 |
%{summary} |
%{summary} |
651 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
652 |
|
|
653 |
|
%package et |
654 |
|
Summary: %{package_summary} - Estonian |
655 |
|
Group: %{group} |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
|
%description et |
658 |
|
%{summary} |
659 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
660 |
|
|
661 |
%package fr |
%package fr |
662 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
663 |
Group: %{group} |
Group: %{group} |
667 |
%{summary} |
%{summary} |
668 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
669 |
|
|
670 |
|
%package he |
671 |
|
Summary: %{package_summary} - Hebrew |
672 |
|
Group: %{group} |
673 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
674 |
|
%description he |
675 |
|
%{summary} |
676 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
677 |
|
|
678 |
%package hu |
%package hu |
679 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
680 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
681 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
682 |
%description hu |
%description hu |
683 |
%{summary} |
%{summary} |
709 |
%{summary} |
%{summary} |
710 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
711 |
|
|
712 |
|
%package nb |
713 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
714 |
|
Group: %{group} |
715 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
716 |
|
%description nb |
717 |
|
%{summary} |
718 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
719 |
|
|
720 |
%package nl |
%package nl |
721 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
722 |
Group: %{group} |
Group: %{group} |
726 |
%{summary} |
%{summary} |
727 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
728 |
|
|
729 |
|
%package pl |
730 |
|
Summary: %{package_summary} - Polish |
731 |
|
Group: %{group} |
732 |
|
Requires: aspell-pl |
733 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
734 |
|
%description pl |
735 |
|
%{summary} |
736 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
737 |
|
|
738 |
%package pt |
%package pt |
739 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
740 |
Group: %{group} |
Group: %{group} |
753 |
%{summary} |
%{summary} |
754 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
755 |
|
|
756 |
|
%package ro |
757 |
|
Summary: %{package_summary} - Romanian |
758 |
|
Group: %{group} |
759 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
760 |
|
%description ro |
761 |
|
%{summary} |
762 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
763 |
|
|
764 |
|
%package ru |
765 |
|
Summary: %{package_summary} - Russian |
766 |
|
Group: %{group} |
767 |
|
Requires: aspell-ru |
768 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
769 |
|
%description ru |
770 |
|
%{summary} |
771 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
772 |
|
|
773 |
%package sl |
%package sl |
774 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
775 |
Group: %{group} |
Group: %{group} |
788 |
%{summary} |
%{summary} |
789 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
790 |
|
|
791 |
|
%package th |
792 |
|
Summary: %{package_summary} - Thai |
793 |
|
Group: %{group} |
794 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
795 |
|
%description th |
796 |
|
%{summary} |
797 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
798 |
|
|
799 |
%package tr |
%package tr |
800 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
801 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
802 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
803 |
%description tr |
%description tr |
804 |
%{summary} |
%{summary} |
805 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
806 |
|
|
807 |
|
%package zh_CN |
808 |
|
Summary: %{package_summary} - Chinese (China) |
809 |
|
Group: %{group} |
810 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
811 |
|
%description zh_CN |
812 |
|
%{summary} |
813 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
814 |
|
|
815 |
|
%package zh_TW |
816 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
817 |
|
Group: %{group} |
818 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
819 |
|
%description zh_TW |
820 |
|
%{summary} |
821 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |