%define languageenglazy Fijian %define languagecode fj %define lc_ctype fj_FJ Name: hunspell-%{languagecode} Version: 1.2 Release: %mkrel 10 Summary: %{languageenglazy} hunspell dictionaries License: LGPLv2+ or GPLv2+ or MPLv1.1 Group: System/Internationalization URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker Source0: http://releases.mozilla.org/pub/mozilla.org/addons/12115/fijian_spelling_dictionary-%{version}-fx+tb+sm.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 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 cd dictionaries for i in README_fj_FJ.txt; do tr -d '\r' < $i > $i.new touch -r $i $i.new mv -f $i.new $i done %install install -D -m 0644 -p dictionaries/fj_FJ.dic %{buildroot}%{_datadir}/hunspell/%{lc_ctype}.dic install -D -m 0644 -p dictionaries/fj_FJ.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_fj_FJ.txt %{_datadir}/hunspell/* %{_datadir}/myspell/* %changelog * Thu Feb 04 2016 umeabot <umeabot> 1.2-10.mga6 + Revision: 935206 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.2-9.mga5 + Revision: 745253 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 1.2-8.mga5 + Revision: 680235 - Mageia 5 Mass Rebuild + tv <tv> - s/uggests:/Recommends:/ * Fri Oct 18 2013 umeabot <umeabot> 1.2-7.mga4 + Revision: 505621 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 1.2-6.mga3 + Revision: 353458 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Dec 02 2012 kamil <kamil> 1.2-5.mga3 + Revision: 325257 - rebuild for Mga3 Beta1 * Sun Feb 12 2012 kamil <kamil> 1.2-4.mga2 + Revision: 207744 - use better obsoleting of myspell * Wed Jan 18 2012 kamil <kamil> 1.2-3.mga2 + Revision: 197690 - adapt .spec to the current policies * Sat Mar 12 2011 dmorgan <dmorgan> 1.2-2.mga1 + Revision: 68764 - imported package hunspell-fj * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Tue Sep 07 2010 Caolán McNamara <caolanm@redhat.com> - 1.2-1 - latest version * Wed Apr 07 2010 Caolán McNamara <caolanm@redhat.com> - 0.20090521-1 - latest version * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050811-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 11 2009 Caolán McNamara <caolanm@redhat.com> - 0.20050811-3 - tidy spec * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050811-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 01 2008 Caolán McNamara <caolanm@redhat.com> - 0.20050811-1 - initial version