From 5245197e073b8513c5e7e004d0a9cf52b6f88946 Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Jun 25 2016 13:41:40 +0000 Subject: [epel7] fix cmake for kf5 --- diff --git a/trojita.spec b/trojita.spec index 53417b0..c16b8b9 100644 --- a/trojita.spec +++ b/trojita.spec @@ -37,10 +37,10 @@ License: GPLv2+ Summary: IMAP e-mail client URL: http://%{name}.flaska.net -BuildRequires: cmake -%if 0%{?gitdate} -BuildRequires: python2 subversion -%endif +BuildRequires: kf5-rpm-macros + +# pre-build: generation of additional sources +#BuildRequires: python2 subversion #BuildRequires: help2man BuildRequires: pkgconfig(Qt5Core) @@ -116,14 +116,12 @@ This application is heavily based on Qt and uses WebKit. mkdir -p %{_target_platform} pushd %{_target_platform} # change path for the library, https://bugs.kde.org/show_bug.cgi?id=332579 -%cmake .. \ +%cmake_kf5 .. \ -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir}/%{name} \ -DCMAKE_INSTALL_RPATH=%{_libdir}/%{name} \ -DBUILD_SHARED_LIBS:BOOL=OFF popd -#gpg-agent --daemon -v %make_build -C %{_target_platform} -#pkill gpg-agent %if %{with doxy} doxygen src/Doxyfile @@ -188,6 +186,8 @@ Summary: Documentation files for %{name} %changelog * Sat Jun 25 2016 Raphael Groner - 0.7-2 - [epel7] enable gpg and mimetic +- [epel7] fix cmake for kf5 +- improve some comments * Sun Jun 12 2016 Raphael Groner - 0.7-1 - official upstream version