%define languageenglazy Walloon %define languagecode wa %define lc_ctype wa_BE Name: hunspell-%{languagecode} Version: 0.4.21 Release: %mkrel 4 Summary: %{languageenglazy} hunspell dictionaries License: LGPLv2+ Group: System/Internationalization URL: http://chanae.walon.org/walon/aspell.php Source0: http://chanae.walon.org/walon/spell-wa-%{version}.tar.bz2 Patch0: hunspell-wa-0.4.15-buildfix.patch BuildRequires: locales-wa BuildArch: noarch Recommends: hunspell Requires: locales-wa #Mageia values: 1 - aspell, 2 - hunspell, 3 - language specific Provides: enchant-dictionary = 2 Provides: hunspell-dictionary Provides: hunspell-%{lc_ctype} = %{version}-%{release} Provides: hunspell- = %{version}-%{release} #Generic providing - see Mageia values Provides: dictionary-%{languagecode} = 2 Provides: dictionary-%{lc_ctype} = 2 Provides: dictionary- = 2 AutoReqProv: no %description %{languageenglazy} hunspell dictionaries. %prep %setup -q -n spell-%{languagecode}-%{version} #autopatch -p1 %build export LC_ALL=%{lc_ctype}.utf8 make myspell for i in ChangeLog README LIJHOZMU; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-1 -t UTF-8 $i > $i.new touch -r $i $i.new mv -f $i.new $i fi tr -d '\r' < $i > $i.new touch -r $i $i.new mv -f $i.new $i done %install install -D -m 0644 -p wa_my*.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p wa_my*.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 README ChangeLog LIJHOZMU %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Sun Mar 20 2022 umeabot <umeabot> 0.4.21-4.mga9 + Revision: 1808008 - Mageia 9 Mass Rebuild * Wed Feb 12 2020 umeabot <umeabot> 0.4.21-3.mga8 + Revision: 1501748 - Mageia 8 Mass Rebuild * Thu Sep 20 2018 umeabot <umeabot> 0.4.21-2.mga7 + Revision: 1278864 - Mageia 7 Mass Rebuild * Sat Mar 31 2018 kekepower <kekepower> 0.4.21-1.mga7 + Revision: 1213944 - BR locales-wa - Update to release 0.4.21 * Mon Feb 08 2016 umeabot <umeabot> 0.4.17-5.mga6 + Revision: 947576 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.4.17-4.mga5 + Revision: 741013 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.4.17-3.mga5 + Revision: 680327 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Sat Oct 19 2013 umeabot <umeabot> 0.4.17-2.mga4 + Revision: 530649 - Mageia 4 Mass Rebuild * Fri Jul 26 2013 sander85 <sander85> 0.4.17-1.mga4 + Revision: 458700 - New version: 0.4.17 * Sat Jan 12 2013 umeabot <umeabot> 0.4.15-8.mga3 + Revision: 353760 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Mar 20 2012 kamil <kamil> 0.4.15-7.mga2 + Revision: 224927 - add requirement on locales (mga#4632) - adapt .spec to the current policies * Sat Mar 12 2011 dmorgan <dmorgan> 0.4.15-5.mga1 + Revision: 69204 - imported package hunspell-wa * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 11 2009 Caolan McNamara <caolanm@redhat.com> - 0.4.15-3 - tidy spec * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Sep 22 2008 Caolan McNamara <caolanm@redhat.com> - 0.4.15-1 - initial version