1 |
# $Id: smeserver-locale.spec,v 1.61 2009/01/31 07:51:24 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.80 2010/04/29 14:39:03 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 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 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-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 |
|
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 2.2.0-29.sme |
54 |
|
- apply locale 2010-05-23 patch |
55 |
|
|
56 |
|
* Thu Apr 29 2010 SME Translation Server <translations@contribs.org> 2.2.0-28.sme |
57 |
|
- apply locale 2010-04-29 patch |
58 |
|
|
59 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.2.0-27.sme |
60 |
|
- apply locale 2010-03-02 patch |
61 |
|
|
62 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-26.sme |
63 |
|
- Revert previous patch to resync with generated patches based on SME Server 7 [SME: 5803] |
64 |
|
- Correct previous changelog entry |
65 |
|
- Apply locale 2010-02-27 patch |
66 |
|
|
67 |
|
* Thu Feb 25 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-25.sme |
68 |
|
- apply locale 2010-02-25 patch |
69 |
|
|
70 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.2.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.2.0-23.sme |
75 |
|
- apply locale 2009-08-24 patch |
76 |
|
- Add Polish language [SME: 5437] |
77 |
|
|
78 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.2.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.2.0-21.sme |
83 |
|
- apply locale 2009-05-20 patch |
84 |
|
|
85 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.2.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.2.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.2.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.2.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.2.0-15.sme |
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.2.0-15.sme |
105 |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
- Apply 31 Jan 2009 locale patch [SME: 4950] |
106 |
|
|
119 |
* 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 |
120 |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
- Apply 7 Nov 2008 locale patch [SME: 4748] |
121 |
|
|
122 |
* 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 |
123 |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
- Apply 6 Nov 2008 locale patch [SME: 4746] |
124 |
|
|
125 |
* 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 |
500 |
%patch11 -p1 |
%patch11 -p1 |
501 |
%patch12 -p1 |
%patch12 -p1 |
502 |
%patch13 -p1 |
%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 |
|
|
516 |
%build |
%build |
517 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
539 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
540 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
541 |
|
|
542 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
543 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
544 |
done |
done |
545 |
|
|
546 |
%clean |
%clean |
591 |
%{summary} |
%{summary} |
592 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
593 |
|
|
594 |
|
%package et |
595 |
|
Summary: %{package_summary} - Estonian |
596 |
|
Group: %{group} |
597 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
598 |
|
%description et |
599 |
|
%{summary} |
600 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
601 |
|
|
602 |
%package fr |
%package fr |
603 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
604 |
Group: %{group} |
Group: %{group} |
611 |
%package hu |
%package hu |
612 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
613 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
614 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
615 |
%description hu |
%description hu |
616 |
%{summary} |
%{summary} |
642 |
%{summary} |
%{summary} |
643 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
644 |
|
|
645 |
|
%package nb |
646 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
647 |
|
Group: %{group} |
648 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
649 |
|
%description nb |
650 |
|
%{summary} |
651 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
652 |
|
|
653 |
%package nl |
%package nl |
654 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
655 |
Group: %{group} |
Group: %{group} |
659 |
%{summary} |
%{summary} |
660 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
661 |
|
|
662 |
|
%package pl |
663 |
|
Summary: %{package_summary} - Polish |
664 |
|
Group: %{group} |
665 |
|
Requires: aspell-pl |
666 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
667 |
|
%description pl |
668 |
|
%{summary} |
669 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
670 |
|
|
671 |
%package pt |
%package pt |
672 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
673 |
Group: %{group} |
Group: %{group} |
686 |
%{summary} |
%{summary} |
687 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
688 |
|
|
689 |
|
%package ro |
690 |
|
Summary: %{package_summary} - Romanian |
691 |
|
Group: %{group} |
692 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
693 |
|
%description ro |
694 |
|
%{summary} |
695 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
696 |
|
|
697 |
|
%package ru |
698 |
|
Summary: %{package_summary} - Russian |
699 |
|
Group: %{group} |
700 |
|
Requires: aspell-ru |
701 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
702 |
|
%description ru |
703 |
|
%{summary} |
704 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
705 |
|
|
706 |
%package sl |
%package sl |
707 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
708 |
Group: %{group} |
Group: %{group} |
721 |
%{summary} |
%{summary} |
722 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
723 |
|
|
724 |
|
%package th |
725 |
|
Summary: %{package_summary} - Thai |
726 |
|
Group: %{group} |
727 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
728 |
|
%description th |
729 |
|
%{summary} |
730 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
731 |
|
|
732 |
%package tr |
%package tr |
733 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
734 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
735 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
736 |
%description tr |
%description tr |
737 |
%{summary} |
%{summary} |
738 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
739 |
|
|
740 |
|
%package zh_CN |
741 |
|
Summary: %{package_summary} - Chinese (China) |
742 |
|
Group: %{group} |
743 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
744 |
|
%description zh_CN |
745 |
|
%{summary} |
746 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |