1 |
# $Id: smeserver-locale.spec,v 1.59 2008/11/19 17:33:30 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.79 2010/05/25 15:28:43 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 13 |
%define release 29 |
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 |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
13 |
License: GPL |
License: GPL |
25 |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
BuildRequires: perl |
BuildRequires: perl |
51 |
SME Server localisation module |
SME Server localisation module |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.0.0-29.sme |
55 |
|
- Add Hebrew language [SME: 5970] |
56 |
|
- apply locale 2010-05-25 patch |
57 |
|
|
58 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.0.0-28.sme |
59 |
|
- apply locale 2010-05-23 patch |
60 |
|
|
61 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.0.0-27.sme |
62 |
|
- apply locale 2010-04-28 patch |
63 |
|
|
64 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
65 |
|
- apply locale 2010-03-02 patch |
66 |
|
|
67 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
68 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
69 |
|
|
70 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
71 |
|
- apply locale 2009-10-27 patch |
72 |
|
- Add Thai language [SME: 5466] |
73 |
|
|
74 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
75 |
|
- apply locale 2009-08-24 patch |
76 |
|
- Add Polish language [SME: 5436] |
77 |
|
|
78 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
79 |
|
- apply locale 2009-05-27 patch |
80 |
|
- Add Romanian language [SME: 5268] |
81 |
|
|
82 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
83 |
|
- apply locale 2009-05-20 patch |
84 |
|
|
85 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
86 |
|
- apply locale 2009-04-27 patch |
87 |
|
- Add Estonian language [SME: 5199] |
88 |
|
|
89 |
|
* Tue Mar 03 2009 SME Translation Server |
90 |
|
- re-apply locale 2009-03-03 patch |
91 |
|
|
92 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
93 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
94 |
|
|
95 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
96 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
97 |
|
- Added missing bug references to changelog entry [SME: 5002] |
98 |
|
|
99 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
100 |
|
- Add Chineese (China) language [SME: 5002] |
101 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
102 |
|
- Add Russian language [SME: 5002] |
103 |
|
|
104 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
105 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
106 |
|
|
107 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
108 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
109 |
|
|
110 |
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
111 |
- Apply 30 Nov 2008 locale patch [SME: 4813] |
- Apply 30 Nov 2008 locale patch [SME: 4813] |
112 |
|
|
498 |
%patch9 -p1 |
%patch9 -p1 |
499 |
%patch10 -p1 |
%patch10 -p1 |
500 |
%patch11 -p1 |
%patch11 -p1 |
501 |
|
%patch12 -p1 |
502 |
|
%patch13 -p1 |
503 |
|
%patch14 -p1 |
504 |
|
%patch15 -p1 |
505 |
|
%patch16 -p1 |
506 |
|
%patch17 -p1 |
507 |
|
%patch18 -p1 |
508 |
|
%patch19 -p1 |
509 |
|
%patch20 -p1 |
510 |
|
%patch21 -p1 |
511 |
|
%patch22 -p1 |
512 |
|
%patch23 -p1 |
513 |
|
%patch24 -p1 |
514 |
|
%patch25 -p1 |
515 |
|
%patch26 -p1 |
516 |
|
|
517 |
%build |
%build |
518 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
540 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
541 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
542 |
|
|
543 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
544 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
545 |
done |
done |
546 |
|
|
547 |
%clean |
%clean |
592 |
%{summary} |
%{summary} |
593 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
594 |
|
|
595 |
|
%package et |
596 |
|
Summary: %{package_summary} - Estonian |
597 |
|
Group: %{group} |
598 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
599 |
|
%description et |
600 |
|
%{summary} |
601 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
602 |
|
|
603 |
%package fr |
%package fr |
604 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
605 |
Group: %{group} |
Group: %{group} |
609 |
%{summary} |
%{summary} |
610 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
611 |
|
|
612 |
|
%package he |
613 |
|
Summary: %{package_summary} - Hebrew |
614 |
|
Group: %{group} |
615 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
616 |
|
%description he |
617 |
|
%{summary} |
618 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
619 |
|
|
620 |
%package hu |
%package hu |
621 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
622 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
623 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
624 |
%description hu |
%description hu |
625 |
%{summary} |
%{summary} |
651 |
%{summary} |
%{summary} |
652 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
653 |
|
|
654 |
|
%package nb |
655 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
656 |
|
Group: %{group} |
657 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
658 |
|
%description nb |
659 |
|
%{summary} |
660 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
661 |
|
|
662 |
%package nl |
%package nl |
663 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
664 |
Group: %{group} |
Group: %{group} |
668 |
%{summary} |
%{summary} |
669 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
670 |
|
|
671 |
|
%package pl |
672 |
|
Summary: %{package_summary} - Polish |
673 |
|
Group: %{group} |
674 |
|
Requires: aspell-pl |
675 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
676 |
|
%description pl |
677 |
|
%{summary} |
678 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
679 |
|
|
680 |
%package pt |
%package pt |
681 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
682 |
Group: %{group} |
Group: %{group} |
695 |
%{summary} |
%{summary} |
696 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
697 |
|
|
698 |
|
%package ro |
699 |
|
Summary: %{package_summary} - Romanian |
700 |
|
Group: %{group} |
701 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
702 |
|
%description ro |
703 |
|
%{summary} |
704 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
705 |
|
|
706 |
|
%package ru |
707 |
|
Summary: %{package_summary} - Russian |
708 |
|
Group: %{group} |
709 |
|
Requires: aspell-ru |
710 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
711 |
|
%description ru |
712 |
|
%{summary} |
713 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
714 |
|
|
715 |
%package sl |
%package sl |
716 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
717 |
Group: %{group} |
Group: %{group} |
730 |
%{summary} |
%{summary} |
731 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
732 |
|
|
733 |
|
%package th |
734 |
|
Summary: %{package_summary} - Thai |
735 |
|
Group: %{group} |
736 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
737 |
|
%description th |
738 |
|
%{summary} |
739 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
740 |
|
|
741 |
%package tr |
%package tr |
742 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
743 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
744 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
745 |
%description tr |
%description tr |
746 |
%{summary} |
%{summary} |
747 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
748 |
|
|
749 |
|
%package zh_CN |
750 |
|
Summary: %{package_summary} - Chinese (China) |
751 |
|
Group: %{group} |
752 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
753 |
|
%description zh_CN |
754 |
|
%{summary} |
755 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |