Resolves: rhbz#1645490 switch to faster dictionary

This commit is contained in:
Caolán McNamara 2018-11-02 14:33:33 +00:00
parent d2cb5958d3
commit 50a8fa5c7f

View File

@ -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 <caolanm@redhat.com> - 1:0.20100218-1
- Resolves: rhbz#1645490 switch to faster dictionary
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-0.16.dev
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild