03f72e
Name: hunspell-ve
03f72e
Summary: Venda hunspell dictionaries
03f72e
%define upstreamid 20091030
03f72e
Version: 0.%{upstreamid}
6ef2c6
Release: 6%{?dist}
03f72e
Source: http://extensions.services.openoffice.org/e-files/3134/0/dict-ve_ZA-2009.10.30.oxt
03f72e
Group: Applications/Text
03f72e
URL: http://www.translate.org.za/
03f72e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
03f72e
License: LGPLv2+
03f72e
BuildArch: noarch
03f72e
03f72e
Requires: hunspell
03f72e
03f72e
%description
03f72e
Venda hunspell dictionaries.
03f72e
03f72e
%prep
03f72e
%setup -q -c -n hunspell-ve
03f72e
03f72e
%build
03f72e
for i in README-ve_ZA.txt release-notes-ve_ZA.txt package-description.txt; do
03f72e
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
03f72e
    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
03f72e
    touch -r $i $i.new
03f72e
    mv -f $i.new $i
03f72e
  fi
03f72e
  tr -d '\r' < $i > $i.new
03f72e
  touch -r $i $i.new
03f72e
  mv -f $i.new $i
03f72e
done
03f72e
03f72e
%install
03f72e
rm -rf $RPM_BUILD_ROOT
03f72e
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
03f72e
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
03f72e
03f72e
%clean
03f72e
rm -rf $RPM_BUILD_ROOT
03f72e
03f72e
%files
03f72e
%defattr(-,root,root,-)
03f72e
%doc README-ve_ZA.txt release-notes-ve_ZA.txt package-description.txt
03f72e
%{_datadir}/myspell/*
03f72e
03f72e
%changelog
6ef2c6
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20091030-6
6ef2c6
- Mass rebuild 2013-12-27
6ef2c6
03f72e
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-5
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
03f72e
03f72e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-4
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
03f72e
03f72e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-3
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
03f72e
03f72e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20091030-2
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
03f72e
03f72e
* Sat Feb 06 2010 Caolan McNamara <caolanm@redhat.com> - 0.20091030-1
03f72e
- latest version
03f72e
03f72e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060706-3
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
03f72e
03f72e
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060706-2
03f72e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
03f72e
03f72e
* Fri Sep 12 2008 Caolan McNamara <caolanm@redhat.com> - 0.20060706-1
03f72e
- initial version