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)