hunspell-tn/hunspell-tn.spec

49 lines
1.1 KiB
RPMSpec
Raw Normal View History

2008-09-17 07:30:27 +00:00
Name: hunspell-tn
Summary: Tswana hunspell dictionaries
%define upstreamid 20060123
Version: 0.%{upstreamid}
2008-09-30 09:34:11 +00:00
Release: 2%{?dist}
2008-09-17 07:30:27 +00:00
Source: http://downloads.translate.org.za/spellchecker/tswana/myspell-tn_ZA-%{upstreamid}.zip
Group: Applications/Text
2008-10-21 07:35:46 +00:00
URL: http://www.translate.org.za/
2008-09-17 07:30:27 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv2+
BuildArch: noarch
Requires: hunspell
%description
Tswana hunspell dictionaries.
%prep
%setup -q -c -n hunspell-tn
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
2008-09-30 09:34:11 +00:00
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
tn_ZA_aliases="tn_BW"
for lang in $tn_ZA_aliases; do
ln -s tn_ZA.aff $lang.aff
ln -s tn_ZA.dic $lang.dic
done
popd
2008-09-17 07:30:27 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_tn_ZA.txt
%{_datadir}/myspell/*
%changelog
2008-09-30 09:34:11 +00:00
* Tue Sep 30 2008 Caolan McNamara <caolanm@redhat.com> - 0.20060123-2
- add Botswana alias
2008-09-17 07:30:27 +00:00
* Tue Sep 09 2008 Caolan McNamara <caolanm@redhat.com> - 0.20060123-1
- initial version