%define _enable_debug_packages %{nil} %define debug_package %{nil} # NOTE: the bulgarian.kbd file in the sources is not in utf-8; # that is wrong and fixed in the spec file; the fix has to # be removed once the kbd file shipped with the sources is fixed. %define src_ver 4.1-0 %define fname aspell6-%{languagecode} %define aspell_ver 0.60 %define languageenglazy Bulgarian %define languagecode bg %define lc_ctype bg_BG Summary: %{languageenglazy} files for aspell Name: aspell-%{languagecode} Version: 4.1.0 Release: %mkrel 8 Group: System/Internationalization Source: http://ftp.gnu.org/gnu/aspell/dict/%{languagecode}/%{fname}-%{src_ver}.tar.bz2 URL: http://aspell.net/ License: GPL Provides: spell-%{languagecode} BuildRequires: aspell >= %{aspell_ver} BuildRequires: make Requires: aspell >= %{aspell_ver} # Mageia Stuff Requires: locales-%{languagecode} # aspell = 1, myspell = 2, lang-specific = 3 Provides: aspell-dictionary Provides: aspell-%{lc_ctype} Autoreqprov: no %description A %{languageenglazy} dictionary for use with aspell, a spelling checker. %prep %setup -q -n %{fname}-%{src_ver} # the kbd file is not in utf-8; that is wrong, fixing it cat bulgarian.kbd | iconv -f cp1251 -t utf-8 > tmpfile cat tmpfile > bulgarian.kbd %build # don't use configure macro ./configure %make %install %makeinstall_std mv -f README README.%{languagecode} chmod 644 Copyright README.%{languagecode} doc/* %files %doc README.%{languagecode} Copyright %doc doc/* %{_libdir}/aspell-%{aspell_ver}/* %changelog * Fri Jan 11 2013 umeabot <umeabot> 4.1.0-8.mga3 + Revision: 346198 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Feb 04 2012 kamil <kamil> 4.1.0-7.mga2 + Revision: 204384 - drop providing of enchant-dictionary - clean .spec a bit + dmorgan <dmorgan> - Remove mandriva occurencies - imported package aspell-bg + ahmad <ahmad> - imported package aspell-bg