SHA256
1
0
forked from pool/kiten

Accepting request 651896 from home:jengelh:branches:KDE:Applications

- Unbundle the dictionary files and instead make symlinks to
  the edict package's files.

OBS-URL: https://build.opensuse.org/request/show/651896
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kiten?expand=0&rev=82
This commit is contained in:
Luca Beltrame 2018-11-26 06:01:29 +00:00 committed by Git OBS Bridge
parent 518dfda9de
commit d3187ea322
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 26 02:42:35 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
- Unbundle the dictionary files and instead make symlinks to
the edict package's files.
-------------------------------------------------------------------
Tue Nov 20 06:22:26 UTC 2018 - Luca Beltrame <lbeltrame@kde.org>

View File

@ -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