File kde-servicemenu-stealit.spec of Package kde-servicemenu-stealit
#
# spec file for package kde-servicemenu-stealit
#
# Copyright (c) 2024 Asterios Dramis <asterios.dramis@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.
Name: kde-servicemenu-stealit
Version: 0.02
Release: 0
Summary: KDE Service Menu to Take Ownership on Selected File/Directory
License: GPL-3.0-only
Group: System/GUI/KDE
URL: http://kde-apps.org/content/show.php/StealIt?content=46244
Source0: http://kde-apps.org/CONTENT/content-files/46244-stealit.desktop
# PATCH-FIX-OPENSUSE kde-servicemenu-stealit.patch asterios.dramis@gmail.com -- Make it KDE6 compatible, add "Change owner to root", make it work only for files and directories, use correct icon, cosmetic improvements
Patch0: %{name}.patch
BuildRequires: kf6-filesystem
Requires: dolphin
BuildArch: noarch
%description
A simple KDE service menu to take ownership on selected file/directory.
%prep
%autosetup -N -c -T -n %{name}-%{version}
cp -a %{SOURCE0} %{_builddir}/%{name}-%{version}
%autopatch
%build
%install
install -Dpm 0644 46244-stealit.desktop %{buildroot}%{_kf6_sharedir}/kio/servicemenus/stealit.desktop
%files
%dir %{_kf6_sharedir}/kio
%dir %{_kf6_sharedir}/kio/servicemenus
%{_kf6_sharedir}/kio/servicemenus/stealit.desktop
%changelog