1 |
# $Id: smeserver-locale.spec,v 1.42 2008/10/04 09:43:40 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.74 2010/02/27 08:55:51 snetram 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.0.0 |
7 |
%define release 19 |
%define release 25 |
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.0.0-locale-2008-10-08.patch |
17 |
Patch2: smeserver-locale-remove_pt.patch |
Patch1: smeserver-locale-2.0.0-locale-2008-10-13.patch |
18 |
Patch3: smeserver-locale-2008-03-18.patch |
Patch2: smeserver-locale-2.0.0-locale-2008-10-15.patch |
19 |
Patch4: smeserver-locale-2008-03-25.patch |
Patch3: smeserver-locale-2.0.0-locale-2008-10-16.patch |
20 |
Patch5: smeserver-locale-2008-03-26.patch |
Patch4: smeserver-locale-2.0.0-locale-2008-10-17.patch |
21 |
Patch6: smeserver-locale-2008-04-01.patch |
Patch5: smeserver-locale-2.0.0-locale-2008-10-19.patch |
22 |
Patch7: smeserver-locale-2008-05-05.patch |
Patch6: smeserver-locale-2.0.0-locale-2008-11-02.patch |
23 |
Patch8: smeserver-locale-2008-06-27.patch |
Patch7: smeserver-locale-2.0.0-locale-2008-11-06.patch |
24 |
Patch9: smeserver-locale-2008-07-01.patch |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
Patch13: smeserver-locale-1.4.0-locale-2008-10-03.patch |
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
Patch14: smeserver-locale-1.4.0-removeReferrencesToWiki.patch |
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
Patch15: smeserver-locale-1.4.0-removeColorCoding.patch |
Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch |
31 |
Patch16: smeserver-locale-1.4.0-locale-2008-10-04.patch |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
40 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
41 |
BuildRequires: perl |
BuildRequires: perl |
47 |
SME Server localisation module |
SME Server localisation module |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
51 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
52 |
|
|
53 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
54 |
|
- apply locale 2009-10-27 patch |
55 |
|
- Add Thai language [SME: 5466] |
56 |
|
|
57 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
58 |
|
- apply locale 2009-08-24 patch |
59 |
|
- Add Polish language [SME: 5436] |
60 |
|
|
61 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
62 |
|
- apply locale 2009-05-27 patch |
63 |
|
- Add Romanian language [SME: 5268] |
64 |
|
|
65 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
66 |
|
- apply locale 2009-05-20 patch |
67 |
|
|
68 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
69 |
|
- apply locale 2009-04-27 patch |
70 |
|
- Add Estonian language [SME: 5199] |
71 |
|
|
72 |
|
* Tue Mar 03 2009 SME Translation Server |
73 |
|
- re-apply locale 2009-03-03 patch |
74 |
|
|
75 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
76 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
77 |
|
|
78 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
79 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
80 |
|
- Added missing bug references to changelog entry [SME: 5002] |
81 |
|
|
82 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
83 |
|
- Add Chineese (China) language [SME: 5002] |
84 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
85 |
|
- Add Russian language [SME: 5002] |
86 |
|
|
87 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
88 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
89 |
|
|
90 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
91 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
92 |
|
|
93 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
94 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
95 |
|
|
96 |
|
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
97 |
|
- Apply 19 Nov 2008 locale patch [SME: 4748] |
98 |
|
|
99 |
|
* Tue Nov 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-11.sme |
100 |
|
- Apply 18 Nov 2008 locale patch [SME: 4748] |
101 |
|
|
102 |
|
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-10.sme |
103 |
|
- Apply 7 Nov 2008 locale patch [SME: 4748] |
104 |
|
|
105 |
|
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-9.sme |
106 |
|
- Apply 6 Nov 2008 locale patch [SME: 4746] |
107 |
|
|
108 |
|
* Sun Nov 2 2008 Shad L. Lords <slords@mail.com> - 2.0.0-8.sme |
109 |
|
- Apply 2 Nov 2008 locale patch |
110 |
|
|
111 |
|
* Mon Oct 20 2008 Stephen Noble <support@dungog.net> - 2.0.0-7.sme |
112 |
|
- Apply 19 Oct 2008 locale patch [SME: 4692] |
113 |
|
|
114 |
|
* Thu Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-6.sme |
115 |
|
- Apply 17 Oct 2008 locale patch |
116 |
|
|
117 |
|
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-5.sme |
118 |
|
- Apply 16 Oct 2008 locale patch |
119 |
|
|
120 |
|
* Wed Oct 15 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-4.sme |
121 |
|
- Apply 15 Oct 2008 locale patch |
122 |
|
|
123 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> - 2.0.0-3.sme |
124 |
|
- Add Japanese language [SME: 4637] |
125 |
|
|
126 |
|
* Wed Oct 8 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-2.sme |
127 |
|
- Apply Oct 8 locale patch, fixing last colored highlight from German locale [SME 4618] |
128 |
|
|
129 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
130 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
131 |
|
|
132 |
|
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-20 |
133 |
|
- Reverting all changes made Oct 4, as they should be made through Pootle |
134 |
|
- Applying Pootle patch, fixing [SME: 4618] and [SME: 4616] |
135 |
|
|
136 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
* Sat Oct 4 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 1.4.0-19 |
137 |
- Apply 4 Oct locale patch |
- Apply 4 Oct locale patch |
138 |
|
|
469 |
|
|
470 |
%prep |
%prep |
471 |
%setup |
%setup |
472 |
|
%patch0 -p1 |
473 |
%patch1 -p1 |
%patch1 -p1 |
474 |
%patch2 -p1 |
%patch2 -p1 |
475 |
%patch3 -p1 |
%patch3 -p1 |
486 |
%patch14 -p1 |
%patch14 -p1 |
487 |
%patch15 -p1 |
%patch15 -p1 |
488 |
%patch16 -p1 |
%patch16 -p1 |
489 |
|
%patch17 -p1 |
490 |
|
%patch18 -p1 |
491 |
|
%patch19 -p1 |
492 |
|
%patch20 -p1 |
493 |
|
%patch21 -p1 |
494 |
|
%patch22 -p1 |
495 |
|
|
496 |
%build |
%build |
497 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
519 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
520 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
521 |
|
|
522 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
523 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
524 |
done |
done |
525 |
|
|
526 |
%clean |
%clean |
571 |
%{summary} |
%{summary} |
572 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
573 |
|
|
574 |
|
%package et |
575 |
|
Summary: %{package_summary} - Estonian |
576 |
|
Group: %{group} |
577 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
578 |
|
%description et |
579 |
|
%{summary} |
580 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
581 |
|
|
582 |
%package fr |
%package fr |
583 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
584 |
Group: %{group} |
Group: %{group} |
591 |
%package hu |
%package hu |
592 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
593 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
594 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
595 |
%description hu |
%description hu |
596 |
%{summary} |
%{summary} |
614 |
%{summary} |
%{summary} |
615 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
616 |
|
|
617 |
|
%package ja |
618 |
|
Summary: %{package_summary} - Japanese |
619 |
|
Group: %{group} |
620 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
621 |
|
%description ja |
622 |
|
%{summary} |
623 |
|
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
624 |
|
|
625 |
|
%package nb |
626 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
627 |
|
Group: %{group} |
628 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
629 |
|
%description nb |
630 |
|
%{summary} |
631 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
632 |
|
|
633 |
%package nl |
%package nl |
634 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
635 |
Group: %{group} |
Group: %{group} |
639 |
%{summary} |
%{summary} |
640 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
641 |
|
|
642 |
|
%package pl |
643 |
|
Summary: %{package_summary} - Polish |
644 |
|
Group: %{group} |
645 |
|
Requires: aspell-pl |
646 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
647 |
|
%description pl |
648 |
|
%{summary} |
649 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
650 |
|
|
651 |
%package pt |
%package pt |
652 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
653 |
Group: %{group} |
Group: %{group} |
666 |
%{summary} |
%{summary} |
667 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
668 |
|
|
669 |
|
%package ro |
670 |
|
Summary: %{package_summary} - Romanian |
671 |
|
Group: %{group} |
672 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
673 |
|
%description ro |
674 |
|
%{summary} |
675 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
676 |
|
|
677 |
|
%package ru |
678 |
|
Summary: %{package_summary} - Russian |
679 |
|
Group: %{group} |
680 |
|
Requires: aspell-ru |
681 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
682 |
|
%description ru |
683 |
|
%{summary} |
684 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
685 |
|
|
686 |
%package sl |
%package sl |
687 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
688 |
Group: %{group} |
Group: %{group} |
701 |
%{summary} |
%{summary} |
702 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
703 |
|
|
704 |
|
%package th |
705 |
|
Summary: %{package_summary} - Thai |
706 |
|
Group: %{group} |
707 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
708 |
|
%description th |
709 |
|
%{summary} |
710 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
711 |
|
|
712 |
%package tr |
%package tr |
713 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
714 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
715 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
716 |
%description tr |
%description tr |
717 |
%{summary} |
%{summary} |
718 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
719 |
|
|
720 |
|
%package zh_CN |
721 |
|
Summary: %{package_summary} - Chinese (China) |
722 |
|
Group: %{group} |
723 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
724 |
|
%description zh_CN |
725 |
|
%{summary} |
726 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |