1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.77 2010/03/03 04:05:09 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 15 |
%define release 28 |
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 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 |
27 |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
Patch11: smeserver-locale-2.2.0-locale-2008-11-30.patch |
28 |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
Patch12: smeserver-locale-2.2.0-locale-2008-12-31.patch |
29 |
Patch13: smeserver-locale-2.2.0-locale-2009-01-31.patch |
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-28.patch |
41 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
42 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
43 |
BuildRequires: perl |
BuildRequires: perl |
49 |
SME Server localisation module |
SME Server localisation module |
50 |
|
|
51 |
%changelog |
%changelog |
52 |
|
* Wed Apr 28 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
53 |
|
- apply locale 2010-04-28 patch |
54 |
|
|
55 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
56 |
|
- apply locale 2010-03-02 patch |
57 |
|
|
58 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
59 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
60 |
|
- Correct previous changelog entry |
61 |
|
- Apply locale 2010-02-27 patch |
62 |
|
|
63 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
64 |
|
- apply locale 2010-02-25 patch |
65 |
|
|
66 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-24.sme |
67 |
|
- apply locale 2009-10-27 patch |
68 |
|
- Add Thai language [SME: 5466] |
69 |
|
|
70 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.2.0-23.sme |
71 |
|
- apply locale 2009-08-24 patch |
72 |
|
- Add Polish language [SME: 5437] |
73 |
|
|
74 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-22.sme |
75 |
|
- apply locale 2009-05-27 patch |
76 |
|
- Add Romanian language [SME: 5268] |
77 |
|
|
78 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.2.0-21.sme |
79 |
|
- apply locale 2009-05-20 patch |
80 |
|
|
81 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.0-20.sme |
82 |
|
- apply locale 2009-04-27 patch |
83 |
|
- Add Estonian language [SME: 5199] |
84 |
|
|
85 |
|
* Tue Mar 03 2009 SME Translation Server |
86 |
|
- re-apply locale 2009-03-03 patch |
87 |
|
|
88 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-18.sme |
89 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
90 |
|
|
91 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-17.sme |
92 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
93 |
|
- Added missing bug references to changelog entry [SME: 5002] |
94 |
|
|
95 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.2.0-16.sme |
96 |
|
- Add Chineese (China) language [SME: 5002] |
97 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
98 |
|
- Add Russian language [SME: 5002] |
99 |
|
|
100 |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
101 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
102 |
|
|
115 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-10.sme |
116 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
117 |
|
|
118 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-9.sme |
119 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
120 |
|
|
121 |
* 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 |
496 |
%patch11 -p1 |
%patch11 -p1 |
497 |
%patch12 -p1 |
%patch12 -p1 |
498 |
%patch13 -p1 |
%patch13 -p1 |
499 |
|
%patch14 -p1 |
500 |
|
%patch15 -p1 |
501 |
|
%patch16 -p1 |
502 |
|
%patch17 -p1 |
503 |
|
%patch18 -p1 |
504 |
|
%patch19 -p1 |
505 |
|
%patch20 -p1 |
506 |
|
%patch21 -p1 |
507 |
|
%patch22 -p1 |
508 |
|
%patch23 -p1 |
509 |
|
%patch24 -p1 |
510 |
|
|
511 |
%build |
%build |
512 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
534 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
535 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
536 |
|
|
537 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
538 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
539 |
done |
done |
540 |
|
|
541 |
%clean |
%clean |
586 |
%{summary} |
%{summary} |
587 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
588 |
|
|
589 |
|
%package et |
590 |
|
Summary: %{package_summary} - Estonian |
591 |
|
Group: %{group} |
592 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
593 |
|
%description et |
594 |
|
%{summary} |
595 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
596 |
|
|
597 |
%package fr |
%package fr |
598 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
599 |
Group: %{group} |
Group: %{group} |
606 |
%package hu |
%package hu |
607 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
608 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
609 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
610 |
%description hu |
%description hu |
611 |
%{summary} |
%{summary} |
637 |
%{summary} |
%{summary} |
638 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
639 |
|
|
640 |
|
%package nb |
641 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
642 |
|
Group: %{group} |
643 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
644 |
|
%description nb |
645 |
|
%{summary} |
646 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
647 |
|
|
648 |
%package nl |
%package nl |
649 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
650 |
Group: %{group} |
Group: %{group} |
654 |
%{summary} |
%{summary} |
655 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
656 |
|
|
657 |
|
%package pl |
658 |
|
Summary: %{package_summary} - Polish |
659 |
|
Group: %{group} |
660 |
|
Requires: aspell-pl |
661 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
662 |
|
%description pl |
663 |
|
%{summary} |
664 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
665 |
|
|
666 |
%package pt |
%package pt |
667 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
668 |
Group: %{group} |
Group: %{group} |
681 |
%{summary} |
%{summary} |
682 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
683 |
|
|
684 |
|
%package ro |
685 |
|
Summary: %{package_summary} - Romanian |
686 |
|
Group: %{group} |
687 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
688 |
|
%description ro |
689 |
|
%{summary} |
690 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
691 |
|
|
692 |
|
%package ru |
693 |
|
Summary: %{package_summary} - Russian |
694 |
|
Group: %{group} |
695 |
|
Requires: aspell-ru |
696 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
697 |
|
%description ru |
698 |
|
%{summary} |
699 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
700 |
|
|
701 |
%package sl |
%package sl |
702 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
703 |
Group: %{group} |
Group: %{group} |
716 |
%{summary} |
%{summary} |
717 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
718 |
|
|
719 |
|
%package th |
720 |
|
Summary: %{package_summary} - Thai |
721 |
|
Group: %{group} |
722 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
723 |
|
%description th |
724 |
|
%{summary} |
725 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
726 |
|
|
727 |
%package tr |
%package tr |
728 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
729 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
730 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
731 |
%description tr |
%description tr |
732 |
%{summary} |
%{summary} |
733 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
734 |
|
|
735 |
|
%package zh_CN |
736 |
|
Summary: %{package_summary} - Chinese (China) |
737 |
|
Group: %{group} |
738 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
739 |
|
%description zh_CN |
740 |
|
%{summary} |
741 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |