File kde_cdemu.spec of Package kde_cdemu
#
# spec file for package kde_cdemu
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: kde_cdemu
Version: 0.9
Release: 0
Summary: Frontend to CDEmu
License: GPL-3.0-or-later
URL: https://store.kde.org/p/998461/
Source0: https://github.com/marcelh83/kde-cdemu-manager/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: kf6-extra-cmake-modules
BuildRequires: cmake(KF6ConfigWidgets)
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6DBusAddons)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6Notifications)
BuildRequires: cmake(KF6StatusNotifierItem)
BuildRequires: cmake(KF6XmlGui)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Widgets)
Requires: cdemu-daemon
%description
KDE CDEmu Manager is a simple frontend for CDEmu.
It provides a small manager window that gives you an overview of your
virtual drives and allows you to mount and unmount images.
It also includes a service menu for mounting images directly from
Dolphin/Konqueror.
%lang_package
%prep
%autosetup -p1 -n kde-cdemu-manager-%{version}
%build
%cmake_kf6
%kf6_build
%install
%kf6_install
%find_lang %{name} %{name}.lang
%files
%license LICENSE
%doc CHANGELOG README.md
%{_kf6_bindir}/kde_cdemu
%{_kf6_applicationsdir}/org.kde.kde_cdemu.desktop
%dir %{_kf6_sharedir}/kio
%dir %{_kf6_sharedir}/kio/servicemenus
%{_kf6_sharedir}/kio/servicemenus/kde_cdemu_mount.desktop
%files lang -f %{name}.lang
%changelog