From 1cebad9dfdb010bf339c64512e92a759e2e03c9ce4508cfb181c532215e24c44 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 3 Feb 2015 10:39:51 +0000 Subject: [PATCH] Accepting request 283595 from X11:lxde 1 OBS-URL: https://build.opensuse.org/request/show/283595 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pcmanfm-qt?expand=0&rev=2 --- pcmanfm-qt.changes | 5 +++++ pcmanfm-qt.spec | 24 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/pcmanfm-qt.changes b/pcmanfm-qt.changes index 2c4db17..e3669bd 100644 --- a/pcmanfm-qt.changes +++ b/pcmanfm-qt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 26 00:50:16 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora builds + ------------------------------------------------------------------- Tue Oct 28 15:20:26 UTC 2014 - andrea@opensuse.org diff --git a/pcmanfm-qt.spec b/pcmanfm-qt.spec index 8b05e4c..3769f1d 100644 --- a/pcmanfm-qt.spec +++ b/pcmanfm-qt.spec @@ -1,7 +1,7 @@ # # spec file for package pcmanfm-qt # -# 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 @@ -28,10 +28,10 @@ BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: libqt5-linguist-devel -Buildrequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt5DBus) +BuildRequires: pkgconfig(Qt5UiTools) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) @@ -65,11 +65,19 @@ Libfm-Qt libraries for development %setup -q %build -%cmake -DUSE_QT5=ON -%__make +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 %post %desktop_database_post