1 |
# $Id: smeserver-locale.spec,v 1.56 2008/11/07 07:52:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.88 2011/03/06 22:18:22 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 10 |
%define release 34 |
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 |
22 |
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
23 |
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
24 |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
|
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
|
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
|
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
49 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
50 |
BuildRequires: perl |
BuildRequires: perl |
56 |
SME Server localisation module |
SME Server localisation module |
57 |
|
|
58 |
%changelog |
%changelog |
59 |
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 2.0.0-34.sme |
60 |
|
- apply locale 2011-04-27 patch |
61 |
|
|
62 |
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme |
63 |
|
- apply locale 2011-03-06 patch |
64 |
|
|
65 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme |
66 |
|
- apply locale 2010-08-18 patch |
67 |
|
|
68 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.sme |
69 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
70 |
|
- apply locale 2010-07-13 patch |
71 |
|
|
72 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme |
73 |
|
- apply locale 2010-06-24 patch |
74 |
|
|
75 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
76 |
|
- Add Hebrew language [SME: 5970] |
77 |
|
- apply locale 2010-05-25 patch |
78 |
|
|
79 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
80 |
|
- apply locale 2010-05-23 patch |
81 |
|
|
82 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
83 |
|
- apply locale 2010-04-28 patch |
84 |
|
|
85 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
86 |
|
- apply locale 2010-03-02 patch |
87 |
|
|
88 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
89 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
90 |
|
|
91 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
92 |
|
- apply locale 2009-10-27 patch |
93 |
|
- Add Thai language [SME: 5466] |
94 |
|
|
95 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
96 |
|
- apply locale 2009-08-24 patch |
97 |
|
- Add Polish language [SME: 5436] |
98 |
|
|
99 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
100 |
|
- apply locale 2009-05-27 patch |
101 |
|
- Add Romanian language [SME: 5268] |
102 |
|
|
103 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
104 |
|
- apply locale 2009-05-20 patch |
105 |
|
|
106 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
107 |
|
- apply locale 2009-04-27 patch |
108 |
|
- Add Estonian language [SME: 5199] |
109 |
|
|
110 |
|
* Tue Mar 03 2009 SME Translation Server |
111 |
|
- re-apply locale 2009-03-03 patch |
112 |
|
|
113 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
114 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
115 |
|
|
116 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
117 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
118 |
|
- Added missing bug references to changelog entry [SME: 5002] |
119 |
|
|
120 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
121 |
|
- Add Chineese (China) language [SME: 5002] |
122 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
123 |
|
- Add Russian language [SME: 5002] |
124 |
|
|
125 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
126 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
127 |
|
|
128 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
129 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
130 |
|
|
131 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
132 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
133 |
|
|
134 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
135 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
136 |
|
|
137 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme |
138 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
139 |
|
|
140 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
141 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
142 |
|
|
516 |
%patch6 -p1 |
%patch6 -p1 |
517 |
%patch7 -p1 |
%patch7 -p1 |
518 |
%patch8 -p1 |
%patch8 -p1 |
519 |
|
%patch9 -p1 |
520 |
|
%patch10 -p1 |
521 |
|
%patch11 -p1 |
522 |
|
%patch12 -p1 |
523 |
|
%patch13 -p1 |
524 |
|
%patch14 -p1 |
525 |
|
%patch15 -p1 |
526 |
|
%patch16 -p1 |
527 |
|
%patch17 -p1 |
528 |
|
%patch18 -p1 |
529 |
|
%patch19 -p1 |
530 |
|
%patch20 -p1 |
531 |
|
%patch21 -p1 |
532 |
|
%patch22 -p1 |
533 |
|
%patch23 -p1 |
534 |
|
%patch24 -p1 |
535 |
|
%patch25 -p1 |
536 |
|
%patch26 -p1 |
537 |
|
%patch27 -p1 |
538 |
|
%patch28 -p1 |
539 |
|
%patch29 -p1 |
540 |
|
%patch30 -p1 |
541 |
|
%patch31 -p1 |
542 |
|
|
543 |
%build |
%build |
544 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
566 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
567 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
568 |
|
|
569 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
570 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
571 |
done |
done |
572 |
|
|
573 |
%clean |
%clean |
618 |
%{summary} |
%{summary} |
619 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
620 |
|
|
621 |
|
%package et |
622 |
|
Summary: %{package_summary} - Estonian |
623 |
|
Group: %{group} |
624 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
625 |
|
%description et |
626 |
|
%{summary} |
627 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
628 |
|
|
629 |
%package fr |
%package fr |
630 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
631 |
Group: %{group} |
Group: %{group} |
635 |
%{summary} |
%{summary} |
636 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
637 |
|
|
638 |
|
%package he |
639 |
|
Summary: %{package_summary} - Hebrew |
640 |
|
Group: %{group} |
641 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
642 |
|
%description he |
643 |
|
%{summary} |
644 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
645 |
|
|
646 |
%package hu |
%package hu |
647 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
648 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
649 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
650 |
%description hu |
%description hu |
651 |
%{summary} |
%{summary} |
677 |
%{summary} |
%{summary} |
678 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
679 |
|
|
680 |
|
%package nb |
681 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
682 |
|
Group: %{group} |
683 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
684 |
|
%description nb |
685 |
|
%{summary} |
686 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
687 |
|
|
688 |
%package nl |
%package nl |
689 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
690 |
Group: %{group} |
Group: %{group} |
694 |
%{summary} |
%{summary} |
695 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
696 |
|
|
697 |
|
%package pl |
698 |
|
Summary: %{package_summary} - Polish |
699 |
|
Group: %{group} |
700 |
|
Requires: aspell-pl |
701 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
702 |
|
%description pl |
703 |
|
%{summary} |
704 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
705 |
|
|
706 |
%package pt |
%package pt |
707 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
708 |
Group: %{group} |
Group: %{group} |
721 |
%{summary} |
%{summary} |
722 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
723 |
|
|
724 |
|
%package ro |
725 |
|
Summary: %{package_summary} - Romanian |
726 |
|
Group: %{group} |
727 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
728 |
|
%description ro |
729 |
|
%{summary} |
730 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
731 |
|
|
732 |
|
%package ru |
733 |
|
Summary: %{package_summary} - Russian |
734 |
|
Group: %{group} |
735 |
|
Requires: aspell-ru |
736 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
737 |
|
%description ru |
738 |
|
%{summary} |
739 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
740 |
|
|
741 |
%package sl |
%package sl |
742 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
743 |
Group: %{group} |
Group: %{group} |
756 |
%{summary} |
%{summary} |
757 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
758 |
|
|
759 |
|
%package th |
760 |
|
Summary: %{package_summary} - Thai |
761 |
|
Group: %{group} |
762 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
763 |
|
%description th |
764 |
|
%{summary} |
765 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
766 |
|
|
767 |
%package tr |
%package tr |
768 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
769 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
770 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
771 |
%description tr |
%description tr |
772 |
%{summary} |
%{summary} |
773 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
774 |
|
|
775 |
|
%package zh_CN |
776 |
|
Summary: %{package_summary} - Chinese (China) |
777 |
|
Group: %{group} |
778 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
779 |
|
%description zh_CN |
780 |
|
%{summary} |
781 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
782 |
|
|
783 |
|
%package zh_TW |
784 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
785 |
|
Group: %{group} |
786 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
787 |
|
%description zh_TW |
788 |
|
%{summary} |
789 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |