Dominique Leuenberger 2015-02-03 10:39:37 +00:00 committed by Git OBS Bridge
parent 5db5e6f155
commit dfb52c8a07
2 changed files with 20 additions and 5 deletions

View File

@ -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

View File

@ -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)