277790
Name: hunspell-zu
277790
Summary: Zulu hunspell dictionaries
277790
%define upstreamid 20100126
277790
Version: 0.%{upstreamid}
541420
Release: 8%{?dist}
277790
Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-20100125-fx+tb.xpi
277790
Group: Applications/Text
277790
URL: http://www.translate.org.za/
277790
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
277790
License: GPLv3+
277790
BuildArch: noarch
277790
277790
Requires: hunspell
277790
277790
%description
277790
Zulu hunspell dictionaries.
277790
277790
%prep
277790
%setup -q -c
277790
277790
%build
277790
for i in README-zu-ZA.txt; do
277790
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
277790
    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
277790
    touch -r $i $i.new
277790
    mv -f $i.new $i
277790
  fi
277790
  tr -d '\r' < $i > $i.new
277790
  touch -r $i $i.new
277790
  mv -f $i.new $i
277790
done
277790
277790
%install
277790
rm -rf $RPM_BUILD_ROOT
277790
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
277790
cp -p dictionaries/zu-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff
277790
cp -p dictionaries/zu-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic
277790
277790
%clean
277790
rm -rf $RPM_BUILD_ROOT
277790
277790
%files
277790
%defattr(-,root,root,-)
277790
%doc README-zu-ZA.txt
277790
277790
%{_datadir}/myspell/*
277790
277790
%changelog
541420
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20100126-8
541420
- Mass rebuild 2013-12-27
541420
277790
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-7
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
277790
277790
* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 0.20100126-6
277790
- clarify license
277790
277790
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-5
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
277790
277790
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-4
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
277790
277790
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-3
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
277790
277790
* Tue Sep 07 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100126-2
277790
- tidy spec
277790
277790
* Sat Feb 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100126-1
277790
- latest version
277790
277790
* Fri Dec 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.20091210-1
277790
- latest version
277790
277790
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060120-4
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
277790
277790
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060120-3
277790
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
277790
277790
* Fri Aug 03 2007 Caolán McNamara <caolanm@redhat.com> - 0.20060120-2
277790
- clarify license version
277790
277790
* Thu Dec 07 2006 Caolán McNamara <caolanm@redhat.com> - 0.20060120-1
277790
- initial version