1 |
Summary: SME Server localisation module |
Summary: SME Server localisation module |
2 |
%define name smeserver-locale |
%define name smeserver-locale |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2.0 |
%define version 1.4.0 |
5 |
%define release 26 |
%define release 7 |
6 |
%define package_summary SME Server localisation module |
%define package_summary SME Server localisation module |
7 |
%define group Applications/System |
%define group Applications/System |
8 |
%define package_locales de es fr it sv |
%define package_locales da de el es fr hu id it nl pt_BR sl sv |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Group: Networking/Daemons |
Group: Networking/Daemons |
13 |
Source: %{name}-%{version}.tar.gz |
Source: %{name}-%{version}.tar.gz |
14 |
Patch0: smeserver-locale-1.2.0-italian_rc1.patch |
Patch1: smeserver-locale-UTF8.patch |
15 |
Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch |
Patch2: smeserver-locale-remove_pt.patch |
16 |
Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch |
Patch3: smeserver-locale-2008-03-18.patch |
17 |
Patch3: smeserver-locale-1.2.0-bug263-01.patch |
Patch4: smeserver-locale-2008-03-25.patch |
18 |
Patch4: smeserver-locale-1.2.0-germanupdates.patch |
Patch5: smeserver-locale-2008-03-26.patch |
|
Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch |
|
|
Patch6: smeserver-locale-1.2.0-germanupdates1.patch |
|
|
Patch7: smeserver-locale-1.2.0-bug1001-01.patch |
|
|
Patch8: smeserver-locale-1.2.0-italian_rc4.patch |
|
|
Patch9: smeserver-locale-1.2.0-initialtext.patch |
|
|
Patch10: smeserver-locale-1.2.0-initialtext.patch2 |
|
|
Patch11: smeserver-locale-1.2.0-initialtext.patch3 |
|
|
Patch12: smeserver-locale-1.2.0-initialtext-fr.patch |
|
|
patch13: smeserver-locale-1.2.0-novirtual.patch |
|
|
Patch14: smeserver-locale-1.2.0-SwedishPanelTranslations.patch |
|
|
Patch15: smeserver-locale-1.2.0-novirtualsvitfr.patch |
|
|
Patch16: smeserver-locale-1.2.0-SwedishConsoleTranslations.patch |
|
|
Patch17: smeserver-locale-1.2.0-spanishupdates2.patch |
|
|
Patch18: smeserver-locale-1.2.0-spanishupdates3.patch |
|
|
Patch19: smeserver-locale-1.2.0-germanupdates2.patch |
|
|
Patch20: smeserver-locale-1.2.0-germanupdates3.patch |
|
|
Patch21: smeserver-locale-1.2.0-spanishupdates4.patch |
|
|
Patch22: smeserver-locale-1.2.0-italian_backupusb1.patch |
|
|
Patch23: smeserver-locale-1.2.0-italian_standby.patch |
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
BuildRequires: perl |
BuildRequires: perl |
22 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
23 |
BuildRequires: gettext |
BuildRequires: gettext |
|
BuildRequires: dos2unix |
|
24 |
AutoReqProv: no |
AutoReqProv: no |
25 |
|
|
26 |
%description |
%description |
27 |
SME Server localisation module |
SME Server localisation module |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
31 |
|
- Update to Mar 26 2008 translations |
32 |
|
|
33 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
34 |
|
- Update to Mar 25 2008 translations |
35 |
|
|
36 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
37 |
|
- Fix packages for Brazilian portuguese |
38 |
|
- Update to Mar 18 2008 translations |
39 |
|
|
40 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
41 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
42 |
|
- Add missing aspell module requires |
43 |
|
|
44 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
45 |
|
- Fix requires to require e-smith-formmagick [SME: 3858] |
46 |
|
|
47 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2 |
48 |
|
- Convert panels to UTF-8 [SME: 3858] |
49 |
|
|
50 |
|
* Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1 |
51 |
|
- Roll new stream and considate patches |
52 |
|
|
53 |
|
* Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58 |
54 |
|
- fix conversions for tags with CDATA or marked fuzzy [SME: 4014] |
55 |
|
|
56 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57 |
57 |
|
- add translations for Brazilian portuguese [SME: 63] |
58 |
|
|
59 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56 |
60 |
|
- add translations for Slovian [SME: 892] |
61 |
|
|
62 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55 |
63 |
|
- add translations for Dutch [SME: 2737] |
64 |
|
|
65 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54 |
66 |
|
- add translations for Indonesian [SME: 3260] |
67 |
|
|
68 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53 |
69 |
|
- add translations for Greek [SME: 1690] |
70 |
|
|
71 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
72 |
|
- add translations for Danish [SME: 2688] |
73 |
|
|
74 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51 |
75 |
|
- update translations for Swedish [SME: 3934] |
76 |
|
|
77 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
78 |
|
- update translations for Spanish [SME: 3937] |
79 |
|
|
80 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
81 |
|
- update translations for Italian [SME: 3936] |
82 |
|
|
83 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48 |
84 |
|
- update translations for French [SME: 3935] |
85 |
|
|
86 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47 |
87 |
|
- update translations for German [SME: 3933] |
88 |
|
|
89 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
90 |
|
- update po files, include script to recreate, in .src.rpm only [SME: 3833] |
91 |
|
|
92 |
|
* Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
93 |
|
- rename de and it quota .po files with .tmpl [SME: 3834] |
94 |
|
|
95 |
|
* Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
96 |
|
- Remove redundant germam lexicon reinstall [SME: 3881] |
97 |
|
|
98 |
|
* Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
99 |
|
- Fix fr translation for smtp header in email panels. [SME: 3831] |
100 |
|
|
101 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42 |
102 |
|
- Update de, es, fr and sv translations for yum panel. [SME: 2090] |
103 |
|
|
104 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41 |
105 |
|
- Update de, fr and sv translations for smtp header in email panels. [SME: 2305] |
106 |
|
|
107 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
108 |
|
- Update de, es, fr and sv translations for email panels. [SME: 2296] |
109 |
|
|
110 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39 |
111 |
|
- Italian update for SMTP server [SME: 2305] |
112 |
|
|
113 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38 |
114 |
|
- Italian translations for yum and email panels [SME: 2090] [SME: 2296] |
115 |
|
|
116 |
|
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37 |
117 |
|
- Add SSH_PORT for sv [SME: 3748] |
118 |
|
|
119 |
|
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36 |
120 |
|
- System password change made consistant [SME: 3533] |
121 |
|
|
122 |
|
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-35 |
123 |
|
- Add Add Italian entries to hostentries [SME: 3207] |
124 |
|
|
125 |
|
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-34 |
126 |
|
- Add yum uptodate message [SME: 3768] |
127 |
|
|
128 |
|
* Mon Jan 14 2008 Gavin Weight <gweight@gmail.com> 1.2.0-33 |
129 |
|
- Update Spanish translation for panels. (Thanks Normando Hall) [SME: 3751] |
130 |
|
|
131 |
|
* Sat Jan 12 2008 Gavin Weight <gweight@gmail.com> 1.2.0-32 |
132 |
|
- Add SSH_PORT spanish translation update. [SME: 3746] |
133 |
|
|
134 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-31 |
135 |
|
- Add SSH_PORT for fr and de [SME: 3215] |
136 |
|
|
137 |
|
* Fri Oct 19 2007 Gavin Weight <gweight@gmail.com> 1.2.0-30 |
138 |
|
- Adjust italian success text when changing admin pass. (Thanks Filippo) [SME: 3473] |
139 |
|
|
140 |
|
* Thu Oct 18 2007 Gavin Weight <gweight@gmail.com> 1.2.0-29 |
141 |
|
- Add missing localization again. (Thanks Federico). [SME: 3149] |
142 |
|
|
143 |
|
* Wed Oct 10 2007 Charlie Brady <charlie_brady@mitel.com> |
144 |
|
- Add missing localization (Thanks Federico). [SME: 3149] |
145 |
|
|
146 |
|
* Fri Jun 15 2007 Stephen Noble <support@dungog.net> 1.2.0-27 |
147 |
|
- Update French clamav lexicon [SME: 3012] |
148 |
|
|
149 |
* Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26 |
* Thu Jun 14 2007 Gavin Weight <gweight@gmail.com> 1.2.0-26 |
150 |
- Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937] |
- Updated stand by text in bootstrap-console Translation. (Thanks Federico) [SME: 2937] |
151 |
|
|
322 |
|
|
323 |
%prep |
%prep |
324 |
%setup |
%setup |
|
%patch0 -p1 |
|
325 |
%patch1 -p1 |
%patch1 -p1 |
326 |
%patch2 -p1 |
%patch2 -p1 |
327 |
%patch3 -p1 |
%patch3 -p1 |
328 |
%patch4 -p1 |
%patch4 -p1 |
329 |
%patch5 -p1 |
%patch5 -p1 |
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
|
%patch22 -p1 |
|
|
%patch23 -p1 |
|
|
%post |
|
330 |
|
|
331 |
%build |
%build |
332 |
LEXICONS=$((find root/etc/e-smith/locale -type f) \ |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
|
| grep -v CVS | grep -v pleasewait) |
|
|
|
|
333 |
for file in $LEXICONS |
for file in $LEXICONS |
334 |
do |
do |
|
/usr/bin/dos2unix $file |
|
335 |
/sbin/e-smith/validate-lexicon $file |
/sbin/e-smith/validate-lexicon $file |
336 |
done |
done |
337 |
|
|
343 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
344 |
|
|
345 |
%install |
%install |
|
set -x |
|
|
|
|
346 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
347 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
348 |
|
|
|
# These live in the base packages - copied here to ease translation |
|
|
# and to make it easier to see when the base changes |
|
|
rm -rf $RPM_BUILD_ROOT/usr/share/locale/en_US |
|
|
rm -rf $RPM_BUILD_ROOT/etc/e-smith/local/en-us |
|
|
|
|
349 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
350 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
351 |
|
|
358 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
359 |
done |
done |
360 |
|
|
|
# cat >/tmp/pkgmap <<HERE |
|
|
# LPRng printers |
|
|
# base groups|initial.cgi|localnetworks|reboot|remoteaccess|review|useraccounts|userpassword |
|
|
# backup backup |
|
|
# clamav clamav |
|
|
# domains domains |
|
|
# email emailsettings|pseudonyms |
|
|
# formmagick FormMagick |
|
|
# hosts hostentries |
|
|
# ibays ibays |
|
|
# ldap directory |
|
|
# ntp datetime |
|
|
# portforwarding portforwarding |
|
|
# support online-manual|support |
|
|
# proxy proxy |
|
|
# qmailanalog qmailanalog |
|
|
# quota quota |
|
|
# samba workgroup |
|
|
# starterwebsite starterwebsite |
|
|
# viewlogfiles viewlogfiles |
|
|
# yum yum |
|
|
# HERE |
|
|
# |
|
|
# cat /tmp/pkgmap | while read pkg parts |
|
|
# do |
|
|
# for locale in %{package_locales} |
|
|
# do |
|
|
# egrep $parts %{name}-%{version}-%{release}-filelist-$locale \ |
|
|
# %{name}-%{version}-%{release}-filelist-$locale-$pkg |
|
|
# done |
|
|
# done |
|
|
|
|
361 |
%clean |
%clean |
362 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
363 |
|
|
364 |
|
%package da |
365 |
|
Summary: %{package_summary} - Danish |
366 |
|
Group: %{group} |
367 |
|
Requires: aspell-da |
368 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
369 |
|
%description da |
370 |
|
%{summary} |
371 |
|
%files da -f %{name}-%{version}-%{release}-filelist-da |
372 |
|
|
373 |
%package de |
%package de |
374 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
375 |
Group: %{group} |
Group: %{group} |
376 |
Requires: aspell-de |
Requires: aspell-de |
377 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
378 |
%description de |
%description de |
379 |
%{summary} |
%{summary} |
380 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
381 |
|
|
382 |
|
%package el |
383 |
|
Summary: %{package_summary} - Greek |
384 |
|
Group: %{group} |
385 |
|
Requires: aspell-el |
386 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
387 |
|
%description el |
388 |
|
%{summary} |
389 |
|
%files el -f %{name}-%{version}-%{release}-filelist-el |
390 |
|
|
391 |
%package es |
%package es |
392 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
393 |
Group: %{group} |
Group: %{group} |
394 |
Requires: aspell-es |
Requires: aspell-es |
395 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
396 |
%description es |
%description es |
397 |
%{summary} |
%{summary} |
398 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
401 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
402 |
Group: %{group} |
Group: %{group} |
403 |
Requires: aspell-fr |
Requires: aspell-fr |
404 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
405 |
%description fr |
%description fr |
406 |
%{summary} |
%{summary} |
407 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
408 |
|
|
409 |
|
%package hu |
410 |
|
Summary: %{package_summary} - Hungarian |
411 |
|
Group: %{group} |
412 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
413 |
|
%description hu |
414 |
|
%{summary} |
415 |
|
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
416 |
|
|
417 |
|
%package id |
418 |
|
Summary: %{package_summary} - Indonesian |
419 |
|
Group: %{group} |
420 |
|
Requires: aspell-id |
421 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
422 |
|
%description id |
423 |
|
%{summary} |
424 |
|
%files id -f %{name}-%{version}-%{release}-filelist-id |
425 |
|
|
426 |
%package it |
%package it |
427 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
428 |
Group: %{group} |
Group: %{group} |
429 |
Requires: aspell-it |
Requires: aspell-it |
430 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
431 |
%description it |
%description it |
432 |
%{summary} |
%{summary} |
433 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
434 |
|
|
435 |
|
%package nl |
436 |
|
Summary: %{package_summary} - Dutch |
437 |
|
Group: %{group} |
438 |
|
Requires: aspell-nl |
439 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
440 |
|
%description nl |
441 |
|
%{summary} |
442 |
|
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
443 |
|
|
444 |
|
%package pt_BR |
445 |
|
Summary: %{package_summary} - Portugese |
446 |
|
Group: %{group} |
447 |
|
Requires: aspell-pt |
448 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
449 |
|
%description pt_BR |
450 |
|
%{summary} |
451 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
452 |
|
|
453 |
|
%package sl |
454 |
|
Summary: %{package_summary} - Slovinian |
455 |
|
Group: %{group} |
456 |
|
Requires: aspell-sl |
457 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
458 |
|
%description sl |
459 |
|
%{summary} |
460 |
|
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
461 |
|
|
462 |
%package sv |
%package sv |
463 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
464 |
Group: %{group} |
Group: %{group} |
465 |
Requires: aspell-sv |
Requires: aspell-sv |
466 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
467 |
%description sv |
%description sv |
468 |
%{summary} |
%{summary} |
469 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |