1 |
ahmad |
17050 |
%define _enable_debug_packages %{nil} |
2 |
|
|
%define debug_package %{nil} |
3 |
|
|
|
4 |
|
|
# |
5 |
|
|
# NOTE: rpm is unable to package filenames in an enocidng other than the |
6 |
|
|
# the one it is currently using; so this package has to be build with |
7 |
|
|
# an iso-8859-* locale; eg: LC_ALL=fr rpm -be specfile |
8 |
|
|
# |
9 |
|
|
|
10 |
|
|
%define src_ver 3.1 |
11 |
|
|
|
12 |
|
|
%define languageenglazy Romanian |
13 |
|
|
%define languagecode ro |
14 |
|
|
%define lc_ctype ro_RO |
15 |
|
|
|
16 |
|
|
Summary: %{languageenglazy} files for aspell |
17 |
|
|
Name: aspell-%{languagecode} |
18 |
|
|
Version: 3.1 |
19 |
kamil |
209485 |
Release: %mkrel 6 |
20 |
ahmad |
17050 |
Group: System/Internationalization |
21 |
|
|
Source: ftp://ftp.gnu.org/gnu/aspell/dict/ro/aspell5-ro-%version.tar.bz2 |
22 |
|
|
URL: http://aspell.net/ |
23 |
|
|
License: Free |
24 |
|
|
|
25 |
|
|
BuildRequires: aspell >= 0.50 |
26 |
|
|
BuildRequires: make |
27 |
|
|
Requires: aspell >= 0.50 |
28 |
|
|
BuildRequires: locales-fr |
29 |
|
|
|
30 |
dmorgan |
17358 |
# Mageia Stuff |
31 |
ahmad |
17050 |
Requires: locales-%{languagecode} |
32 |
|
|
Provides: aspell-dictionary |
33 |
|
|
Provides: aspell-%{lc_ctype} |
34 |
|
|
Provides: spell-%{languagecode} >= 0.50.2-5mdk |
35 |
|
|
|
36 |
|
|
Autoreqprov: no |
37 |
|
|
|
38 |
|
|
%description |
39 |
|
|
A %{languageenglazy} dictionary for use with aspell, a spelling checker. |
40 |
|
|
|
41 |
|
|
%prep |
42 |
|
|
%setup -q -n aspell5-ro-%{src_ver} |
43 |
|
|
|
44 |
|
|
%build |
45 |
|
|
export LC_ALL=fr |
46 |
|
|
# don't use configure macro |
47 |
|
|
./configure |
48 |
|
|
|
49 |
|
|
%make |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
export LC_ALL=fr |
53 |
|
|
|
54 |
|
|
%makeinstall_std |
55 |
|
|
|
56 |
|
|
#cp doc/README README.%{languagecode} |
57 |
|
|
chmod 644 README Copyright |
58 |
|
|
|
59 |
|
|
%files |
60 |
|
|
%doc README Copyright |
61 |
|
|
%{_libdir}/aspell-*/* |