1 |
# $Id: smeserver-locale.spec,v 1.61 2008/12/31 18:26:34 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.86 2011/03/06 20:42:30 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 33 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
48 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
49 |
BuildRequires: perl |
BuildRequires: perl |
55 |
SME Server localisation module |
SME Server localisation module |
56 |
|
|
57 |
%changelog |
%changelog |
58 |
* Sat Jan 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 2.0.0-33.sme |
59 |
- Apply 31 Jan 2008 locale patch [SME: 4950] |
- apply locale 2011-03-06 patch |
60 |
|
|
61 |
|
* Wed Aug 18 2010 SME Translation Server <translations@contribs.org> 2.0.0-32.sme |
62 |
|
- apply locale 2010-08-18 patch |
63 |
|
|
64 |
|
* Tue Jul 13 2010 SME Translation Server <translations@contribs.org> 2.0.0-31.sme |
65 |
|
- Add Chinese (Taiwan) language [SME: 6106] |
66 |
|
- apply locale 2010-07-13 patch |
67 |
|
|
68 |
|
* Thu Jun 24 2010 SME Translation Server <translations@contribs.org> 2.0.0-30.sme |
69 |
|
- apply locale 2010-06-24 patch |
70 |
|
|
71 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
72 |
|
- Add Hebrew language [SME: 5970] |
73 |
|
- apply locale 2010-05-25 patch |
74 |
|
|
75 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
76 |
|
- apply locale 2010-05-23 patch |
77 |
|
|
78 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
79 |
|
- apply locale 2010-04-28 patch |
80 |
|
|
81 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
82 |
|
- apply locale 2010-03-02 patch |
83 |
|
|
84 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
85 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
86 |
|
|
87 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
88 |
|
- apply locale 2009-10-27 patch |
89 |
|
- Add Thai language [SME: 5466] |
90 |
|
|
91 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
92 |
|
- apply locale 2009-08-24 patch |
93 |
|
- Add Polish language [SME: 5436] |
94 |
|
|
95 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
96 |
|
- apply locale 2009-05-27 patch |
97 |
|
- Add Romanian language [SME: 5268] |
98 |
|
|
99 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
100 |
|
- apply locale 2009-05-20 patch |
101 |
|
|
102 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
103 |
|
- apply locale 2009-04-27 patch |
104 |
|
- Add Estonian language [SME: 5199] |
105 |
|
|
106 |
|
* Tue Mar 03 2009 SME Translation Server |
107 |
|
- re-apply locale 2009-03-03 patch |
108 |
|
|
109 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
110 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
111 |
|
|
112 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
113 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
114 |
|
- Added missing bug references to changelog entry [SME: 5002] |
115 |
|
|
116 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
117 |
|
- Add Chineese (China) language [SME: 5002] |
118 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
119 |
|
- Add Russian language [SME: 5002] |
120 |
|
|
121 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
122 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
123 |
|
|
124 |
* 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 |
125 |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
- Apply 31 Dec 2008 locale patch [SME: 4899] |
517 |
%patch11 -p1 |
%patch11 -p1 |
518 |
%patch12 -p1 |
%patch12 -p1 |
519 |
%patch13 -p1 |
%patch13 -p1 |
520 |
|
%patch14 -p1 |
521 |
|
%patch15 -p1 |
522 |
|
%patch16 -p1 |
523 |
|
%patch17 -p1 |
524 |
|
%patch18 -p1 |
525 |
|
%patch19 -p1 |
526 |
|
%patch20 -p1 |
527 |
|
%patch21 -p1 |
528 |
|
%patch22 -p1 |
529 |
|
%patch23 -p1 |
530 |
|
%patch24 -p1 |
531 |
|
%patch25 -p1 |
532 |
|
%patch26 -p1 |
533 |
|
%patch27 -p1 |
534 |
|
%patch28 -p1 |
535 |
|
%patch29 -p1 |
536 |
|
#%patch30 -p1 |
537 |
|
|
538 |
%build |
%build |
539 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
561 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
562 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
563 |
|
|
564 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
565 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
566 |
done |
done |
567 |
|
|
568 |
%clean |
%clean |
613 |
%{summary} |
%{summary} |
614 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
615 |
|
|
616 |
|
%package et |
617 |
|
Summary: %{package_summary} - Estonian |
618 |
|
Group: %{group} |
619 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
620 |
|
%description et |
621 |
|
%{summary} |
622 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
623 |
|
|
624 |
%package fr |
%package fr |
625 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
626 |
Group: %{group} |
Group: %{group} |
630 |
%{summary} |
%{summary} |
631 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
632 |
|
|
633 |
|
%package he |
634 |
|
Summary: %{package_summary} - Hebrew |
635 |
|
Group: %{group} |
636 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
637 |
|
%description he |
638 |
|
%{summary} |
639 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
640 |
|
|
641 |
%package hu |
%package hu |
642 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
643 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
644 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
645 |
%description hu |
%description hu |
646 |
%{summary} |
%{summary} |
672 |
%{summary} |
%{summary} |
673 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
674 |
|
|
675 |
|
%package nb |
676 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
677 |
|
Group: %{group} |
678 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
679 |
|
%description nb |
680 |
|
%{summary} |
681 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
682 |
|
|
683 |
%package nl |
%package nl |
684 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
685 |
Group: %{group} |
Group: %{group} |
689 |
%{summary} |
%{summary} |
690 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
691 |
|
|
692 |
|
%package pl |
693 |
|
Summary: %{package_summary} - Polish |
694 |
|
Group: %{group} |
695 |
|
Requires: aspell-pl |
696 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
697 |
|
%description pl |
698 |
|
%{summary} |
699 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
700 |
|
|
701 |
%package pt |
%package pt |
702 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
703 |
Group: %{group} |
Group: %{group} |
716 |
%{summary} |
%{summary} |
717 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
718 |
|
|
719 |
|
%package ro |
720 |
|
Summary: %{package_summary} - Romanian |
721 |
|
Group: %{group} |
722 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
723 |
|
%description ro |
724 |
|
%{summary} |
725 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
726 |
|
|
727 |
|
%package ru |
728 |
|
Summary: %{package_summary} - Russian |
729 |
|
Group: %{group} |
730 |
|
Requires: aspell-ru |
731 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
732 |
|
%description ru |
733 |
|
%{summary} |
734 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
735 |
|
|
736 |
%package sl |
%package sl |
737 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
738 |
Group: %{group} |
Group: %{group} |
751 |
%{summary} |
%{summary} |
752 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
753 |
|
|
754 |
|
%package th |
755 |
|
Summary: %{package_summary} - Thai |
756 |
|
Group: %{group} |
757 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
758 |
|
%description th |
759 |
|
%{summary} |
760 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
761 |
|
|
762 |
%package tr |
%package tr |
763 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
764 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
765 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
766 |
%description tr |
%description tr |
767 |
%{summary} |
%{summary} |
768 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
769 |
|
|
770 |
|
%package zh_CN |
771 |
|
Summary: %{package_summary} - Chinese (China) |
772 |
|
Group: %{group} |
773 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
774 |
|
%description zh_CN |
775 |
|
%{summary} |
776 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |
777 |
|
|
778 |
|
%package zh_TW |
779 |
|
Summary: %{package_summary} - Chinese (Taiwan) |
780 |
|
Group: %{group} |
781 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
782 |
|
%description zh_TW |
783 |
|
%{summary} |
784 |
|
%files zh_TW -f %{name}-%{version}-%{release}-filelist-zh_TW |