hunspell-af/hunspell-af.spec

50 lines
1.1 KiB
RPMSpec
Raw Normal View History

Name: hunspell-af
Summary: Afrikaans hunspell dictionary
%define upstreamid 20060117
Version: 0.%{upstreamid}
2007-08-03 08:19:21 +00:00
Release: 2%{?dist}
2008-10-21 07:31:47 +00:00
Source: http://downloads.translate.org.za/spellchecker/afrikaans/myspell-af_ZA-%{upstreamid}.zip
Group: Applications/Text
2008-10-21 07:31:47 +00:00
URL: http://www.translate.org.za/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-08-03 08:19:21 +00:00
License: LGPLv2+
BuildArch: noarch
Requires: hunspell
%description
Afrikaans hunspell dictionary
%prep
%setup -q -c -n hunspell-af_ZA
%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/
af_ZA_aliases="af_NA"
for lang in $af_ZA_aliases; do
ln -s af_ZA.aff $lang.aff
ln -s af_ZA.dic $lang.dic
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_af_ZA.txt
%{_datadir}/myspell/*
%changelog
2008-02-22 00:14:40 +00:00
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060117-2
2007-08-03 08:19:21 +00:00
- clarify license version
* Wed Oct 25 2006 Caolan McNamara <caolanm@redhat.com> - 0.20060117-1
- initial version