2015-01-08 18:55:04 +01:00
|
|
|
#
|
|
|
|
# spec file for package bluedevil5
|
|
|
|
#
|
2015-01-25 05:35:44 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-01-08 18:55:04 +01:00
|
|
|
# Copyright (c) 2010 Raymond Wooninck <tittiatcoke@gmail.com>
|
|
|
|
#
|
|
|
|
# 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: bluedevil5
|
2015-02-20 03:52:38 +01:00
|
|
|
Version: 5.2.1
|
2015-01-08 18:55:04 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Bluetooth Manager for KDE
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Hardware/Other
|
|
|
|
Url: http://www.kde.org/
|
|
|
|
Source: bluedevil-%{version}.tar.xz
|
2015-01-25 05:35:44 +01:00
|
|
|
Source99: %{name}-rpmlintrc
|
2015-03-10 20:15:10 +01:00
|
|
|
# PATCH-FIX-UPSTREAM sync-with-master.patch
|
|
|
|
Patch0: sync-with-master.patch
|
2015-01-08 18:55:04 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: kcoreaddons-devel
|
|
|
|
BuildRequires: kdbusaddons-devel
|
|
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: ki18n-devel
|
|
|
|
BuildRequires: kiconthemes-devel
|
|
|
|
BuildRequires: kio-devel
|
|
|
|
BuildRequires: knotifications-devel
|
|
|
|
BuildRequires: kwidgetsaddons-devel
|
|
|
|
BuildRequires: libbluedevil5-devel >= %{version}
|
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
|
|
|
|
Requires: obexd-client
|
2015-01-25 05:35:44 +01:00
|
|
|
Recommends: %{name}-lang
|
2015-01-13 21:26:31 +01:00
|
|
|
Supplements: packageand(bluez:plasma5-workspace)
|
2015-01-08 18:55:04 +01:00
|
|
|
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}
|
2015-03-10 20:15:10 +01:00
|
|
|
%patch0 -p1
|
2015-01-08 18:55:04 +01:00
|
|
|
|
|
|
|
%build
|
2015-01-25 05:35:44 +01:00
|
|
|
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
2015-01-08 18:55:04 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
|
|
|
%suse_update_desktop_file -r bluedevil-monolithic Qt KDE Utility DesktopUtility
|
|
|
|
sed -i '/^Icon=/d' %{buildroot}%{_kf5_applicationsdir}/bluedevil-monolithic.desktop
|
|
|
|
|
|
|
|
%post
|
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README
|
|
|
|
%{_kf5_sharedir}/mime/packages/bluedevil-mime.xml
|
|
|
|
%{_kf5_applicationsdir}/bluedevil-*.desktop
|
|
|
|
%{_kf5_sharedir}/bluedevilwizard/
|
|
|
|
%{_kf5_bindir}/bluedevil-*
|
|
|
|
%{_kf5_libdir}/libexec/
|
|
|
|
%{_kf5_notifydir}/
|
|
|
|
%{_kf5_plugindir}/
|
|
|
|
%{_kf5_servicesdir}/
|
|
|
|
|
2015-01-25 05:35:44 +01:00
|
|
|
%files lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_kf5_localedir}/
|
2015-01-08 18:55:04 +01:00
|
|
|
|
|
|
|
%changelog
|