SHA256
1
0
forked from pool/kiten

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

- Reuse system edict dictionaries and shave off 13 MB worth of
  data.

15.4 support

OBS-URL: https://build.opensuse.org/request/show/1087673
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kiten?expand=0&rev=182
This commit is contained in:
Christophe Marin 2023-05-17 14:32:56 +00:00 committed by Git OBS Bridge
parent 40875467e8
commit 37f1281cae
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 11 15:36:49 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Reuse system edict dictionaries and shave off 13 MB worth of
data. The system edict is also (much) newer and more
comprehensive.
-------------------------------------------------------------------
Tue May 9 10:47:06 UTC 2023 - Christophe Marin <christophe@krop.fr>

View File

@ -46,6 +46,10 @@ BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Widgets)
%if 0%{?suse_version} >= 1599
BuildRequires: edict-eucjp >= 20230511
Requires: edict-eucjp >= 20230511
%endif
Requires: fonts-KanjiStrokeOrders
Obsoletes: %{name}5 < %{version}
Provides: %{name}5 = %{version}
@ -95,6 +99,11 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%install
%kf5_makeinstall -C build
%if 0%{?suse_version} >= 1599
for i in edict kanjidic radkfile; do
ln -fsv "%_datadir/edict/$i.eucjp" "%buildroot/%_datadir/kiten/$i"
done
%endif
%find_lang %{name} --with-man --all-name
%{kf5_find_htmldocs}