1 |
# $Id: smeserver-locale.spec,v 1.60 2008/11/30 22:14:05 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.89 2011/04/27 16:47:47 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 14 |
%define release 35 |
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 |
26 |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
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 |
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 |
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 |
|
* Mon Jun 20 2011 SME Translation Server <translations@contribs.org> 2.0.0-35.el6 |
61 |
|
- apply locale 2011-06-20 patch |
62 |
|
|
63 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0.0-34.sme |
64 |
|
- apply locale 2011-04-27 patch |
65 |
|
|
66 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme |
67 |
|
- apply locale 2011-03-06 patch |
68 |
|
|
69 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme |
70 |
|
- apply locale 2010-08-18 patch |
71 |
|
|
72 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.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.0.0-30.sme |
77 |
|
- apply locale 2010-06-24 patch |
78 |
|
|
79 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
80 |
|
- Add Hebrew language [SME: 5970] |
81 |
|
- apply locale 2010-05-25 patch |
82 |
|
|
83 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
84 |
|
- apply locale 2010-05-23 patch |
85 |
|
|
86 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
87 |
|
- apply locale 2010-04-28 patch |
88 |
|
|
89 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
90 |
|
- apply locale 2010-03-02 patch |
91 |
|
|
92 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
93 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
94 |
|
|
95 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
96 |
|
- apply locale 2009-10-27 patch |
97 |
|
- Add Thai language [SME: 5466] |
98 |
|
|
99 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
100 |
|
- apply locale 2009-08-24 patch |
101 |
|
- Add Polish language [SME: 5436] |
102 |
|
|
103 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
104 |
|
- apply locale 2009-05-27 patch |
105 |
|
- Add Romanian language [SME: 5268] |
106 |
|
|
107 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
108 |
|
- apply locale 2009-05-20 patch |
109 |
|
|
110 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
111 |
|
- apply locale 2009-04-27 patch |
112 |
|
- Add Estonian language [SME: 5199] |
113 |
|
|
114 |
|
* Tue Mar 03 2009 SME Translation Server |
115 |
|
- re-apply locale 2009-03-03 patch |
116 |
|
|
117 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
118 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
119 |
|
|
120 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
121 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
122 |
|
- Added missing bug references to changelog entry [SME: 5002] |
123 |
|
|
124 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
125 |
|
- Add Chineese (China) language [SME: 5002] |
126 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
127 |
|
- Add Russian language [SME: 5002] |
128 |
|
|
129 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
130 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
131 |
|
|
132 |
* 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 |
133 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
134 |
|
|
524 |
%patch10 -p1 |
%patch10 -p1 |
525 |
%patch11 -p1 |
%patch11 -p1 |
526 |
%patch12 -p1 |
%patch12 -p1 |
527 |
|
%patch13 -p1 |
528 |
|
%patch14 -p1 |
529 |
|
%patch15 -p1 |
530 |
|
%patch16 -p1 |
531 |
|
%patch17 -p1 |
532 |
|
%patch18 -p1 |
533 |
|
%patch19 -p1 |
534 |
|
%patch20 -p1 |
535 |
|
%patch21 -p1 |
536 |
|
%patch22 -p1 |
537 |
|
%patch23 -p1 |
538 |
|
%patch24 -p1 |
539 |
|
%patch25 -p1 |
540 |
|
%patch26 -p1 |
541 |
|
%patch27 -p1 |
542 |
|
%patch28 -p1 |
543 |
|
%patch29 -p1 |
544 |
|
%patch30 -p1 |
545 |
|
%patch31 -p1 |
546 |
|
%patch32 -p1 |
547 |
|
|
548 |
%build |
%build |
549 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
571 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
572 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
573 |
|
|
574 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
575 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
576 |
done |
done |
577 |
|
|
578 |
%clean |
%clean |
623 |
%{summary} |
%{summary} |
624 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
625 |
|
|
626 |
|
%package et |
627 |
|
Summary: %{package_summary} - Estonian |
628 |
|
Group: %{group} |
629 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
630 |
|
%description et |
631 |
|
%{summary} |
632 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
633 |
|
|
634 |
%package fr |
%package fr |
635 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
636 |
Group: %{group} |
Group: %{group} |
640 |
%{summary} |
%{summary} |
641 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
642 |
|
|
643 |
|
%package he |
644 |
|
Summary: %{package_summary} - Hebrew |
645 |
|
Group: %{group} |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description he |
648 |
|
%{summary} |
649 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
650 |
|
|
651 |
%package hu |
%package hu |
652 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
653 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
654 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
655 |
%description hu |
%description hu |
656 |
%{summary} |
%{summary} |
682 |
%{summary} |
%{summary} |
683 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
684 |
|
|
685 |
|
%package nb |
686 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
687 |
|
Group: %{group} |
688 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
689 |
|
%description nb |
690 |
|
%{summary} |
691 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
692 |
|
|
693 |
%package nl |
%package nl |
694 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
695 |
Group: %{group} |
Group: %{group} |
699 |
%{summary} |
%{summary} |
700 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
701 |
|
|
702 |
|
%package pl |
703 |
|
Summary: %{package_summary} - Polish |
704 |
|
Group: %{group} |
705 |
|
Requires: aspell-pl |
706 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
707 |
|
%description pl |
708 |
|
%{summary} |
709 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
710 |
|
|
711 |
%package pt |
%package pt |
712 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
713 |
Group: %{group} |
Group: %{group} |
726 |
%{summary} |
%{summary} |
727 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
728 |
|
|
729 |
|
%package ro |
730 |
|
Summary: %{package_summary} - Romanian |
731 |
|
Group: %{group} |
732 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
733 |
|
%description ro |
734 |
|
%{summary} |
735 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
736 |
|
|
737 |
|
%package ru |
738 |
|
Summary: %{package_summary} - Russian |
739 |
|
Group: %{group} |
740 |
|
Requires: aspell-ru |
741 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
742 |
|
%description ru |
743 |
|
%{summary} |
744 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
745 |
|
|
746 |
%package sl |
%package sl |
747 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
748 |
Group: %{group} |
Group: %{group} |
761 |
%{summary} |
%{summary} |
762 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
763 |
|
|
764 |
|
%package th |
765 |
|
Summary: %{package_summary} - Thai |
766 |
|
Group: %{group} |
767 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
768 |
|
%description th |
769 |
|
%{summary} |
770 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
771 |
|
|
772 |
%package tr |
%package tr |
773 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
774 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
775 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
776 |
%description tr |
%description tr |
777 |
%{summary} |
%{summary} |
778 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
779 |
|
|
780 |
|
%package zh_CN |
781 |
|
Summary: %{package_summary} - Chinese (China) |
782 |
|
Group: %{group} |
783 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
784 |
|
%description zh_CN |
785 |
|
%{summary} |
786 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
787 |
|
|
788 |
|
%package zh_TW |
789 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
790 |
|
Group: %{group} |
791 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
792 |
|
%description zh_TW |
793 |
|
%{summary} |
794 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |