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
|
%bcond_without lang
|
||||||
%define sonum 5
|
%define sonum 5
|
||||||
%define _tar_path 5.38
|
%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
|
Name: sonnet
|
||||||
Version: 5.38.0
|
Version: 5.38.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,7 +30,7 @@ Release: 0
|
|||||||
BuildRequires: cmake >= 3.0
|
BuildRequires: cmake >= 3.0
|
||||||
# Enchant plugin is currently disabled upstream
|
# Enchant plugin is currently disabled upstream
|
||||||
#BuildRequires: enchant-devel
|
#BuildRequires: enchant-devel
|
||||||
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: kf5-filesystem
|
BuildRequires: kf5-filesystem
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
@ -53,7 +57,7 @@ HSpell, Enchant, ASpell and HUNSPELL.
|
|||||||
%package -n libKF5SonnetCore%sonum
|
%package -n libKF5SonnetCore%sonum
|
||||||
Summary: KDE spell checking library
|
Summary: KDE spell checking library
|
||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
Requires: %{name} >= %{_tar_path}
|
Requires: %{name} >= %{_kf5_bugfix_version}
|
||||||
Obsoletes: libKF5SonnetCore4
|
Obsoletes: libKF5SonnetCore4
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
Recommends: libKF5SonnetCore%sonum-lang = %{version}
|
Recommends: libKF5SonnetCore%sonum-lang = %{version}
|
||||||
|
Loading…
Reference in New Issue
Block a user