4c27899
Name: hunspell-af
4c27899
Summary: Afrikaans hunspell dictionary
170f459
%define upstreamid 20080825
4c27899
Version: 0.%{upstreamid}
5e009ee
Release: 2%{?dist}
170f459
Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-0.%{upstreamid}.zip
4c27899
Group: Applications/Text
d1a1e89
URL: http://www.translate.org.za/
4c27899
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
0a33bde
License: LGPLv2+
4c27899
BuildArch: noarch
4c27899
4c27899
Requires: hunspell
4c27899
4c27899
%description
4c27899
Afrikaans hunspell dictionary
4c27899
4c27899
%prep
4c27899
%setup -q -c -n hunspell-af_ZA
4c27899
4c27899
%build
4c27899
4c27899
%install
4c27899
rm -rf $RPM_BUILD_ROOT
4c27899
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
4c27899
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
4c27899
4c27899
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
4c27899
af_ZA_aliases="af_NA"
4c27899
for lang in $af_ZA_aliases; do
4c27899
        ln -s af_ZA.aff $lang.aff
4c27899
        ln -s af_ZA.dic $lang.dic
4c27899
done
4c27899
popd
4c27899
4c27899
%clean
4c27899
rm -rf $RPM_BUILD_ROOT
4c27899
4c27899
%files
4c27899
%defattr(-,root,root,-)
4c27899
%doc README_af_ZA.txt
4c27899
%{_datadir}/myspell/*
4c27899
4c27899
%changelog
5e009ee
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20080825-2
5e009ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5e009ee
170f459
* Fri Jan 30 2009 Caolan McNamara <caolanm@redhat.com> - 0.20080825-1
170f459
- latest version
170f459
f85ddeb
* Thu Nov 20 2008 Caolan McNamara <caolanm@redhat.com> - 0.20060117-3
f85ddeb
- mysteriously upstream tarball of same version has extra words in it
f85ddeb
  than our cached one
f85ddeb
bfbbb2f
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060117-2
0a33bde
- clarify license version
0a33bde
4c27899
* Wed Oct 25 2006 Caolan McNamara <caolanm@redhat.com> - 0.20060117-1
4c27899
- initial version