diff --git a/lxqt-notificationd.changes b/lxqt-notificationd.changes index 064e8c9..be6b96a 100644 --- a/lxqt-notificationd.changes +++ b/lxqt-notificationd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jan 25 23:39:27 UTC 2015 - sfalken@opensuse.org + +- Added conditionals to enable Fedora builds + ------------------------------------------------------------------- Sat Oct 25 11:33:12 UTC 2014 - andrea@opensuse.org diff --git a/lxqt-notificationd.spec b/lxqt-notificationd.spec index 5dcd2a2..6a3383a 100644 --- a/lxqt-notificationd.spec +++ b/lxqt-notificationd.spec @@ -1,7 +1,7 @@ # # spec file for package lxqt-notificationd # -# 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,8 +26,9 @@ Url: http://www.lxde.org Source: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ -BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 BuildRequires: pkgconfig(Qt5Xdg) +BuildRequires: pkgconfig(lxqt-qt5) >= 0.8.0 +BuildRequires: pkgconfig(Qt5UiTools) Requires(pre): desktop-file-utils Requires(post): desktop-file-utils BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,11 +40,19 @@ Daemon and library for global keyboard shortcuts regustration %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 %post %desktop_database_post