From 5d4024e4877a8d9a3eb11416c9f295739cd770bf Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 5 Mar 2019 15:02:08 -0600 Subject: [PATCH] update dependencies --- kf5-kfilemetadata.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kf5-kfilemetadata.spec b/kf5-kfilemetadata.spec index a9af967..5b1686e 100644 --- a/kf5-kfilemetadata.spec +++ b/kf5-kfilemetadata.spec @@ -4,6 +4,7 @@ #global ffmpeg 1 %if 0%{?fedora} +%global catdoc 1 %global ebook 1 %global poppler 1 %global taglib 1 @@ -32,8 +33,11 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framewo BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: kf5-karchive-devel >= %{majmin} +BuildRequires: kf5-kcoreaddons-devel >= %{majmin} BuildRequires: kf5-ki18n-devel >= %{majmin} BuildRequires: kf5-rpm-macros +# optional +BuildRequires: kf5-kconfig-devel >= %{majmin} BuildRequires: qt5-qtbase-devel @@ -41,6 +45,11 @@ BuildRequires: libattr-devel BuildRequires: pkgconfig(exiv2) >= 0.20 ## optional deps +%if %{?catdoc} +# not strictly required at build-time, satisfying runtime dep check only +BuildRequires: catdoc +Recommends: catdoc +%endif %if 0%{?ebook} BuildRequires: ebook-tools-devel %endif