1 |
# $Id: smeserver-locale.spec,v 1.61 2008/12/31 18:26:34 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.91 2011/10/04 19:39:05 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.0.0 |
%define version 2.0.0 |
7 |
%define release 15 |
%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 |
27 |
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
|
Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch |
31 |
|
Patch15: smeserver-locale-2.0.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-locale-2.0.0-locale-2009-03-03.patch |
33 |
|
Patch17: smeserver-locale-2.0.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.0.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.0.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.0.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.0.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.0.0-locale-2010-04-28.patch |
41 |
|
Patch25: smeserver-locale-2.0.0-locale-2010-05-23.patch |
42 |
|
Patch26: smeserver-locale-2.0.0-locale-2010-05-25.patch |
43 |
|
Patch27: smeserver-locale-2.0.0-locale-2010-06-24.patch |
44 |
|
Patch28: smeserver-locale-2.0.0-locale-2010-07-13.patch |
45 |
|
Patch29: smeserver-locale-2.0.0-locale-2010-08-18.patch |
46 |
|
Patch30: smeserver-locale-2.0.0-locale-2011-03-06.patch |
47 |
|
Patch31: smeserver-locale-2.0.0-locale-2011-04-27.patch |
48 |
|
Patch32: smeserver-locale-2.0.0-locale-2011-06-20.patch |
49 |
|
Patch33: smeserver-locale-2.0.0-locale-2011-10-04.patch |
50 |
|
Patch34: smeserver-locale-2.0.0-locale-2012-03-20.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.0.0-15.sme |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 2.0.0-37.el6 |
63 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2012-03-20 patch |
64 |
|
|
65 |
|
* Tue Oct 04 2011 SME Translation Server <translations@contribs.org> 2.0.0-36.el6 |
66 |
|
- apply locale 2011-10-04 patch |
67 |
|
|
68 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.0.0-35.el6 |
69 |
|
- apply locale 2011-06-20 patch |
70 |
|
|
71 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0.0-34.sme |
72 |
|
- apply locale 2011-04-27 patch |
73 |
|
|
74 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme |
75 |
|
- apply locale 2011-03-06 patch |
76 |
|
|
77 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme |
78 |
|
- apply locale 2010-08-18 patch |
79 |
|
|
80 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.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.0.0-30.sme |
85 |
|
- apply locale 2010-06-24 patch |
86 |
|
|
87 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
88 |
|
- Add Hebrew language [SME: 5970] |
89 |
|
- apply locale 2010-05-25 patch |
90 |
|
|
91 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
92 |
|
- apply locale 2010-05-23 patch |
93 |
|
|
94 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
95 |
|
- apply locale 2010-04-28 patch |
96 |
|
|
97 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
98 |
|
- apply locale 2010-03-02 patch |
99 |
|
|
100 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
101 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
102 |
|
|
103 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
104 |
|
- apply locale 2009-10-27 patch |
105 |
|
- Add Thai language [SME: 5466] |
106 |
|
|
107 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
108 |
|
- apply locale 2009-08-24 patch |
109 |
|
- Add Polish language [SME: 5436] |
110 |
|
|
111 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
112 |
|
- apply locale 2009-05-27 patch |
113 |
|
- Add Romanian language [SME: 5268] |
114 |
|
|
115 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
116 |
|
- apply locale 2009-05-20 patch |
117 |
|
|
118 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
119 |
|
- apply locale 2009-04-27 patch |
120 |
|
- Add Estonian language [SME: 5199] |
121 |
|
|
122 |
|
* Tue Mar 03 2009 SME Translation Server |
123 |
|
- re-apply locale 2009-03-03 patch |
124 |
|
|
125 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
126 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
127 |
|
|
128 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
129 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
130 |
|
- Added missing bug references to changelog entry [SME: 5002] |
131 |
|
|
132 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
133 |
|
- Add Chineese (China) language [SME: 5002] |
134 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
135 |
|
- Add Russian language [SME: 5002] |
136 |
|
|
137 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
138 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
139 |
|
|
140 |
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
141 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
533 |
%patch11 -p1 |
%patch11 -p1 |
534 |
%patch12 -p1 |
%patch12 -p1 |
535 |
%patch13 -p1 |
%patch13 -p1 |
536 |
|
%patch14 -p1 |
537 |
|
%patch15 -p1 |
538 |
|
%patch16 -p1 |
539 |
|
%patch17 -p1 |
540 |
|
%patch18 -p1 |
541 |
|
%patch19 -p1 |
542 |
|
%patch20 -p1 |
543 |
|
%patch21 -p1 |
544 |
|
%patch22 -p1 |
545 |
|
%patch23 -p1 |
546 |
|
%patch24 -p1 |
547 |
|
%patch25 -p1 |
548 |
|
%patch26 -p1 |
549 |
|
%patch27 -p1 |
550 |
|
%patch28 -p1 |
551 |
|
%patch29 -p1 |
552 |
|
%patch30 -p1 |
553 |
|
%patch31 -p1 |
554 |
|
%patch32 -p1 |
555 |
|
%patch33 -p1 |
556 |
|
%patch34 -p1 |
557 |
|
|
558 |
%build |
%build |
559 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
581 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
582 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
583 |
|
|
584 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
585 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
586 |
done |
done |
587 |
|
|
588 |
%clean |
%clean |
633 |
%{summary} |
%{summary} |
634 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
635 |
|
|
636 |
|
%package et |
637 |
|
Summary: %{package_summary} - Estonian |
638 |
|
Group: %{group} |
639 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
640 |
|
%description et |
641 |
|
%{summary} |
642 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
643 |
|
|
644 |
%package fr |
%package fr |
645 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
646 |
Group: %{group} |
Group: %{group} |
650 |
%{summary} |
%{summary} |
651 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
652 |
|
|
653 |
|
%package he |
654 |
|
Summary: %{package_summary} - Hebrew |
655 |
|
Group: %{group} |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
|
%description he |
658 |
|
%{summary} |
659 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
660 |
|
|
661 |
%package hu |
%package hu |
662 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
663 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
664 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
665 |
%description hu |
%description hu |
666 |
%{summary} |
%{summary} |
692 |
%{summary} |
%{summary} |
693 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
694 |
|
|
695 |
|
%package nb |
696 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
697 |
|
Group: %{group} |
698 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
699 |
|
%description nb |
700 |
|
%{summary} |
701 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
702 |
|
|
703 |
%package nl |
%package nl |
704 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
705 |
Group: %{group} |
Group: %{group} |
709 |
%{summary} |
%{summary} |
710 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
711 |
|
|
712 |
|
%package pl |
713 |
|
Summary: %{package_summary} - Polish |
714 |
|
Group: %{group} |
715 |
|
Requires: aspell-pl |
716 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
717 |
|
%description pl |
718 |
|
%{summary} |
719 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
720 |
|
|
721 |
%package pt |
%package pt |
722 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
723 |
Group: %{group} |
Group: %{group} |
736 |
%{summary} |
%{summary} |
737 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
738 |
|
|
739 |
|
%package ro |
740 |
|
Summary: %{package_summary} - Romanian |
741 |
|
Group: %{group} |
742 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
743 |
|
%description ro |
744 |
|
%{summary} |
745 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
746 |
|
|
747 |
|
%package ru |
748 |
|
Summary: %{package_summary} - Russian |
749 |
|
Group: %{group} |
750 |
|
Requires: aspell-ru |
751 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
752 |
|
%description ru |
753 |
|
%{summary} |
754 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
755 |
|
|
756 |
%package sl |
%package sl |
757 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
758 |
Group: %{group} |
Group: %{group} |
771 |
%{summary} |
%{summary} |
772 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
773 |
|
|
774 |
|
%package th |
775 |
|
Summary: %{package_summary} - Thai |
776 |
|
Group: %{group} |
777 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
778 |
|
%description th |
779 |
|
%{summary} |
780 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
781 |
|
|
782 |
%package tr |
%package tr |
783 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
784 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
785 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
786 |
%description tr |
%description tr |
787 |
%{summary} |
%{summary} |
788 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
789 |
|
|
790 |
|
%package zh_CN |
791 |
|
Summary: %{package_summary} - Chinese (China) |
792 |
|
Group: %{group} |
793 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
794 |
|
%description zh_CN |
795 |
|
%{summary} |
796 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
797 |
|
|
798 |
|
%package zh_TW |
799 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
800 |
|
Group: %{group} |
801 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
802 |
|
%description zh_TW |
803 |
|
%{summary} |
804 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |