1 |
|
# $Id: smeserver-locale.spec,v 1.37 2008/09/27 11:07:13 dungog 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 1.4.0 |
%define version 1.4.0 |
7 |
%define release 3 |
%define release 15 |
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 da de el es fr hu id it nl pt sl sv |
%define package_locales bg da de el es fr hu id it nl pt pt_BR sl sv tr |
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 |
Patch1: smeserver-locale-UTF8.patch |
Patch1: smeserver-locale-UTF8.patch |
17 |
|
Patch2: smeserver-locale-remove_pt.patch |
18 |
|
Patch3: smeserver-locale-2008-03-18.patch |
19 |
|
Patch4: smeserver-locale-2008-03-25.patch |
20 |
|
Patch5: smeserver-locale-2008-03-26.patch |
21 |
|
Patch6: smeserver-locale-2008-04-01.patch |
22 |
|
Patch7: smeserver-locale-2008-05-05.patch |
23 |
|
Patch8: smeserver-locale-2008-06-27.patch |
24 |
|
Patch9: smeserver-locale-2008-07-01.patch |
25 |
|
Patch10: smeserver-locale-1.4.0-locale-2008-07-26.patch |
26 |
|
Patch11: smeserver-locale-1.4.0-locale-2008-09-27.patch |
27 |
|
Patch12: smeserver-locale-1.4.0-locale-2008-09-30.patch |
28 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
|
Requires: e-smith-formmagick = 1.4.0-10 |
|
30 |
BuildRequires: perl |
BuildRequires: perl |
31 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
32 |
BuildRequires: gettext |
BuildRequires: gettext |
36 |
SME Server localisation module |
SME Server localisation module |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Tue Sep 30 2008 Stephen Noble <support@dungog.net> - 1.4.0-15 |
40 |
|
- Apply locale patch |
41 |
|
|
42 |
|
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.4.0-14 |
43 |
|
- Apply locale patch |
44 |
|
|
45 |
|
* Sat Jul 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-13 |
46 |
|
- Apply Jul 26 2008 locale patch |
47 |
|
- Add Portuguese language |
48 |
|
- Add Turkish language |
49 |
|
|
50 |
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-12 |
51 |
|
- Apply 1 July 2008 locale patch |
52 |
|
|
53 |
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-11 |
54 |
|
- Apply 27 Jun 2008 locale patch |
55 |
|
|
56 |
|
* Tue May 5 2008 Shad L. Lords <slords@mail.com> 1.4.0-10 |
57 |
|
- Update to May 5 2008 translations |
58 |
|
- Revert Apr 23 2008 translations (bad patch) |
59 |
|
|
60 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.4.0-9 |
61 |
|
- Update to Apr 23 2008 translations |
62 |
|
|
63 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.4.0-8 |
64 |
|
- Update to Apr 1 2008 translations |
65 |
|
|
66 |
|
* Wed Mar 26 2008 Shad L. Lords <slords@mail.com> 1.4.0-7 |
67 |
|
- Update to Mar 26 2008 translations |
68 |
|
|
69 |
|
* Tue Mar 25 2008 Shad L. Lords <slords@mail.com> 1.4.0-6 |
70 |
|
- Update to Mar 25 2008 translations |
71 |
|
|
72 |
|
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.4.0-5 |
73 |
|
- Fix packages for Brazilian portuguese |
74 |
|
- Update to Mar 18 2008 translations |
75 |
|
|
76 |
|
* Tue Mar 11 2008 Shad L. Lords <slords@mail.com> 1.4.0-4 |
77 |
|
- Move requires e-smith-formmagick to correct places [SME: 3858] |
78 |
|
- Add missing aspell module requires |
79 |
|
|
80 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
* Mon Mar 10 2008 Shad L. Lords <slords@mail.com> 1.4.0-3 |
81 |
- Fix requires to require e-smith-formmagick [SME: 3858] |
- Fix requires to require e-smith-formmagick [SME: 3858] |
82 |
|
|
359 |
%prep |
%prep |
360 |
%setup |
%setup |
361 |
%patch1 -p1 |
%patch1 -p1 |
362 |
|
%patch2 -p1 |
363 |
|
%patch3 -p1 |
364 |
|
%patch4 -p1 |
365 |
|
%patch5 -p1 |
366 |
|
%patch6 -p1 |
367 |
|
%patch7 -p1 |
368 |
|
%patch8 -p1 |
369 |
|
%patch9 -p1 |
370 |
|
%patch10 -p1 |
371 |
|
%patch11 -p1 |
372 |
|
%patch12 -p1 |
373 |
|
|
374 |
%build |
%build |
375 |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
LEXICONS=$(find root/etc/e-smith/locale -type f) |
404 |
%clean |
%clean |
405 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
406 |
|
|
407 |
|
%package bg |
408 |
|
Summary: %{package_summary} - Bulgarian |
409 |
|
Group: %{group} |
410 |
|
Requires: aspell-bg |
411 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
412 |
|
%description bg |
413 |
|
%{summary} |
414 |
|
%files bg -f %{name}-%{version}-%{release}-filelist-bg |
415 |
|
|
416 |
%package da |
%package da |
417 |
Summary: %{package_summary} - Danish |
Summary: %{package_summary} - Danish |
418 |
Group: %{group} |
Group: %{group} |
419 |
|
Requires: aspell-da |
420 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
421 |
%description da |
%description da |
422 |
%{summary} |
%{summary} |
423 |
%files da -f %{name}-%{version}-%{release}-filelist-da |
%files da -f %{name}-%{version}-%{release}-filelist-da |
426 |
Summary: %{package_summary} - German |
Summary: %{package_summary} - German |
427 |
Group: %{group} |
Group: %{group} |
428 |
Requires: aspell-de |
Requires: aspell-de |
429 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
430 |
%description de |
%description de |
431 |
%{summary} |
%{summary} |
432 |
%files de -f %{name}-%{version}-%{release}-filelist-de |
%files de -f %{name}-%{version}-%{release}-filelist-de |
434 |
%package el |
%package el |
435 |
Summary: %{package_summary} - Greek |
Summary: %{package_summary} - Greek |
436 |
Group: %{group} |
Group: %{group} |
437 |
|
Requires: aspell-el |
438 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
439 |
%description el |
%description el |
440 |
%{summary} |
%{summary} |
441 |
%files el -f %{name}-%{version}-%{release}-filelist-el |
%files el -f %{name}-%{version}-%{release}-filelist-el |
444 |
Summary: %{package_summary} - Spanish |
Summary: %{package_summary} - Spanish |
445 |
Group: %{group} |
Group: %{group} |
446 |
Requires: aspell-es |
Requires: aspell-es |
447 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
448 |
%description es |
%description es |
449 |
%{summary} |
%{summary} |
450 |
%files es -f %{name}-%{version}-%{release}-filelist-es |
%files es -f %{name}-%{version}-%{release}-filelist-es |
453 |
Summary: %{package_summary} - French |
Summary: %{package_summary} - French |
454 |
Group: %{group} |
Group: %{group} |
455 |
Requires: aspell-fr |
Requires: aspell-fr |
456 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
457 |
%description fr |
%description fr |
458 |
%{summary} |
%{summary} |
459 |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
%files fr -f %{name}-%{version}-%{release}-filelist-fr |
461 |
%package hu |
%package hu |
462 |
Summary: %{package_summary} - Hungarian |
Summary: %{package_summary} - Hungarian |
463 |
Group: %{group} |
Group: %{group} |
464 |
|
#Requires: aspell-hu |
465 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
466 |
%description hu |
%description hu |
467 |
%{summary} |
%{summary} |
468 |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
%files hu -f %{name}-%{version}-%{release}-filelist-hu |
470 |
%package id |
%package id |
471 |
Summary: %{package_summary} - Indonesian |
Summary: %{package_summary} - Indonesian |
472 |
Group: %{group} |
Group: %{group} |
473 |
|
Requires: aspell-id |
474 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
475 |
%description id |
%description id |
476 |
%{summary} |
%{summary} |
477 |
%files id -f %{name}-%{version}-%{release}-filelist-id |
%files id -f %{name}-%{version}-%{release}-filelist-id |
480 |
Summary: %{package_summary} - Italian |
Summary: %{package_summary} - Italian |
481 |
Group: %{group} |
Group: %{group} |
482 |
Requires: aspell-it |
Requires: aspell-it |
483 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
484 |
%description it |
%description it |
485 |
%{summary} |
%{summary} |
486 |
%files it -f %{name}-%{version}-%{release}-filelist-it |
%files it -f %{name}-%{version}-%{release}-filelist-it |
488 |
%package nl |
%package nl |
489 |
Summary: %{package_summary} - Dutch |
Summary: %{package_summary} - Dutch |
490 |
Group: %{group} |
Group: %{group} |
491 |
|
Requires: aspell-nl |
492 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
493 |
%description nl |
%description nl |
494 |
%{summary} |
%{summary} |
495 |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
%files nl -f %{name}-%{version}-%{release}-filelist-nl |
497 |
%package pt |
%package pt |
498 |
Summary: %{package_summary} - Portugese |
Summary: %{package_summary} - Portugese |
499 |
Group: %{group} |
Group: %{group} |
500 |
|
Requires: aspell-pt |
501 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
502 |
%description pt |
%description pt |
503 |
%{summary} |
%{summary} |
504 |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
%files pt -f %{name}-%{version}-%{release}-filelist-pt |
505 |
|
|
506 |
|
%package pt_BR |
507 |
|
Summary: %{package_summary} - Portugese (Brazilian) |
508 |
|
Group: %{group} |
509 |
|
Requires: aspell-pt |
510 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
511 |
|
%description pt_BR |
512 |
|
%{summary} |
513 |
|
%files pt_BR -f %{name}-%{version}-%{release}-filelist-pt_BR |
514 |
|
|
515 |
%package sl |
%package sl |
516 |
Summary: %{package_summary} - Slovinian |
Summary: %{package_summary} - Slovinian |
517 |
Group: %{group} |
Group: %{group} |
518 |
|
Requires: aspell-sl |
519 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
520 |
%description sl |
%description sl |
521 |
%{summary} |
%{summary} |
522 |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
%files sl -f %{name}-%{version}-%{release}-filelist-sl |
525 |
Summary: %{package_summary} - Swedish |
Summary: %{package_summary} - Swedish |
526 |
Group: %{group} |
Group: %{group} |
527 |
Requires: aspell-sv |
Requires: aspell-sv |
528 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
529 |
%description sv |
%description sv |
530 |
%{summary} |
%{summary} |
531 |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
%files sv -f %{name}-%{version}-%{release}-filelist-sv |
532 |
|
|
533 |
|
%package tr |
534 |
|
Summary: %{package_summary} - Turkish |
535 |
|
Group: %{group} |
536 |
|
#Requires: aspell-tr |
537 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
538 |
|
%description tr |
539 |
|
%{summary} |
540 |
|
%files tr -f %{name}-%{version}-%{release}-filelist-tr |