From c3ead4d98ebbd3055f05341c4869fd80dcdbd503a3fda2ceb8ec51a8ac23c79b Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 3 Feb 2015 10:39:33 +0000 Subject: [PATCH] Accepting request 283577 from X11:lxde 1 OBS-URL: https://build.opensuse.org/request/show/283577 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lxqt-policykit?expand=0&rev=2 --- lxqt-policykit.changes | 5 +++++ lxqt-policykit.spec | 22 ++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/lxqt-policykit.changes b/lxqt-policykit.changes index 4423004..e170836 100644 --- a/lxqt-policykit.changes +++ b/lxqt-policykit.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 26 00:04:49 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora builds + ------------------------------------------------------------------- Mon Nov 10 21:22:56 UTC 2014 - andrea@opensuse.org diff --git a/lxqt-policykit.spec b/lxqt-policykit.spec index 7931e51..d99b1c2 100644 --- a/lxqt-policykit.spec +++ b/lxqt-policykit.spec @@ -1,7 +1,7 @@ # # spec file for package lxqt-policykit # -# 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,10 +26,12 @@ Url: http://www.lxde.org Source: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 -BuildRequires: pkgconfig(lxqt-globalkeys-qt5) -BuildRequires: pkgconfig(polkit-qt5-core-1) BuildRequires: pkgconfig(Qt5Xdg) +BuildRequires: pkgconfig(lxqt-globalkeys-qt5) +BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 +BuildRequires: pkgconfig(polkit-qt5-core-1) +BuildRequires: pkgconfig(Qt5UiTools) +BuildRequires: pkgconfig(polkit-agent-1) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -39,11 +41,19 @@ PolicyKit authentication agent for LXDE-Qt %setup -q %build -%cmake -DUSE_QT5=ON +mkdir build +pushd build +cmake \ + -DUSE_QT5=ON \ + -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)