# # spec file for package bluedevil5 # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2010 Raymond Wooninck # # 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/ # %bcond_without lang Name: bluedevil5 Version: 5.4.95 Release: 0 Summary: Bluetooth Manager for KDE License: GPL-2.0+ Group: Hardware/Other Url: http://www.kde.org/ Source: bluedevil-%{version}.tar.xz Source99: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bluez-qt-devel >= %{version} BuildRequires: kcoreaddons-devel BuildRequires: kdbusaddons-devel BuildRequires: kded-devel BuildRequires: kf5-filesystem BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: knotifications-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kwindowsystem-devel BuildRequires: plasma-framework-devel BuildRequires: shared-mime-info BuildRequires: pkgconfig(Qt5Core) >= 5.4.0 BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0 BuildRequires: pkgconfig(Qt5Qml) >= 5.4.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0 Requires: bluez-qt-imports >= %{version} Requires: bluez-qt-udev >= %{version} # atop of the bluez itself, we also need bluez-obexd for kio_obexftp and both send/receive Requires: bluez # for connecting A2DP profile Recommends: pulseaudio-module-bluetooth %if %{with lang} Recommends: %{name}-lang %endif Supplements: packageand(bluez:plasma5-workspace) Conflicts: bluedevil Requires(post): shared-mime-info Requires(postun): shared-mime-info %description Bluetooth daemon for KDE, handling connections. %lang_package %prep %setup -q -n bluedevil-%{version} %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5 %make_jobs %install %kf5_makeinstall -C build %post /usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : %postun /usr/bin/update-mime-database %{_datadir}/mime > /dev/null 2>&1 || : %files %defattr(-,root,root,-) %doc README %{_kf5_sharedir}/mime/packages/bluedevil-mime.xml %{_kf5_applicationsdir}/org.kde.bluedevil*.desktop %{_kf5_sharedir}/bluedevilwizard/ %{_kf5_bindir}/bluedevil-* %{_kf5_libdir}/libexec/ %{_kf5_sharedir}/remoteview/ %{_kf5_notifydir}/ %{_kf5_plugindir}/ %{_kf5_servicesdir}/ %{_kf5_qmldir}/ %{_kf5_plasmadir}/ %if %{with lang} %files lang %defattr(-,root,root) %{_kf5_localedir}/ %endif %changelog