%define languageenglazy Hawaiian %define languagecode haw %define lc_ctype haw_US Name: hunspell-%{languagecode} Version: 0.03 Release: %mkrel 4 Summary: %{languageenglazy} hunspell dictionaries License: GPLv2+ Group: System/Internationalization URL: http://borel.slu.edu/crubadan/ Source0: https://addons.mozilla.org/firefox/downloads/file/248540/hawaiian_spell_checker-%{version}-tb+fx+fn+sm.xpi#/%{name}-%{version}.xpi BuildArch: noarch Recommends: hunspell #Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific Provides: enchant-dictionary = 2 Provides: hunspell-dictionary Provides: hunspell-%{lc_ctype} = %{version}-%{release} #Generic providing - see Mageia values Provides: dictionary-%{languagecode} = 2 Provides: dictionary-%{lc_ctype} = 2 #MySpell is deprecated # nothing to obsolete #Obsoletes: myspell-%{languagecode} < 1.0.3 #Provides: myspell-%{languagecode} #Obsoletes: myspell-%{lc_ctype} < 1.0.3 #Provides: myspell-%{lc_ctype} AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -c %build %install install -D -m 0644 -p dictionaries/haw*.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p dictionaries/haw*.aff %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.aff #backward compatibility mkdir -p %{buildroot}%{_datadir}/myspell pushd %{buildroot}%{_datadir}/myspell ln -s ../hunspell/%{lc_ctype}.dic %{lc_ctype}.dic ln -s ../hunspell/%{lc_ctype}.aff %{lc_ctype}.aff popd #%%{buildroot}%%{_datadir}/myspell %files %doc dictionaries/README_haw_US.txt %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.03-4.mga9 + Revision: 1807902 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.03-3.mga8 + Revision: 1501605 - Mageia 8 Mass Rebuild * Thu Sep 20 2018 umeabot <umeabot> 0.03-2.mga7 + Revision: 1278838 - Mageia 7 Mass Rebuild * Thu Mar 29 2018 kekepower <kekepower> 0.03-1.mga7 + Revision: 1213470 - Update to version 0.03 * Mon Feb 08 2016 umeabot <umeabot> 0.02-5.mga6 + Revision: 948159 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.02-4.mga5 + Revision: 743709 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.02-3.mga5 + Revision: 680247 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Mon Oct 21 2013 umeabot <umeabot> 0.02-2.mga4 + Revision: 536938 - Mageia 4 Mass Rebuild * Wed Sep 25 2013 sander85 <sander85> 0.02-1.mga4 + Revision: 485979 - New version: 0.02 * Sat Jan 12 2013 umeabot <umeabot> 0.01-6.mga3 + Revision: 353494 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 0.01-5.mga3 + Revision: 325339 - rebuild for Mga3 Beta1 * Wed Feb 15 2012 kamil <kamil> 0.01-4.mga2 + Revision: 209207 - adapt .spec to the current policies * Wed Feb 15 2012 kamil <kamil> 0.01-3.mga2 + Revision: 209179 - adapt .spec for Mageia - imported package hunspell-haw * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 28 2011 Caolán McNamara <caolanm@redhat.com> - 0.01-1 - initial version