Пакет aspell-fo: Specfile

%define lang fo
%define langrelease 0
Summary: Faeroese dictionaries for Aspell.
Name: aspell-%{lang}
Packager: Igor Vlasenko <viy@altlinux.ru>
Version: 0.51
Release: alt1
License: GPL
Group: System/Internationalization
URL: http://aspell.net/
Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2
Patch: aspell-fo-0.51-0.utf-filename.patch
Buildrequires: aspell >= 0.60
Requires: aspell >= 0.60


%description
Provides the word list/dictionaries for the following: Faeroese

%prep
%setup -q -n aspell-%{lang}-%{version}-%{langrelease}
%patch -p1 -b .utf-filename
mv $(echo -e 'f\0370royskt.alias') $(echo -e 'f\0303\0270royskt.alias')

%build
echo "ASPELL = aspell" > Makefile
echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile
echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile
echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell" >> Makefile
cat Makefile.pre >> Makefile
make

%install
make install

%files

%{_libdir}/aspell/*
#%{_datadir}/aspell/*

%changelog
* Wed Jan 31 2007 Igor Vlasenko <viy@altlinux.ru> 0.51-alt1
- first build for Sisyphus
- imported from FC6 by aspell-import