b11117
Name: hunspell-zu
b11117
Summary: Zulu hunspell dictionaries
b11117
%global upstreamid 20100126
b11117
Version: 0.%{upstreamid}
b11117
Release: 16%{?dist}
b11117
Source: https://downloads.sourceforge.net/project/aoo-extensions/3132/3/dict-zu_za-2010.01.26.oxt
b11117
URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
b11117
# There is no License information in this new sourceforge Source: archive
b11117
# Based on old gone upstream archive, Let's keep GPLv3+ license
b11117
# old and new archive .dic and .aff contents are same
b11117
License: GPLv3+
b11117
BuildArch: noarch
b11117
b11117
Requires: hunspell
b11117
Supplements: (hunspell and langpacks-zu)
b11117
b11117
%description
b11117
Zulu hunspell dictionaries.
b11117
b11117
%prep
b11117
%autosetup -c
b11117
b11117
%build
b11117
for i in README-zu_ZA.txt; do
b11117
  if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
b11117
    iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
b11117
    touch -r $i $i.new
b11117
    mv -f $i.new $i
b11117
  fi
b11117
  tr -d '\r' < $i > $i.new
b11117
  touch -r $i $i.new
b11117
  mv -f $i.new $i
b11117
done
b11117
b11117
%install
b11117
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
b11117
cp -p zu_ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff
b11117
cp -p zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic
b11117
b11117
b11117
%files
b11117
%doc README-zu_ZA.txt
b11117
%{_datadir}/myspell/*
b11117
b11117
%changelog
b11117
* Mon Jul 09 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 0.20100126-16
b11117
- Update Source tag
b11117
- License is still same GPLv3+ based on old archive
b11117
b11117
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-15
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b11117
b11117
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-14
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b11117
b11117
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-13
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b11117
b11117
* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20100126-12
b11117
- Add Supplements: tag for langpacks naming guidelines
b11117
- Clean the specfile to follow current packaging guidelines
b11117
b11117
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-11
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b11117
b11117
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-10
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b11117
b11117
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-9
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b11117
b11117
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-8
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b11117
b11117
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-7
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b11117
b11117
* Tue Nov 06 2012 Caolán McNamara <caolanm@redhat.com> - 0.20100126-6
b11117
- clarify license
b11117
b11117
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-5
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b11117
b11117
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-4
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b11117
b11117
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100126-3
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b11117
b11117
* Tue Sep 07 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100126-2
b11117
- tidy spec
b11117
b11117
* Sat Feb 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.20100126-1
b11117
- latest version
b11117
b11117
* Fri Dec 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.20091210-1
b11117
- latest version
b11117
b11117
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060120-4
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b11117
b11117
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20060120-3
b11117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b11117
b11117
* Fri Aug 03 2007 Caolán McNamara <caolanm@redhat.com> - 0.20060120-2
b11117
- clarify license version
b11117
b11117
* Thu Dec 07 2006 Caolán McNamara <caolanm@redhat.com> - 0.20060120-1
b11117
- initial version