forked from pool/sonnet
Changes for KF5-KUF syncing
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=143
This commit is contained in:
parent
29de078aa5
commit
b2671e6597
@ -19,6 +19,10 @@
|
||||
%bcond_without lang
|
||||
%define sonum 5
|
||||
%define _tar_path 5.38
|
||||
# Full KF5 version (e.g. 5.33.0)
|
||||
%{!?_kf5_version: %global _kf5_version %{version}}
|
||||
# Last major and minor KF5 version (e.g. 5.33)
|
||||
%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
||||
Name: sonnet
|
||||
Version: 5.38.0
|
||||
Release: 0
|
||||
@ -26,7 +30,7 @@ Release: 0
|
||||
BuildRequires: cmake >= 3.0
|
||||
# Enchant plugin is currently disabled upstream
|
||||
#BuildRequires: enchant-devel
|
||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
||||
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf5-filesystem
|
||||
%if %{with lang}
|
||||
@ -53,7 +57,7 @@ HSpell, Enchant, ASpell and HUNSPELL.
|
||||
%package -n libKF5SonnetCore%sonum
|
||||
Summary: KDE spell checking library
|
||||
Group: System/GUI/KDE
|
||||
Requires: %{name} >= %{_tar_path}
|
||||
Requires: %{name} >= %{_kf5_bugfix_version}
|
||||
Obsoletes: libKF5SonnetCore4
|
||||
%if %{with lang}
|
||||
Recommends: libKF5SonnetCore%sonum-lang = %{version}
|
||||
|
Loading…
Reference in New Issue
Block a user