1 |
# $Id: smeserver-locale.spec,v 1.35 2008/07/01 20:44:54 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.73 2009/10/27 17:45: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 1.4.0 |
%define version 2.2.0 |
7 |
%define release 13 |
%define release 24 |
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 nl pt pt_BR sl sv tr |
%define package_locales bg da de el es et fr 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 |
14 |
Group: Networking/Daemons |
Group: Networking/Daemons |
15 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
16 |
Patch1: smeserver-locale-UTF8.patch |
Patch0: smeserver-locale-2.2.0-locale-2008-10-08.patch |
17 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.2.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.2.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.2.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
Patch4: smeserver-locale-2.2.0-locale-2008-10-17.patch |
21 |
Patch6: smeserver-locale-2008-04-01.patch |
Patch5: smeserver-locale-2.2.0-locale-2008-10-19.patch |
22 |
Patch7: smeserver-locale-2008-05-05.patch |
Patch6: smeserver-locale-2.2.0-locale-2008-11-02.patch |
23 |
Patch8: smeserver-locale-2008-06-27.patch |
Patch7: smeserver-locale-2.2.0-locale-2008-11-06.patch |
24 |
Patch9: smeserver-locale-2008-07-01.patch |
Patch8: smeserver-locale-2.2.0-locale-2008-11-07.patch |
25 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
39 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
40 |
BuildRequires: perl |
BuildRequires: perl |
46 |
SME Server localisation module |
SME Server localisation module |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
50 |
|
- apply locale 2009-10-27 patch |
51 |
|
- Add Thai language [SME: 5466] |
52 |
|
|
53 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
54 |
|
- apply locale 2009-08-24 patch |
55 |
|
- Add Polish language [SME: 5437] |
56 |
|
|
57 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
58 |
|
- apply locale 2009-05-27 patch |
59 |
|
- Add Romanian language [SME: 5268] |
60 |
|
|
61 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
62 |
|
- apply locale 2009-05-20 patch |
63 |
|
|
64 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
65 |
|
- apply locale 2009-04-27 patch |
66 |
|
- Add Estonian language [SME: 5199] |
67 |
|
|
68 |
|
* Tue Mar 03 2009 SME Translation Server |
69 |
|
- re-apply locale 2009-03-03 patch |
70 |
|
|
71 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
72 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
73 |
|
|
74 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
75 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
76 |
|
- Added missing bug references to changelog entry [SME: 5002] |
77 |
|
|
78 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
79 |
|
- Add Chineese (China) language [SME: 5002] |
80 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
81 |
|
- Add Russian language [SME: 5002] |
82 |
|
|
83 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
84 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
85 |
|
|
86 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-14.sme |
87 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
88 |
|
|
89 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-13.sme |
90 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
91 |
|
|
92 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-12.sme |
93 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
94 |
|
|
95 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-11.sme |
96 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
97 |
|
|
98 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
99 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
100 |
|
|
101 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
102 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
103 |
|
|
104 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.2.0-8.sme |
105 |
|
- Apply 2 Nov 2008 locale patch |
106 |
|
|
107 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.2.0-7.sme |
108 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
109 |
|
|
110 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-6.sme |
111 |
|
- Apply 17 Oct 2008 locale patch |
112 |
|
|
113 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-5.sme |
114 |
|
- Apply 16 Oct 2008 locale patch |
115 |
|
|
116 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-4.sme |
117 |
|
- Apply 15 Oct 2008 locale patch |
118 |
|
|
119 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.2.0-3.sme |
120 |
|
- Add Japanese language [SME: 4637] |
121 |
|
|
122 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-2.sme |
123 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
124 |
|
|
125 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
126 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
127 |
|
|
128 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
129 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
130 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
131 |
|
|
132 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
133 |
|
- Apply 4 Oct locale patch |
134 |
|
|
135 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-18 |
136 |
|
- Remove colored highlights from German locale [SME: 4618] |
137 |
|
- Fix changelog entry in previous entry for [SME: 4616] |
138 |
|
|
139 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-17 |
140 |
|
- Remove references to the wiki from the German locale [SME: 4616] |
141 |
|
- Fix bug referrence in previous changelog entry [SME: 4617] |
142 |
|
|
143 |
|
* Fri Oct 3 2008 Shad L. Lords <slords@mail.com> - 1.4.0-16 |
144 |
|
- Apply locale patch to fix many translation bugs [SME: 4615] |
145 |
|
|
146 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
147 |
|
- Apply locale patch |
148 |
|
|
149 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
150 |
|
- Apply locale patch |
151 |
|
|
152 |
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
153 |
- Apply Jul 26 2008 locale patch |
- Apply Jul 26 2008 locale patch |
154 |
- Add Portuguese language |
- Add Portuguese language |
465 |
|
|
466 |
%prep |
%prep |
467 |
%setup |
%setup |
468 |
|
%patch0 -p1 |
469 |
%patch1 -p1 |
%patch1 -p1 |
470 |
%patch2 -p1 |
%patch2 -p1 |
471 |
%patch3 -p1 |
%patch3 -p1 |
476 |
%patch8 -p1 |
%patch8 -p1 |
477 |
%patch9 -p1 |
%patch9 -p1 |
478 |
%patch10 -p1 |
%patch10 -p1 |
479 |
|
%patch11 -p1 |
480 |
|
%patch12 -p1 |
481 |
|
%patch13 -p1 |
482 |
|
%patch14 -p1 |
483 |
|
%patch15 -p1 |
484 |
|
%patch16 -p1 |
485 |
|
%patch17 -p1 |
486 |
|
%patch18 -p1 |
487 |
|
%patch19 -p1 |
488 |
|
%patch20 -p1 |
489 |
|
%patch21 -p1 |
490 |
|
|
491 |
%build |
%build |
492 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
514 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
515 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
516 |
|
|
517 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
518 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
519 |
done |
done |
520 |
|
|
521 |
%clean |
%clean |
566 |
%{summary} |
%{summary} |
567 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
568 |
|
|
569 |
|
%package et |
570 |
|
Summary: %{package_summary} - Estonian |
571 |
|
Group: %{group} |
572 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
573 |
|
%description et |
574 |
|
%{summary} |
575 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
576 |
|
|
577 |
%package fr |
%package fr |
578 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
579 |
Group: %{group} |
Group: %{group} |
586 |
%package hu |
%package hu |
587 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
588 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
589 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
590 |
%description hu |
%description hu |
591 |
%{summary} |
%{summary} |
609 |
%{summary} |
%{summary} |
610 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
611 |
|
|
612 |
|
%package ja |
613 |
|
Summary: %{package_summary} - Japanese |
614 |
|
Group: %{group} |
615 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
616 |
|
%description ja |
617 |
|
%{summary} |
618 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
619 |
|
|
620 |
|
%package nb |
621 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
622 |
|
Group: %{group} |
623 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
624 |
|
%description nb |
625 |
|
%{summary} |
626 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
627 |
|
|
628 |
%package nl |
%package nl |
629 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
630 |
Group: %{group} |
Group: %{group} |
634 |
%{summary} |
%{summary} |
635 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
636 |
|
|
637 |
|
%package pl |
638 |
|
Summary: %{package_summary} - Polish |
639 |
|
Group: %{group} |
640 |
|
Requires: aspell-pl |
641 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
642 |
|
%description pl |
643 |
|
%{summary} |
644 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
645 |
|
|
646 |
%package pt |
%package pt |
647 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
648 |
Group: %{group} |
Group: %{group} |
661 |
%{summary} |
%{summary} |
662 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
663 |
|
|
664 |
|
%package ro |
665 |
|
Summary: %{package_summary} - Romanian |
666 |
|
Group: %{group} |
667 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
668 |
|
%description ro |
669 |
|
%{summary} |
670 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
671 |
|
|
672 |
|
%package ru |
673 |
|
Summary: %{package_summary} - Russian |
674 |
|
Group: %{group} |
675 |
|
Requires: aspell-ru |
676 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
677 |
|
%description ru |
678 |
|
%{summary} |
679 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
680 |
|
|
681 |
%package sl |
%package sl |
682 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
683 |
Group: %{group} |
Group: %{group} |
696 |
%{summary} |
%{summary} |
697 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
698 |
|
|
699 |
|
%package th |
700 |
|
Summary: %{package_summary} - Thai |
701 |
|
Group: %{group} |
702 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
703 |
|
%description th |
704 |
|
%{summary} |
705 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
706 |
|
|
707 |
%package tr |
%package tr |
708 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
709 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
710 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
711 |
%description tr |
%description tr |
712 |
%{summary} |
%{summary} |
713 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
714 |
|
|
715 |
|
%package zh_CN |
716 |
|
Summary: %{package_summary} - Chinese (China) |
717 |
|
Group: %{group} |
718 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
719 |
|
%description zh_CN |
720 |
|
%{summary} |
721 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |