%define src_ver 0.7 %define languagelocal gaeilge %define languageeng irish %define languagecode ga Summary: Irish files for ispell Name: ispell-%{languagecode} Version: 0.7 Release: 7mdk URL: none Source: ispell-ga-%{src_ver}.tar.bz2 License: GPL Group: System/Internationalization BuildRequires: ispell BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} BuildArchitectures: noarch Autoreqprov: no Requires: locales-%{languagecode} Requires: ispell Provides: ispell-dictionary Obsoletes: iirish %description This is an Irish dictionary for ispell. %prep %setup make gaeilge.hash mv -f gaeilge.words %{languagelocal}.hash %build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/ispell install -m 644 %{languagelocal}.aff $RPM_BUILD_ROOT%{_libdir}/ispell/%{languagelocal}.aff install -m 644 %{languagelocal}.hash $RPM_BUILD_ROOT%{_libdir}/ispell/%{languagelocal}.hash mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man4 install -m 644 gaeilge.4 $RPM_BUILD_ROOT/%{_mandir}/man4 # LaTeX babel if [ "%{languagelocal}" != "%{languageeng}" ];then cd $RPM_BUILD_ROOT%{_libdir}/ispell ln -s %{languagelocal}.aff %{languageeng}.aff ln -s %{languagelocal}.hash %{languageeng}.hash fi %clean rm -rf $RPM_BUILD_ROOT %post cd %{_libdir}/ispell mv -f %{languagelocal}.hash %{languagelocal}.ispell buildhash %{languagelocal}.ispell %{languagelocal}.aff %{languagelocal}.hash &> /dev/null rm -f %{languagelocal}.ispell.stat %{languagelocal}.ispell.cnt %{languagelocal}.ispell %files %defattr(644, root, root,755) %doc COPYING README ChangeLog %{_libdir}/ispell/* %_mandir/man4/gaeilge.4* %changelog * Wed Oct 10 2001 Stefan van der Eijk <stefan@eijk.nu> 0.7-7mdk - BuildRequires: ispell - Copyright --> License * Wed Jan 10 2001 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.7-6mdk - install man page * Sat Aug 26 2000 Troels Liebe Bentsen <tlb@iname.com> 0.7-5mdk - Small fix to the spec, no output on buildhash. * Sun Aug 13 2000 Troels Liebe Bentsen <tlb@iname.com> 0.7-4mdk - Cleaned up the spec and moved to standard template. * Tue Jul 25 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.7-3mdk - BM * Thu Mar 30 2000 Pablo Saratxaga <pablo@mandrakesoft.com> 0.7-2mdk - adapted to new Group: naming * Thu Feb 03 2000 <pablo@mandrakesoft.com> - adapted to Linux Mandrake (bzip2'ed man page, etc) - made a symlink for compatibility with LaTeX babel language names (used by LyX/KlyX spell checking) * Thu Oct 30 1997 <mckinstry@computer.org> - Fixed irish-prefixes.pl; more words. * Wed Oct 29 1997 <mckinstry@computer.org> - Added gaeilge.4 man page; - more corrections. * Thu Oct 8 1997 <mckinstry@computer.org> - Changed to BuildArchitectures: noarch * Tue Sep 30 1997 <mckinstry@computer.org> - Initial Release.