2014-06-12 18:14:40 +00:00
#
# spec file for package kwrited5
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#
Name : kwrited5
2014-06-12 18:18:35 +00:00
Version : 4.97.0
2014-06-12 18:14:40 +00:00
Release : 0
2014-06-12 18:18:35 +00:00
Summary : Daemon listening for wall and write messages
License : GPL-2.0+
2014-06-12 18:14:40 +00:00
Group : System/GUI/KDE
2014-06-12 18:18:35 +00:00
Url : http://www.kde.org
Source : http://download.kde.org/unstable/plasma/%{version} /src/kwrited-%{version} .tar.xz
2014-06-12 18:47:18 +00:00
# PATCH-FIX-UPSTREAM 0001-Allow-to-build-kwrited-as-kded-module-instead-of-SUI.patch -- in 4.x times, KPty exposed whether it was built utempter or not.
2014-06-12 18:18:35 +00:00
# This is for now missing in KF5 variant. We know how it is built in our packages.
2014-06-12 18:47:18 +00:00
Patch0 : 0001-Allow-to-build-kwrited-as-kded-module-instead-of-SUI.patch
2014-06-12 18:14:40 +00:00
BuildRequires : extra-cmake-modules
BuildRequires : gcc-c++
2014-06-12 18:18:35 +00:00
BuildRequires : kdbusaddons-devel
2014-06-12 18:14:40 +00:00
BuildRequires : kdelibs4support-devel
BuildRequires : kf5-filesystem
2014-06-12 18:18:35 +00:00
BuildRequires : kpty-devel
2014-06-12 18:14:40 +00:00
BuildRequires : xz
2014-06-12 18:18:35 +00:00
BuildRequires : pkgconfig(Qt5Core) >= 5.3.0
2014-06-12 18:14:40 +00:00
#BuildRequires: update-desktop-files
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%description
2014-06-12 18:18:35 +00:00
KDE daemon listening for wall and write messages.
2014-06-12 18:14:40 +00:00
%prep
%setup -q -n kwrited-%{version}
%patch0 -p1
%build
2014-06-12 18:47:18 +00:00
%cmake_kf5 -d build -- -DBUILD_AS_EXECUTABLE=OFF
2014-06-12 18:14:40 +00:00
%make_jobs
%install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr (-,root,root)
%{_kf5_plugindir}/
%{_kf5_servicesdir}/
%{_kf5_notifydir}/
%changelog