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