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