%define debug_package %{nil} %define _build_id_links none %define _disable_source_fetch 0 %define component_name launcher Name: cutefish-%{component_name} Version: 0.3 Release: 0a%{?dist} License: GPLv3 Summary: Application launcher for Cutefish Desktop BuildRequires: cmake BuildRequires: qt5-qtbase-devel qt5-qttools qt5-qttools-devel qt5-qtdeclarative-devel qt5-qtquickcontrols2-devel qt5-linguist qt5-qtx11extras-devel BuildRequires: kf5-kwindowsystem-devel Source0: https://github.com/cutefishos/%{component_name}/archive/refs/tags/%{version}.tar.gz %description Cutefish Desktop's full-screen application launcher %prep %setup -qn %{component_name}-%{version} %build %{set_build_flags} mkdir build pushd build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. make %{?_smp_mflags} popd %install pushd build %make_install popd %files %{_bindir}/%{name} %{_datadir}/%{name}