1 |
|
# $Id$ |
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.2.0 |
%define version 1.4.0 |
7 |
%define release 36 |
%define release 8 |
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 de es fr it sv |
%define package_locales da de el es fr hu id it nl pt_BR sl sv |
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 |
Patch0: smeserver-locale-1.2.0-italian_rc1.patch |
Patch1: smeserver-locale-UTF8.patch |
17 |
Patch1: smeserver-locale-1.2.0-onlinemanuallocation.patch |
Patch2: smeserver-locale-remove_pt.patch |
18 |
Patch2: smeserver-locale-1.2.0-onlinemanuallocation1.patch |
Patch3: smeserver-locale-2008-03-18.patch |
19 |
Patch3: smeserver-locale-1.2.0-bug263-01.patch |
Patch4: smeserver-locale-2008-03-25.patch |
20 |
Patch4: smeserver-locale-1.2.0-germanupdates.patch |
Patch5: smeserver-locale-2008-03-26.patch |
21 |
Patch5: smeserver-locale-1.2.0-spanishemailsettingsupdate.patch |
Patch6: smeserver-locale-2008-04-01.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 |
|
|
Patch24: smeserver-locale-1.2.0-frmenusplit.patch |
|
|
Patch26: smeserver-locale-it-1.2.0-SshTcpPort2.patch |
|
|
Patch27: smeserver-locale-it-1.2.0-SystemPasswordTextChange.patch |
|
|
Patch28: smeserver-locale-1.2.0-sshportfrde.patch |
|
|
Patch29: smeserver-locale-1.2.0-sshport_es_update.patch |
|
|
Patch30: smeserver-locale-1.2.0-spanishupdates5.patch |
|
|
Patch31: smeserver-locale-1.2.0-up2date.patch |
|
|
Patch32: smeserver-locale-1.2.0-itHostentries.patch |
|
|
Patch33: smeserver-locale-1.2.0-systemPassword.patch |
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
BuildRequires: perl |
BuildRequires: perl |
25 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
26 |
BuildRequires: gettext |
BuildRequires: gettext |
|
BuildRequires: dos2unix |
|
27 |
AutoReqProv: no |
AutoReqProv: no |
28 |
|
|
29 |
%description |
%description |
30 |
SME Server localisation module |
SME Server localisation module |
31 |
|
|
32 |
%changelog |
%changelog |
33 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
34 |
|
- Update to Apr 1 2008 translations |
35 |
|
|
36 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
37 |
|
- Update to Mar 26 2008 translations |
38 |
|
|
39 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
40 |
|
- Update to Mar 25 2008 translations |
41 |
|
|
42 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
43 |
|
- Fix packages for Brazilian portuguese |
44 |
|
- Update to Mar 18 2008 translations |
45 |
|
|
46 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
47 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
48 |
|
- Add missing aspell module requires |
49 |
|
|
50 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
51 |
|
- Fix requires to require e-smith-formmagick [SME: 3858] |
52 |
|
|
53 |
|
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-2 |
54 |
|
- Convert panels to UTF-8 [SME: 3858] |
55 |
|
|
56 |
|
* Fri Mar 7 2008 Shad L. Lords <slords@mail.com> 1.4.0-1 |
57 |
|
- Roll new stream and considate patches |
58 |
|
|
59 |
|
* Wed Mar 05 2008 Stephen Noble <support@dungog.net> 1.2.0-58 |
60 |
|
- fix conversions for tags with CDATA or marked fuzzy [SME: 4014] |
61 |
|
|
62 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-57 |
63 |
|
- add translations for Brazilian portuguese [SME: 63] |
64 |
|
|
65 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-56 |
66 |
|
- add translations for Slovian [SME: 892] |
67 |
|
|
68 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-55 |
69 |
|
- add translations for Dutch [SME: 2737] |
70 |
|
|
71 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-54 |
72 |
|
- add translations for Indonesian [SME: 3260] |
73 |
|
|
74 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-53 |
75 |
|
- add translations for Greek [SME: 1690] |
76 |
|
|
77 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-52 |
78 |
|
- add translations for Danish [SME: 2688] |
79 |
|
|
80 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-51 |
81 |
|
- update translations for Swedish [SME: 3934] |
82 |
|
|
83 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-50 |
84 |
|
- update translations for Spanish [SME: 3937] |
85 |
|
|
86 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-49 |
87 |
|
- update translations for Italian [SME: 3936] |
88 |
|
|
89 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-48 |
90 |
|
- update translations for French [SME: 3935] |
91 |
|
|
92 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-47 |
93 |
|
- update translations for German [SME: 3933] |
94 |
|
|
95 |
|
* Sun Feb 17 2008 Stephen Noble <support@dungog.net> 1.2.0-46 |
96 |
|
- update po files, include script to recreate, in .src.rpm only [SME: 3833] |
97 |
|
|
98 |
|
* Fri Feb 15 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
99 |
|
- rename de and it quota .po files with .tmpl [SME: 3834] |
100 |
|
|
101 |
|
* Sat Feb 09 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
102 |
|
- Remove redundant germam lexicon reinstall [SME: 3881] |
103 |
|
|
104 |
|
* Thu Jan 31 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
105 |
|
- Fix fr translation for smtp header in email panels. [SME: 3831] |
106 |
|
|
107 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-42 |
108 |
|
- Update de, es, fr and sv translations for yum panel. [SME: 2090] |
109 |
|
|
110 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-41 |
111 |
|
- Update de, fr and sv translations for smtp header in email panels. [SME: 2305] |
112 |
|
|
113 |
|
* Sat Jan 26 2008 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
114 |
|
- Update de, es, fr and sv translations for email panels. [SME: 2296] |
115 |
|
|
116 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-39 |
117 |
|
- Italian update for SMTP server [SME: 2305] |
118 |
|
|
119 |
|
* Mon Jan 21 2008 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-38 |
120 |
|
- Italian translations for yum and email panels [SME: 2090] [SME: 2296] |
121 |
|
|
122 |
|
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-37 |
123 |
|
- Add SSH_PORT for sv [SME: 3748] |
124 |
|
|
125 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36 |
* Sat Jan 19 2008 Stephen Noble <support@dungog.net> 1.2.0-36 |
126 |
- System password change made consistant [SME: 3533] |
- System password change made consistant [SME: 3533] |
127 |
|
|
328 |
|
|
329 |
%prep |
%prep |
330 |
%setup |
%setup |
|
%patch0 -p1 |
|
331 |
%patch1 -p1 |
%patch1 -p1 |
332 |
%patch2 -p1 |
%patch2 -p1 |
333 |
%patch3 -p1 |
%patch3 -p1 |
334 |
%patch4 -p1 |
%patch4 -p1 |
335 |
%patch5 -p1 |
%patch5 -p1 |
336 |
%patch6 -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 |
|
|
%patch24 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
|
|
|
%post |
|
337 |
|
|
338 |
%build |
%build |
339 |
LEXICONS=$((find root/etc/e-smith/locale -type f) \ |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
|
| grep -v CVS | grep -v pleasewait) |
|
|
|
|
340 |
for file in $LEXICONS |
for file in $LEXICONS |
341 |
do |
do |
|
/usr/bin/dos2unix $file |
|
342 |
/sbin/e-smith/validate-lexicon $file |
/sbin/e-smith/validate-lexicon $file |
343 |
done |
done |
344 |
|
|
350 |
/sbin/e-smith/generate-lexicons |
/sbin/e-smith/generate-lexicons |
351 |
|
|
352 |
%install |
%install |
|
set -x |
|
|
|
|
353 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
354 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
355 |
|
|
|
# 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 |
|
|
|
|
356 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
357 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
358 |
|
|
365 |
%{name}-%{version}-%{release}-filelist-$locale |
%{name}-%{version}-%{release}-filelist-$locale |
366 |
done |
done |
367 |
|
|
|
# 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 |
|
|
|
|
368 |
%clean |
%clean |
369 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
370 |
|
|
371 |
|
%package da |
372 |
|
Summary: %{package_summary} - Danish |
373 |
|
Group: %{group} |
374 |
|
Requires: aspell-da |
375 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
376 |
|
%description da |
377 |
|
%{summary} |
378 |
|
%files da -f %{name}-%{version}-%{release}-filelist-da |
379 |
|
|
380 |
%package de |
%package de |
381 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
382 |
Group: %{group} |
Group: %{group} |
383 |
Requires: aspell-de |
Requires: aspell-de |
384 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
385 |
%description de |
%description de |
386 |
%{summary} |
%{summary} |
387 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
388 |
|
|
389 |
|
%package el |
390 |
|
Summary: %{package_summary} - Greek |
391 |
|
Group: %{group} |
392 |
|
Requires: aspell-el |
393 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
394 |
|
%description el |
395 |
|
%{summary} |
396 |
|
%files el -f %{name}-%{version}-%{release}-filelist-el |
397 |
|
|
398 |
%package es |
%package es |
399 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
400 |
Group: %{group} |
Group: %{group} |
401 |
Requires: aspell-es |
Requires: aspell-es |
402 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
403 |
%description es |
%description es |
404 |
%{summary} |
%{summary} |
405 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
408 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
409 |
Group: %{group} |
Group: %{group} |
410 |
Requires: aspell-fr |
Requires: aspell-fr |
411 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
412 |
%description fr |
%description fr |
413 |
%{summary} |
%{summary} |
414 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
415 |
|
|
416 |
|
%package hu |
417 |
|
Summary: %{package_summary} - Hungarian |
418 |
|
Group: %{group} |
419 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
420 |
|
%description hu |
421 |
|
%{summary} |
422 |
|
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
423 |
|
|
424 |
|
%package id |
425 |
|
Summary: %{package_summary} - Indonesian |
426 |
|
Group: %{group} |
427 |
|
Requires: aspell-id |
428 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
429 |
|
%description id |
430 |
|
%{summary} |
431 |
|
%files id -f %{name}-%{version}-%{release}-filelist-id |
432 |
|
|
433 |
%package it |
%package it |
434 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
435 |
Group: %{group} |
Group: %{group} |
436 |
Requires: aspell-it |
Requires: aspell-it |
437 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
438 |
%description it |
%description it |
439 |
%{summary} |
%{summary} |
440 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
441 |
|
|
442 |
|
%package nl |
443 |
|
Summary: %{package_summary} - Dutch |
444 |
|
Group: %{group} |
445 |
|
Requires: aspell-nl |
446 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
447 |
|
%description nl |
448 |
|
%{summary} |
449 |
|
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
450 |
|
|
451 |
|
%package pt_BR |
452 |
|
Summary: %{package_summary} - Portugese |
453 |
|
Group: %{group} |
454 |
|
Requires: aspell-pt |
455 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
456 |
|
%description pt_BR |
457 |
|
%{summary} |
458 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
459 |
|
|
460 |
|
%package sl |
461 |
|
Summary: %{package_summary} - Slovinian |
462 |
|
Group: %{group} |
463 |
|
Requires: aspell-sl |
464 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
465 |
|
%description sl |
466 |
|
%{summary} |
467 |
|
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
468 |
|
|
469 |
%package sv |
%package sv |
470 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
471 |
Group: %{group} |
Group: %{group} |
472 |
Requires: aspell-sv |
Requires: aspell-sv |
473 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
474 |
%description sv |
%description sv |
475 |
%{summary} |
%{summary} |
476 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |