SHA256
1
0
forked from pool/pcmanfm-qt
Dominique Leuenberger 2015-02-03 10:39:51 +00:00 committed by Git OBS Bridge
parent c41598917f
commit 1cebad9dfd
2 changed files with 21 additions and 8 deletions

View File

@ -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 Tue Oct 28 15:20:26 UTC 2014 - andrea@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package pcmanfm-qt # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -28,10 +28,10 @@ BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: libqt5-linguist-devel BuildRequires: pkgconfig(Qt5Widgets)
Buildrequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
@ -65,11 +65,19 @@ Libfm-Qt libraries for development
%setup -q %setup -q
%build %build
%cmake -DUSE_QT5=ON mkdir build
%__make pushd build
cmake \
-DUSE_QT5=ON \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
..
%__make %{?_smp_mflags}
popd
%install %install
%cmake_install pushd build
make DESTDIR=$RPM_BUILD_ROOT install
popd
%post %post
%desktop_database_post %desktop_database_post