From 7794b82bd3ee6a66453a910d20caa66fdfb999b7057c54d85b3768c57719b65c Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Fri, 25 Oct 2019 19:47:45 +0000 Subject: [PATCH] Accepting request 743008 from home:wolfi323:branches:KDE:Applications - Update build requirements, add missing Requires to devel package Also needed to fix build with kcalendarcore. This should be the last one though. OBS-URL: https://build.opensuse.org/request/show/743008 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kitinerary?expand=0&rev=43 --- kitinerary.changes | 5 +++++ kitinerary.spec | 25 +++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) diff --git a/kitinerary.changes b/kitinerary.changes index 10d1f3e..f982974 100644 --- a/kitinerary.changes +++ b/kitinerary.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Oct 17 09:38:19 UTC 2019 - Wolfgang Bauer + +- Update build requirements, add missing Requires to devel package + ------------------------------------------------------------------- Fri Oct 11 07:42:51 UTC 2019 - Luca Beltrame diff --git a/kitinerary.spec b/kitinerary.spec index d8ca4b8..233dc45 100644 --- a/kitinerary.spec +++ b/kitinerary.spec @@ -29,20 +29,24 @@ Source: https://download.kde.org/stable/applications/%{version}/src/%{na Source1: https://download.kde.org/stable/applications/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: applications.keyring %endif -BuildRequires: extra-cmake-modules >= 1.0.0 -BuildRequires: kcalcore-devel -BuildRequires: kcontacts-devel +BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem -BuildRequires: kmime-devel -BuildRequires: kpkpass-devel BuildRequires: libpoppler-qt5-devel -%if 0%{?suse_version} > 1510 -BuildRequires: zxing-cpp-devel -%endif +BuildRequires: libxml2-devel +BuildRequires: zlib-devel +BuildRequires: cmake(KF5CalendarCore) +BuildRequires: cmake(KF5Contacts) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5Mime) +BuildRequires: cmake(KPimPkPass) BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Qml) BuildRequires: cmake(Qt5Test) Requires: libKPimItinerary5 = %{version} +%if 0%{?suse_version} > 1500 +BuildRequires: libphonenumber-devel +BuildRequires: cmake(ZXing) +%endif %description Kitinerary is a library which provides a data model and a system to extract information @@ -63,6 +67,11 @@ This package contains the library itself. Summary: Development files for kitinerary Group: Development/Libraries/KDE Requires: libKPimItinerary5 = %{version} +Requires: cmake(KF5CalendarCore) +Requires: cmake(KF5Contacts) +Requires: cmake(KF5Mime) +Requires: cmake(KPimPkPass) +Requires: cmake(Qt5Gui) %description devel This package contains all necessary include files and libraries needed