diff --git a/lxqt-runner.changes b/lxqt-runner.changes index 37036b0..0759d6a 100644 --- a/lxqt-runner.changes +++ b/lxqt-runner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 26 00:38:02 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora builds + ------------------------------------------------------------------- Tue Nov 11 09:25:25 UTC 2014 - andrea@opensuse.org diff --git a/lxqt-runner.spec b/lxqt-runner.spec index 2a18ce1..c4ad303 100644 --- a/lxqt-runner.spec +++ b/lxqt-runner.spec @@ -1,7 +1,7 @@ # # spec file for package lxqt-runner # -# 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 @@ -27,10 +27,11 @@ Source: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 -BuildRequires: pkgconfig(lxqt-globalkeys-qt5) +BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Xdg) -BuildRequires: pkgconfig(Qt5Script) +BuildRequires: pkgconfig(lxqt-globalkeys-qt5) +BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 +BuildRequires: pkgconfig(Qt5UiTools) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,11 +41,19 @@ Tool to launch programs quickly, by typing their names %setup -q %build -%cmake -DUSE_QT5=ON +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 %fdupes %{buildroot}/%{_datadir} %files