f13b80
Name: hunspell-tn
f13b80
Summary: Tswana hunspell dictionaries
f13b80
%define upstreamid 20091101
f13b80
Version: 0.%{upstreamid}
f13b80
Release: 6%{?dist}
f13b80
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46617/tswana__south_africa__dictionary-%{upstreamid}-fx+tb.xpi
f13b80
Group: Applications/Text
f13b80
URL: http://www.translate.org.za/
f13b80
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f13b80
License: GPLv2+
f13b80
BuildArch: noarch
f13b80
f13b80
Requires: hunspell
f13b80
f13b80
%description
f13b80
Tswana hunspell dictionaries.
f13b80
f13b80
%prep
f13b80
%setup -q -c -n hunspell-tn
f13b80
f13b80
%build
f13b80
f13b80
%install
f13b80
rm -rf $RPM_BUILD_ROOT
f13b80
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
f13b80
cp -p dictionaries/tn-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.aff
f13b80
cp -p dictionaries/tn-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.dic
f13b80
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
f13b80
tn_ZA_aliases="tn_BW"
f13b80
for lang in $tn_ZA_aliases; do
f13b80
        ln -s tn_ZA.aff $lang.aff
f13b80
        ln -s tn_ZA.dic $lang.dic
f13b80
done
f13b80
popd
f13b80
f13b80
%clean
f13b80
rm -rf $RPM_BUILD_ROOT
f13b80
f13b80
%files
f13b80
%defattr(-,root,root,-)
f13b80
%doc README-tn-ZA.txt
f13b80
%{_datadir}/myspell/*
f13b80
f13b80
%changelog
f13b80
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20091101-6
f13b80
- Mass rebuild 2013-12-27
f13b80
f13b80
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091101-5
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f13b80
f13b80
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091101-4
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f13b80
f13b80
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091101-3
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f13b80
f13b80
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091101-2
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f13b80
f13b80
* Wed Jul 21 2010 Caolán McNamara <caolanm@redhat.com> - 0.20091101-1
f13b80
- latest version
f13b80
f13b80
* Wed Jan 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.20060123-5
f13b80
- README says was derived from GPL work -> GPL
f13b80
f13b80
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-4
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f13b80
f13b80
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060123-3
f13b80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f13b80
f13b80
* Tue Sep 30 2008 Caolán McNamara <caolanm@redhat.com> - 0.20060123-2
f13b80
- add Botswana alias
f13b80
f13b80
* Tue Sep 09 2008 Caolán McNamara <caolanm@redhat.com> - 0.20060123-1
f13b80
- initial version