1 |
%define _enable_debug_packages %{nil} |
2 |
%define debug_package %{nil} |
3 |
|
4 |
# WARNING |
5 |
# To build this package, you must set LC_ALL to fr |
6 |
# example : LC_ALL=fr rpm -ba aspell-fr.spec |
7 |
|
8 |
%define src_ver 0.50-3 |
9 |
%define languagelocal francais |
10 |
%define languageeng french |
11 |
%define languageenglazy French |
12 |
%define languagecode fr |
13 |
%define lc_ctype fr_FR |
14 |
|
15 |
Name: aspell-%{languagecode} |
16 |
Version: 0.50.3 |
17 |
Release: %mkrel 18 |
18 |
Summary: %{languageenglazy} files for aspell |
19 |
Group: System/Internationalization |
20 |
Source: http://aspell.sourceforge.net/aspell-%{languagecode}-%{src_ver}.tar.bz2 |
21 |
URL: http://aspellfr.free.fr/aspell/ |
22 |
License: GPL |
23 |
Epoch: 1 |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
25 |
Provides: spell-fr |
26 |
|
27 |
BuildRequires: aspell >= 0.50 |
28 |
Requires: aspell >= 0.50 |
29 |
|
30 |
BuildRequires: locales-fr |
31 |
|
32 |
# Mageia Stuff |
33 |
Requires: locales-%{languagecode} |
34 |
# aspell = 1, myspell = 2, lang-specific = 3 |
35 |
Provides: enchant-dictionary = 1 |
36 |
Provides: aspell-dictionary |
37 |
|
38 |
# RedHat Stuff. is this right: |
39 |
#Obsoletes: ispell-fr, ispell-french |
40 |
|
41 |
Autoreqprov: no |
42 |
|
43 |
%description |
44 |
A %{languageenglazy} dictionary for use with aspell, a spelling checker. |
45 |
|
46 |
%prep |
47 |
%setup -q -n %{name}-%{src_ver} |
48 |
|
49 |
%build |
50 |
export LC_ALL=fr |
51 |
./configure |
52 |
%make |
53 |
|
54 |
%install |
55 |
rm -fr $RPM_BUILD_ROOT |
56 |
export LC_ALL=fr |
57 |
%makeinstall_std |
58 |
|
59 |
# fix doc perms |
60 |
chmod 644 README COPYING |
61 |
|
62 |
%clean |
63 |
rm -fr $RPM_BUILD_ROOT |
64 |
|
65 |
%files |
66 |
%defattr(-,root,root) |
67 |
%doc README COPYING |
68 |
%{_libdir}/aspell-*/* |
69 |
|
70 |
|
71 |
|
72 |
|