Name: mythes-eo
Summary: Esperanto thesaurus
%global upstreamid 20180330
Version: 0.%{upstreamid}
Release: 2%{?dist}
Source: http://esperanto.mv.ru/Download/dict-eo.oxt
URL: http://esperanto.mv.ru/Download/
License: GPLv3+
BuildArch: noarch
%description
Esperanto thesaurus.
%package -n hyphen-eo
Summary: Esperanto hyphen rules
Requires: hyphen
Supplements: (hyphen and langpacks-eo)
%description -n hyphen-eo
Esperanto hyphenation rules.
%prep
%autosetup -c
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p dictionaries/hyph_eo.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p dictionaries/th_eo.dat $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.dat
cp -p dictionaries/th_eo.idx $RPM_BUILD_ROOT/%{_datadir}/mythes/th_eo.idx
%files
%doc description/desc_en.txt
%license licenses/license-en.txt
%{_datadir}/mythes/*
%files -n hyphen-eo
%doc description/desc_en.txt
%license licenses/license-en.txt
%{_datadir}/hyphen/*
%changelog
* Fri Nov 23 2018 Carmen Bianca Bakker <carmen@carmenbianca.eu> - 0.20180330-2
- Renamed from super-eo to mythes-eo.
- Minor fixes according to package reviews.
* Wed Oct 31 2018 Carmen Bianca Bakker <carmen@carmenbianca.eu> - 0.20180330-1
- Initial package