1 |
# $Id: smeserver-locale.spec,v 1.58 2008/11/18 19:48:15 snetram Exp $ |
# $Id: smeserver-locale.spec,v 1.76 2010/03/03 04:04:50 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.0.0 |
%define version 2.0.0 |
7 |
%define release 12 |
%define release 27 |
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 |
24 |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
Patch8: smeserver-locale-2.0.0-locale-2008-11-07.patch |
25 |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
Patch9: smeserver-locale-2.0.0-locale-2008-11-18.patch |
26 |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
Patch10: smeserver-locale-2.0.0-locale-2008-11-19.patch |
27 |
|
Patch11: smeserver-locale-2.0.0-locale-2008-11-30.patch |
28 |
|
Patch12: smeserver-locale-2.0.0-locale-2008-12-31.patch |
29 |
|
Patch13: smeserver-locale-2.0.0-locale-2009-01-31.patch |
30 |
|
Patch14: smeserver-locale-2.0.0-locale-2009-02-09.patch |
31 |
|
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 |
|
Patch23: smeserver-locale-2.0.0-locale-2010-03-02.patch |
40 |
|
Patch24: smeserver-locale-2.0.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.0.0-27.sme |
53 |
|
- apply locale 2010-04-28 patch |
54 |
|
|
55 |
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 2.0.0-26.sme |
56 |
|
- apply locale 2010-03-02 patch |
57 |
|
|
58 |
|
* Sat Feb 27 2010 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-25.sme |
59 |
|
- Apply 2010-02-27 locale patch to sync SME 7 and SME 8 locale tree [SME: 5804] |
60 |
|
|
61 |
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-24.sme |
62 |
|
- apply locale 2009-10-27 patch |
63 |
|
- Add Thai language [SME: 5466] |
64 |
|
|
65 |
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 2.0.0-23.sme |
66 |
|
- apply locale 2009-08-24 patch |
67 |
|
- Add Polish language [SME: 5436] |
68 |
|
|
69 |
|
* Wed May 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-22.sme |
70 |
|
- apply locale 2009-05-27 patch |
71 |
|
- Add Romanian language [SME: 5268] |
72 |
|
|
73 |
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 2.0.0-21.sme |
74 |
|
- apply locale 2009-05-20 patch |
75 |
|
|
76 |
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 2.0.0-20.sme |
77 |
|
- apply locale 2009-04-27 patch |
78 |
|
- Add Estonian language [SME: 5199] |
79 |
|
|
80 |
|
* Tue Mar 03 2009 SME Translation Server |
81 |
|
- re-apply locale 2009-03-03 patch |
82 |
|
|
83 |
|
* Tue Mar 3 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-18.sme |
84 |
|
- Apply 3 Mar 2009 locale patch [SME: 5051] |
85 |
|
|
86 |
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-17.sme |
87 |
|
- Apply 1 Mar 2009 locale patch [SME: 5017] |
88 |
|
- Added missing bug references to changelog entry [SME: 5002] |
89 |
|
|
90 |
|
* Mon Feb 09 2009 Shad L. Lords <slords@mail.com> - 2.0.0-16.sme |
91 |
|
- Add Chineese (China) language [SME: 5002] |
92 |
|
- Add Norwegian (Bokmal) language [SME: 5002] |
93 |
|
- Add Russian language [SME: 5002] |
94 |
|
|
95 |
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-15.sme |
96 |
|
- Apply 31 Jan 2009 locale patch [SME: 4950] |
97 |
|
|
98 |
|
* Wed Dec 31 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-14.sme |
99 |
|
- Apply 31 Dec 2008 locale patch [SME: 4899] |
100 |
|
|
101 |
|
* Sun Nov 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-13.sme |
102 |
|
- Apply 30 Nov 2008 locale patch [SME: 4813] |
103 |
|
|
104 |
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
* Tue Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> - 2.0.0-12.sme |
105 |
- Apply 19 Nov 2008 locale patch [SME: 4748] |
- Apply 19 Nov 2008 locale patch [SME: 4748] |
106 |
|
|
488 |
%patch8 -p1 |
%patch8 -p1 |
489 |
%patch9 -p1 |
%patch9 -p1 |
490 |
%patch10 -p1 |
%patch10 -p1 |
491 |
|
%patch11 -p1 |
492 |
|
%patch12 -p1 |
493 |
|
%patch13 -p1 |
494 |
|
%patch14 -p1 |
495 |
|
%patch15 -p1 |
496 |
|
%patch16 -p1 |
497 |
|
%patch17 -p1 |
498 |
|
%patch18 -p1 |
499 |
|
%patch19 -p1 |
500 |
|
%patch20 -p1 |
501 |
|
%patch21 -p1 |
502 |
|
%patch22 -p1 |
503 |
|
%patch23 -p1 |
504 |
|
%patch24 -p1 |
505 |
|
|
506 |
%build |
%build |
507 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
529 |
echo "%defattr(-,root,root)" > \ |
echo "%defattr(-,root,root)" > \ |
530 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
531 |
|
|
532 |
grep locale/$locale %{name}-%{version}-%{release}-filelist >> \ |
grep -e locale/$locale/ -e locale/$(echo $locale | tr '[:upper:]_' '[:lower:]-')/ \ |
533 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist >> %{name}-%{version}-%{release}-filelist-$locale |
534 |
done |
done |
535 |
|
|
536 |
%clean |
%clean |
581 |
%{summary} |
%{summary} |
582 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
583 |
|
|
584 |
|
%package et |
585 |
|
Summary: %{package_summary} - Estonian |
586 |
|
Group: %{group} |
587 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
588 |
|
%description et |
589 |
|
%{summary} |
590 |
|
%files et -f %{name}-%{version}-%{release}-filelist-et |
591 |
|
|
592 |
%package fr |
%package fr |
593 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
594 |
Group: %{group} |
Group: %{group} |
601 |
%package hu |
%package hu |
602 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
603 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-hu |
|
604 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
605 |
%description hu |
%description hu |
606 |
%{summary} |
%{summary} |
632 |
%{summary} |
%{summary} |
633 |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
%files ja -f %{name}-%{version}-%{release}-filelist-ja |
634 |
|
|
635 |
|
%package nb |
636 |
|
Summary: %{package_summary} - Norwegian (Bokmal) |
637 |
|
Group: %{group} |
638 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
639 |
|
%description nb |
640 |
|
%{summary} |
641 |
|
%files nb -f %{name}-%{version}-%{release}-filelist-nb |
642 |
|
|
643 |
%package nl |
%package nl |
644 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
645 |
Group: %{group} |
Group: %{group} |
649 |
%{summary} |
%{summary} |
650 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
651 |
|
|
652 |
|
%package pl |
653 |
|
Summary: %{package_summary} - Polish |
654 |
|
Group: %{group} |
655 |
|
Requires: aspell-pl |
656 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
657 |
|
%description pl |
658 |
|
%{summary} |
659 |
|
%files pl -f %{name}-%{version}-%{release}-filelist-pl |
660 |
|
|
661 |
%package pt |
%package pt |
662 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
663 |
Group: %{group} |
Group: %{group} |
676 |
%{summary} |
%{summary} |
677 |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
678 |
|
|
679 |
|
%package ro |
680 |
|
Summary: %{package_summary} - Romanian |
681 |
|
Group: %{group} |
682 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
683 |
|
%description ro |
684 |
|
%{summary} |
685 |
|
%files ro -f %{name}-%{version}-%{release}-filelist-ro |
686 |
|
|
687 |
|
%package ru |
688 |
|
Summary: %{package_summary} - Russian |
689 |
|
Group: %{group} |
690 |
|
Requires: aspell-ru |
691 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
692 |
|
%description ru |
693 |
|
%{summary} |
694 |
|
%files ru -f %{name}-%{version}-%{release}-filelist-ru |
695 |
|
|
696 |
%package sl |
%package sl |
697 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
698 |
Group: %{group} |
Group: %{group} |
711 |
%{summary} |
%{summary} |
712 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
713 |
|
|
714 |
|
%package th |
715 |
|
Summary: %{package_summary} - Thai |
716 |
|
Group: %{group} |
717 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
718 |
|
%description th |
719 |
|
%{summary} |
720 |
|
%files th -f %{name}-%{version}-%{release}-filelist-th |
721 |
|
|
722 |
%package tr |
%package tr |
723 |
Summary: %{package_summary} - Turkish |
Summary: %{package_summary} - Turkish |
724 |
Group: %{group} |
Group: %{group} |
|
#Requires: aspell-tr |
|
725 |
Requires: e-smith-formmagick >= 1.4.0-10 |
Requires: e-smith-formmagick >= 1.4.0-10 |
726 |
%description tr |
%description tr |
727 |
%{summary} |
%{summary} |
728 |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
%files tr -f %{name}-%{version}-%{release}-filelist-tr |
729 |
|
|
730 |
|
%package zh_CN |
731 |
|
Summary: %{package_summary} - Chinese (China) |
732 |
|
Group: %{group} |
733 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
734 |
|
%description zh_CN |
735 |
|
%{summary} |
736 |
|
%files zh_CN -f %{name}-%{version}-%{release}-filelist-zh_CN |