7 |
# an iso-8859-* locale; eg: LC_ALL=fr rpm -be specfile |
# an iso-8859-* locale; eg: LC_ALL=fr rpm -be specfile |
8 |
# |
# |
9 |
|
|
10 |
%define src_ver 3.1 |
%define src_ver 3.3-2 |
11 |
|
|
12 |
%define languageenglazy Romanian |
%define languageenglazy Romanian |
13 |
%define languagecode ro |
%define languagecode ro |
15 |
|
|
16 |
Summary: %{languageenglazy} files for aspell |
Summary: %{languageenglazy} files for aspell |
17 |
Name: aspell-%{languagecode} |
Name: aspell-%{languagecode} |
18 |
Version: 3.1 |
Version: 3.3.2 |
19 |
Release: %mkrel 6 |
Release: %mkrel 1 |
20 |
Group: System/Internationalization |
Group: System/Internationalization |
21 |
Source: ftp://ftp.gnu.org/gnu/aspell/dict/ro/aspell5-ro-%version.tar.bz2 |
Source: ftp://ftp.gnu.org/gnu/aspell/dict/ro/aspell5-ro-%{src_ver}.tar.bz2 |
22 |
URL: http://aspell.net/ |
URL: http://aspell.net/ |
23 |
License: Free |
License: Free |
24 |
|
|
25 |
BuildRequires: aspell >= 0.50 |
BuildRequires: aspell >= 0.50 |
26 |
BuildRequires: make |
BuildRequires: make |
27 |
Requires: aspell >= 0.50 |
Requires: aspell >= 0.50 |
|
BuildRequires: locales-fr |
|
28 |
|
|
29 |
# Mageia Stuff |
# Mageia Stuff |
30 |
Requires: locales-%{languagecode} |
Requires: locales-%{languagecode} |
31 |
Provides: aspell-dictionary |
Provides: aspell-dictionary |
32 |
Provides: aspell-%{lc_ctype} |
Provides: aspell-%{lc_ctype} |
33 |
Provides: spell-%{languagecode} >= 0.50.2-5mdk |
Provides: spell-%{languagecode} |
34 |
|
|
35 |
Autoreqprov: no |
Autoreqprov: no |
36 |
|
|
41 |
%setup -q -n aspell5-ro-%{src_ver} |
%setup -q -n aspell5-ro-%{src_ver} |
42 |
|
|
43 |
%build |
%build |
|
export LC_ALL=fr |
|
44 |
# don't use configure macro |
# don't use configure macro |
45 |
./configure |
./configure |
46 |
|
|
47 |
%make |
%make |
48 |
|
|
49 |
%install |
%install |
|
export LC_ALL=fr |
|
|
|
|
50 |
%makeinstall_std |
%makeinstall_std |
51 |
|
|
52 |
#cp doc/README README.%{languagecode} |
#cp doc/README README.%{languagecode} |