diff --git a/kiten.changes b/kiten.changes index a6da9cf..ff14d83 100644 --- a/kiten.changes +++ b/kiten.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 26 02:42:35 UTC 2018 - Jan Engelhardt + +- Unbundle the dictionary files and instead make symlinks to + the edict package's files. + ------------------------------------------------------------------- Tue Nov 20 06:22:26 UTC 2018 - Luca Beltrame diff --git a/kiten.spec b/kiten.spec index 8ae4de1..44d6219 100644 --- a/kiten.spec +++ b/kiten.spec @@ -29,6 +29,7 @@ License: GPL-2.0-or-later AND CC-BY-SA-3.0 AND CC-BY-SA-4.0 Group: Amusements/Teaching/Language URL: http://edu.kde.org Source0: %{name}-%{version}.tar.xz +BuildRequires: edict BuildRequires: extra-cmake-modules BuildRequires: karchive-devel BuildRequires: kcompletion-devel @@ -53,6 +54,7 @@ Provides: %{name}5 = %{version} %if %{with lang} Recommends: %{name}-lang %endif +Requires: edict %description Kiten is a tool to learn Japanese. @@ -107,6 +109,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc" %find_lang %{name} --with-man --all-name %{kf5_find_htmldocs} %endif + for i in edict kanjidic radkfile; do + test -e "%{_datadir}/edict/$i" && ln -fsv "%{_datadir}/edict/$i" "%{buildroot}/%{_datadir}/kiten/$i" + done %reconfigure_fonts_scriptlets -n fonts-KanjiStrokeOrders