Name: hunspell-sv
Summary: Swedish hunspell dictionaries
Version: 1.3.8.6b
Release: 1%{?dist}
Source: http://sv.speling.org/filer/myspell-sv-1.3.8-6b.tar.gz
Group: Applications/Text
URL: http://sv.speling.org/filer/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPL
BuildArch: noarch
Requires: hunspell
%description
Swedish hunspell dictionaries.
%prep
%setup -q -n myspell-sv-1.3.8-6b
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
sv_SE_aliases="sv_FI"
for lang in $sv_SE_aliases; do
ln -s sv_SE.aff $lang.aff
ln -s sv_SE.dic $lang.dic
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Copyright COPYING NEWS contributors README
%{_datadir}/myspell/*
%changelog
* Fri Jul 06 2007 Caolan McNamara <caolanm@redhat.com> - 1.3.8.6b-1
- latest version
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 1.3.8.6-1
- initial version