1 |
# $Id: smeserver-locale.spec,v 1.60 2008/12/31 18:25:42 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.95 2011/06/20 19:31:29 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 39 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
52 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
53 |
BuildRequires: perl |
BuildRequires: perl |
59 |
SME Server localisation module |
SME Server localisation module |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.2.0-39.el6 |
63 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2011-10-04 patch |
64 |
|
|
65 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.2.0-38.el6 |
66 |
|
- apply locale 2011-06-20 patch |
67 |
|
|
68 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.2.0-37.sme |
69 |
|
- apply locale 2011-04-27 patch |
70 |
|
|
71 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.2.0-36.sme |
72 |
|
- apply locale 2011-03-06 patch |
73 |
|
|
74 |
|
* Fri Oct 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-35.sme |
75 |
|
- apply locale 2010-10-08 patch |
76 |
|
|
77 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.2.0-34.sme |
78 |
|
- apply locale 2010-08-18 patch |
79 |
|
|
80 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.2.0-33.sme |
81 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
82 |
|
- apply locale 2010-07-13 patch |
83 |
|
|
84 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.2.0-32.sme |
85 |
|
- apply locale 2010-06-24 patch |
86 |
|
|
87 |
|
* Tue Jun 08 2010 SME Translation Server <translations@contribs.org> 2.2.0-31.sme |
88 |
|
- apply locale 2010-06-08 patch |
89 |
|
|
90 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
91 |
|
- Add Hebrew language [SME: 5971] |
92 |
|
|
93 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
94 |
|
- apply locale 2010-05-23 patch |
95 |
|
|
96 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
97 |
|
- apply locale 2010-04-29 patch |
98 |
|
|
99 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
100 |
|
- apply locale 2010-03-02 patch |
101 |
|
|
102 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
103 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
104 |
|
- Correct previous changelog entry |
105 |
|
- Apply locale 2010-02-27 patch |
106 |
|
|
107 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
108 |
|
- apply locale 2010-02-25 patch |
109 |
|
|
110 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
111 |
|
- apply locale 2009-10-27 patch |
112 |
|
- Add Thai language [SME: 5466] |
113 |
|
|
114 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
115 |
|
- apply locale 2009-08-24 patch |
116 |
|
- Add Polish language [SME: 5437] |
117 |
|
|
118 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
119 |
|
- apply locale 2009-05-27 patch |
120 |
|
- Add Romanian language [SME: 5268] |
121 |
|
|
122 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
123 |
|
- apply locale 2009-05-20 patch |
124 |
|
|
125 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
126 |
|
- apply locale 2009-04-27 patch |
127 |
|
- Add Estonian language [SME: 5199] |
128 |
|
|
129 |
|
* Tue Mar 03 2009 SME Translation Server |
130 |
|
- re-apply locale 2009-03-03 patch |
131 |
|
|
132 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
133 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
134 |
|
|
135 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
136 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
137 |
|
- Added missing bug references to changelog entry [SME: 5002] |
138 |
|
|
139 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
140 |
|
- Add Chineese (China) language [SME: 5002] |
141 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
142 |
|
- Add Russian language [SME: 5002] |
143 |
|
|
144 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
145 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
146 |
|
|
147 |
* 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 |
148 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
159 |
* 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 |
160 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
161 |
|
|
162 |
* 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 |
163 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
164 |
|
|
165 |
* 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 |
540 |
%patch11 -p1 |
%patch11 -p1 |
541 |
%patch12 -p1 |
%patch12 -p1 |
542 |
%patch13 -p1 |
%patch13 -p1 |
543 |
|
%patch14 -p1 |
544 |
|
%patch15 -p1 |
545 |
|
%patch16 -p1 |
546 |
|
%patch17 -p1 |
547 |
|
%patch18 -p1 |
548 |
|
%patch19 -p1 |
549 |
|
%patch20 -p1 |
550 |
|
%patch21 -p1 |
551 |
|
%patch22 -p1 |
552 |
|
%patch23 -p1 |
553 |
|
%patch24 -p1 |
554 |
|
%patch25 -p1 |
555 |
|
%patch26 -p1 |
556 |
|
%patch27 -p1 |
557 |
|
%patch28 -p1 |
558 |
|
%patch29 -p1 |
559 |
|
%patch30 -p1 |
560 |
|
%patch31 -p1 |
561 |
|
%patch32 -p1 |
562 |
|
%patch33 -p1 |
563 |
|
%patch34 -p1 |
564 |
|
|
565 |
%build |
%build |
566 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
588 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
589 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
590 |
|
|
591 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
592 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
593 |
done |
done |
594 |
|
|
595 |
%clean |
%clean |
640 |
%{summary} |
%{summary} |
641 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
642 |
|
|
643 |
|
%package et |
644 |
|
Summary: %{package_summary} - Estonian |
645 |
|
Group: %{group} |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description et |
648 |
|
%{summary} |
649 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
650 |
|
|
651 |
%package fr |
%package fr |
652 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
653 |
Group: %{group} |
Group: %{group} |
657 |
%{summary} |
%{summary} |
658 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
659 |
|
|
660 |
|
%package he |
661 |
|
Summary: %{package_summary} - Hebrew |
662 |
|
Group: %{group} |
663 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
664 |
|
%description he |
665 |
|
%{summary} |
666 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
667 |
|
|
668 |
%package hu |
%package hu |
669 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
670 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
671 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
672 |
%description hu |
%description hu |
673 |
%{summary} |
%{summary} |
699 |
%{summary} |
%{summary} |
700 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
701 |
|
|
702 |
|
%package nb |
703 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
704 |
|
Group: %{group} |
705 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
706 |
|
%description nb |
707 |
|
%{summary} |
708 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
709 |
|
|
710 |
%package nl |
%package nl |
711 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
712 |
Group: %{group} |
Group: %{group} |
716 |
%{summary} |
%{summary} |
717 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
718 |
|
|
719 |
|
%package pl |
720 |
|
Summary: %{package_summary} - Polish |
721 |
|
Group: %{group} |
722 |
|
Requires: aspell-pl |
723 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
724 |
|
%description pl |
725 |
|
%{summary} |
726 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
727 |
|
|
728 |
%package pt |
%package pt |
729 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
730 |
Group: %{group} |
Group: %{group} |
743 |
%{summary} |
%{summary} |
744 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
745 |
|
|
746 |
|
%package ro |
747 |
|
Summary: %{package_summary} - Romanian |
748 |
|
Group: %{group} |
749 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
750 |
|
%description ro |
751 |
|
%{summary} |
752 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
753 |
|
|
754 |
|
%package ru |
755 |
|
Summary: %{package_summary} - Russian |
756 |
|
Group: %{group} |
757 |
|
Requires: aspell-ru |
758 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
759 |
|
%description ru |
760 |
|
%{summary} |
761 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
762 |
|
|
763 |
%package sl |
%package sl |
764 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
765 |
Group: %{group} |
Group: %{group} |
778 |
%{summary} |
%{summary} |
779 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
780 |
|
|
781 |
|
%package th |
782 |
|
Summary: %{package_summary} - Thai |
783 |
|
Group: %{group} |
784 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
785 |
|
%description th |
786 |
|
%{summary} |
787 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
788 |
|
|
789 |
%package tr |
%package tr |
790 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
791 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
792 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
793 |
%description tr |
%description tr |
794 |
%{summary} |
%{summary} |
795 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
796 |
|
|
797 |
|
%package zh_CN |
798 |
|
Summary: %{package_summary} - Chinese (China) |
799 |
|
Group: %{group} |
800 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
801 |
|
%description zh_CN |
802 |
|
%{summary} |
803 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
804 |
|
|
805 |
|
%package zh_TW |
806 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
807 |
|
Group: %{group} |
808 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
809 |
|
%description zh_TW |
810 |
|
%{summary} |
811 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |