File vacuum-im-plugins-dbusnotifications.spec of Package vacuum-im-plugins-dbusnotifications

#
# spec file for package vacuum-im-plugins-dbusnotifications
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define app_name vacuum-im
Name:           vacuum-im-plugins-dbusnotifications
Version:        1.5.4
Release:        0
Summary:        Vacuum-IM notification messages through system DBus
License:        GPL-3.0-only
Group:          Productivity/Networking/Instant Messenger
URL:            http://www.vacuum-im.org/
Source:         %{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  dbus-1-devel
BuildRequires:  fdupes
BuildRequires:  libQt5Core-devel
BuildRequires:  libQt5DBus-devel
BuildRequires:  libQt5Gui-devel
BuildRequires:  libQt5Xml-devel
BuildRequires:  libqt5-qttools-devel
BuildRequires:  vacuum-im-devel
BuildRequires:  xz

%description
The plug-in uses org.freedesktop.Notifications for show of notification messages

%prep
%setup -q -n %{name}

%build
%cmake \
	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
	-DINSTALL_LIB_DIR=%{_lib} \
	-DINSTALL_APP_DIR=%{app_name} \
	-DINSTALL_DOC_DIR=%{_defaultdocdir} \
	-DVACUUM_LIB_PATH=%{_libdir} \
	-DVACUUM_SDK_PATH=%{_includedir}/%{app_name}
make %{?_smp_mflags} V=1

%install
%cmake_install

%fdupes %{buildroot}%{_datadir}

%files
%dir %{_libdir}/%{app_name}
%{_libdir}/%{app_name}/plugins/
%{_datadir}/%{app_name}

%changelog
openSUSE Build Service is sponsored by