From 50a8fa5c7f07024fdb5eb0d58f818da8cbb339ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Fri, 2 Nov 2018 14:33:33 +0000 Subject: [PATCH] Resolves: rhbz#1645490 switch to faster dictionary --- hunspell-eo.spec | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/hunspell-eo.spec b/hunspell-eo.spec index 3929dc5..5332fcb 100644 --- a/hunspell-eo.spec +++ b/hunspell-eo.spec @@ -1,10 +1,12 @@ Name: hunspell-eo Summary: Esperanto hunspell dictionaries -Version: 1.0 -Release: 0.16.dev%{?dist} -Source: https://netix.dl.sourceforge.net/project/aoo-extensions/3377/1/1.0-dev.oxt -URL: http://extensions.services.openoffice.org/project/literumilo -License: LGPLv3 +%global upstreamid 20100218 +Version: 0.%{upstreamid} +Epoch: 1 +Release: 1%{?dist} +Source: http://www.esperantilo.org/literumilo-fontoj.tar.gz +URL: http://www.esperantilo.org +License: GPLv2+ BuildArch: noarch Requires: hunspell @@ -14,21 +16,30 @@ Supplements: (hunspell and langpacks-eo) Esperanto hunspell dictionaries. %prep -%autosetup -c +%autosetup -n literumilo-fontoj %build chmod -x * +for i in LEGUMIN.txt; do + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p literumilo.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.dic -cp -p literumilo.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.aff +cp -p eo_morf.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.dic +cp -p eo_morf.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/eo.aff %files +%doc LEGUMIN.txt %{_datadir}/myspell/* %changelog +* Fri Nov 02 2018 Caolán McNamara - 1:0.20100218-1 +- Resolves: rhbz#1645490 switch to faster dictionary + * Fri Jul 13 2018 Fedora Release Engineering - 1.0-0.16.dev - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild