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