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