%define debug_package %{nil} %define _build_id_links none %define _disable_source_fetch 0 %define component_name statusbar Name: cutefish-%{component_name} Version: 0.3 Release: 0b%{?dist} License: GPLv3 Summary: Top status bar for Cutefish Desktop BuildRequires: cmake pkgconfig BuildRequires: libxcb-devel BuildRequires: qt5-qtbase-devel qt5-qtx11extras-devel qt5-qtquickcontrols2-devel qt5-qtsvg-devel qt5-linguist BuildRequires: kf5-kwindowsystem-devel BuildRequires: fishui-devel Source0: https://github.com/cutefishos/%{component_name}/archive/refs/tags/%{version}.tar.gz %description The status bar at the top displays the current status of the system, such as time, system tray, etc. %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}