1 |
# $Id: smeserver-locale.spec,v 1.54 2008/11/02 21:16:30 slords Exp $ |
# $Id: smeserver-locale.spec,v 1.83 2010/05/25 16:55: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.2.0 |
%define version 2.2.0 |
7 |
%define release 9 |
%define release 30 |
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 |
21 |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
24 |
|
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
|
Patch9: smeserver-locale-2.2.0-locale-2008-11-18.patch |
26 |
|
Patch10: smeserver-locale-2.2.0-locale-2008-11-19.patch |
27 |
|
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
|
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
|
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch |
30 |
|
Patch14: smeserver-locale-2.2.0-locale-2009-02-09.patch |
31 |
|
Patch15: smeserver-locale-2.2.0-locale-2009-03-01.patch |
32 |
|
Patch16: smeserver-locale-2.2.0-locale-2009-03-03.patch |
33 |
|
Patch17: smeserver-locale-2.2.0-locale-2009-04-27.patch |
34 |
|
Patch18: smeserver-locale-2.2.0-locale-2009-05-20.patch |
35 |
|
Patch19: smeserver-locale-2.2.0-locale-2009-05-27.patch |
36 |
|
Patch20: smeserver-locale-2.2.0-locale-2009-08-24.patch |
37 |
|
Patch21: smeserver-locale-2.2.0-locale-2009-10-27.patch |
38 |
|
Patch22: smeserver-locale-2.0.0-locale-2010-02-27.patch |
39 |
|
Patch23: smeserver-locale-2.2.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.2.0-locale-2010-04-29.patch |
41 |
|
Patch25: smeserver-locale-2.2.0-locale-2010-05-23.patch |
42 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
43 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
44 |
BuildRequires: perl |
BuildRequires: perl |
50 |
SME Server localisation module |
SME Server localisation module |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
* Tue May 25 2010 Shad L. Lords <slords@mail.com> - 2.2.0-30.sme |
54 |
|
- Add Hebrew language [SME: 5971] |
55 |
|
|
56 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
57 |
|
- apply locale 2010-05-23 patch |
58 |
|
|
59 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
60 |
|
- apply locale 2010-04-29 patch |
61 |
|
|
62 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
63 |
|
- apply locale 2010-03-02 patch |
64 |
|
|
65 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
66 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
67 |
|
- Correct previous changelog entry |
68 |
|
- Apply locale 2010-02-27 patch |
69 |
|
|
70 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
71 |
|
- apply locale 2010-02-25 patch |
72 |
|
|
73 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
74 |
|
- apply locale 2009-10-27 patch |
75 |
|
- Add Thai language [SME: 5466] |
76 |
|
|
77 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
78 |
|
- apply locale 2009-08-24 patch |
79 |
|
- Add Polish language [SME: 5437] |
80 |
|
|
81 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
82 |
|
- apply locale 2009-05-27 patch |
83 |
|
- Add Romanian language [SME: 5268] |
84 |
|
|
85 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
86 |
|
- apply locale 2009-05-20 patch |
87 |
|
|
88 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
89 |
|
- apply locale 2009-04-27 patch |
90 |
|
- Add Estonian language [SME: 5199] |
91 |
|
|
92 |
|
* Tue Mar 03 2009 SME Translation Server |
93 |
|
- re-apply locale 2009-03-03 patch |
94 |
|
|
95 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
96 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
97 |
|
|
98 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
99 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
100 |
|
- Added missing bug references to changelog entry [SME: 5002] |
101 |
|
|
102 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
103 |
|
- Add Chineese (China) language [SME: 5002] |
104 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
105 |
|
- Add Russian language [SME: 5002] |
106 |
|
|
107 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
108 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
109 |
|
|
110 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
111 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
112 |
|
|
113 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
114 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
115 |
|
|
116 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
117 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
118 |
|
|
119 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
120 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
121 |
|
|
122 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
123 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
124 |
|
|
125 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
126 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
127 |
|
|
128 |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
497 |
%patch5 -p1 |
%patch5 -p1 |
498 |
%patch6 -p1 |
%patch6 -p1 |
499 |
%patch7 -p1 |
%patch7 -p1 |
500 |
|
%patch8 -p1 |
501 |
|
%patch9 -p1 |
502 |
|
%patch10 -p1 |
503 |
|
%patch11 -p1 |
504 |
|
%patch12 -p1 |
505 |
|
%patch13 -p1 |
506 |
|
%patch14 -p1 |
507 |
|
%patch15 -p1 |
508 |
|
%patch16 -p1 |
509 |
|
%patch17 -p1 |
510 |
|
%patch18 -p1 |
511 |
|
%patch19 -p1 |
512 |
|
%patch20 -p1 |
513 |
|
%patch21 -p1 |
514 |
|
%patch22 -p1 |
515 |
|
%patch23 -p1 |
516 |
|
%patch24 -p1 |
517 |
|
%patch25 -p1 |
518 |
|
|
519 |
%build |
%build |
520 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
542 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
543 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
544 |
|
|
545 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
546 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
547 |
done |
done |
548 |
|
|
549 |
%clean |
%clean |
594 |
%{summary} |
%{summary} |
595 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
596 |
|
|
597 |
|
%package et |
598 |
|
Summary: %{package_summary} - Estonian |
599 |
|
Group: %{group} |
600 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
601 |
|
%description et |
602 |
|
%{summary} |
603 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
604 |
|
|
605 |
%package fr |
%package fr |
606 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
607 |
Group: %{group} |
Group: %{group} |
611 |
%{summary} |
%{summary} |
612 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
613 |
|
|
614 |
|
%package he |
615 |
|
Summary: %{package_summary} - Hungarian |
616 |
|
Group: %{group} |
617 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
618 |
|
%description he |
619 |
|
%{summary} |
620 |
|
%files he -f %{name}-%{version}-%{release}-filelist-he |
621 |
|
|
622 |
%package hu |
%package hu |
623 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
624 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
625 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
626 |
%description hu |
%description hu |
627 |
%{summary} |
%{summary} |
653 |
%{summary} |
%{summary} |
654 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
655 |
|
|
656 |
|
%package nb |
657 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
658 |
|
Group: %{group} |
659 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
660 |
|
%description nb |
661 |
|
%{summary} |
662 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
663 |
|
|
664 |
%package nl |
%package nl |
665 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
666 |
Group: %{group} |
Group: %{group} |
670 |
%{summary} |
%{summary} |
671 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
672 |
|
|
673 |
|
%package pl |
674 |
|
Summary: %{package_summary} - Polish |
675 |
|
Group: %{group} |
676 |
|
Requires: aspell-pl |
677 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
678 |
|
%description pl |
679 |
|
%{summary} |
680 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
681 |
|
|
682 |
%package pt |
%package pt |
683 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
684 |
Group: %{group} |
Group: %{group} |
697 |
%{summary} |
%{summary} |
698 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
699 |
|
|
700 |
|
%package ro |
701 |
|
Summary: %{package_summary} - Romanian |
702 |
|
Group: %{group} |
703 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
704 |
|
%description ro |
705 |
|
%{summary} |
706 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
707 |
|
|
708 |
|
%package ru |
709 |
|
Summary: %{package_summary} - Russian |
710 |
|
Group: %{group} |
711 |
|
Requires: aspell-ru |
712 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
713 |
|
%description ru |
714 |
|
%{summary} |
715 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
716 |
|
|
717 |
%package sl |
%package sl |
718 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
719 |
Group: %{group} |
Group: %{group} |
732 |
%{summary} |
%{summary} |
733 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
734 |
|
|
735 |
|
%package th |
736 |
|
Summary: %{package_summary} - Thai |
737 |
|
Group: %{group} |
738 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
739 |
|
%description th |
740 |
|
%{summary} |
741 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
742 |
|
|
743 |
%package tr |
%package tr |
744 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
745 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
746 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
747 |
%description tr |
%description tr |
748 |
%{summary} |
%{summary} |
749 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
750 |
|
|
751 |
|
%package zh_CN |
752 |
|
Summary: %{package_summary} - Chinese (China) |
753 |
|
Group: %{group} |
754 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
755 |
|
%description zh_CN |
756 |
|
%{summary} |
757 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |