From dfb52c8a07c2bbd40c1724f7cfa34b9695adaa44e315aaa8376a3cd7d8fcb061 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 3 Feb 2015 10:39:37 +0000 Subject: [PATCH] Accepting request 283579 from X11:lxde 1 OBS-URL: https://build.opensuse.org/request/show/283579 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-qtplugin?expand=0&rev=3 --- lxqt-qtplugin.changes | 5 +++++ lxqt-qtplugin.spec | 20 +++++++++++++++----- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/lxqt-qtplugin.changes b/lxqt-qtplugin.changes index 19322eb..1bb8253 100644 --- a/lxqt-qtplugin.changes +++ b/lxqt-qtplugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 26 00:29:57 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora Builds + ------------------------------------------------------------------- Thu Dec 25 16:32:10 UTC 2014 - hrvoje.senjan@gmail.com diff --git a/lxqt-qtplugin.spec b/lxqt-qtplugin.spec index 481454c..d892641 100644 --- a/lxqt-qtplugin.spec +++ b/lxqt-qtplugin.spec @@ -1,7 +1,7 @@ # # spec file for package lxqt-qtplugin # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,9 +26,11 @@ Url: http://www.lxde.org Source: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: libQt5Gui-private-headers-devel +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: libQt5Gui-private-headers-devel + %requires_eq libQt5Gui5 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,11 +50,19 @@ about all plugins in the console when running any Qt5 programs.) %setup -q %build -%cmake -DUSE_QT5=ON +mkdir build +pushd build +cmake \ + -DUSE_QT5=YES \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + .. %__make %{?_smp_mflags} +popd %install -%cmake_install +pushd build +make DESTDIR=$RPM_BUILD_ROOT install +popd %files %defattr(-,root,root)