%global applet_id org.miryugaming.search Name: miryu-search Version: 45.0.0 Release: 3%{?dist} Summary: Windows 11 style search box for the KDE Plasma 6 panel License: GPL-3.0-or-later URL: https://github.com/evernightvista/miryu-search Source0: https://github.com/evernightvista/miryu-search/archive/refs/heads/main.zip BuildArch: noarch BuildRequires: gettext Requires: plasma-desktop %description A Windows 11 style search box for the KDE Plasma 6 panel, part of the Fenestra series. It searches applications, files, folders and settings through KRunner, with category filters, a calculator, document previews and configurable web search engines. %prep %setup -q -n %{name}-main %build rm -rf contents/locale sh translate/build.sh %install install -d %{buildroot}%{_datadir}/plasma/plasmoids/%{applet_id} cp -a metadata.json contents %{buildroot}%{_datadir}/plasma/plasmoids/%{applet_id}/ chmod 0755 %{buildroot}%{_datadir}/plasma/plasmoids/%{applet_id}/contents/code/moteur-kde.sh chmod 0755 %{buildroot}%{_datadir}/plasma/plasmoids/%{applet_id}/contents/code/recent-menu.sh %files %license LICENSE %doc README.md %{_datadir}/plasma/plasmoids/%{applet_id}/ %changelog * Sat Oct 24 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-3 - Fix file permissions * Sat Oct 24 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-2 - Change Recent UI * Thu Oct 22 2026 KairikiFedora <13278297951@sina.cn> - 45.0.0-1 - Initial RPM package