File vbox-runner.spec of Package vbox-runner
#
# spec file for package vbox-runner
#
# 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: vbox-runner
License: GPL-3.0
Group: System/GUI/KDE
Summary: Runner plugin for virtualbox
URL: https://github.com/alvanieto/vbox-runner
Version: 0.0.1
Release: 1
Source: %{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: xz
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: kio-devel
BuildRequires: ki18n-devel
BuildRequires: plasma-framework-devel
BuildRequires: krunner-devel
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Allows you to start your VirtualBox virtual machines from Krunner (Alt-Space)
%prep
%setup -n %{name}-%{version} -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%fdupes %{buildroot}
%fdupes %{buildroot}%{_kf5_sharedir}/pixmaps/vbox-runner
%files
%defattr(-,root,root)
%{_kf5_plugindir}/krunner_vbox.so
%{_kf5_servicesdir}/plasma-runner-vbox.desktop
%{_kf5_sharedir}/pixmaps/vbox-runner/
%changelog