Name: Todour Version: 2.20 Release: 1%{?dist} Summary: The todo.txt application Todour License: GPLv2 URL: https://github.com/SverrirValgeirsson/Todour Source0: https://github.com/SverrirValgeirsson/Todour/archive/refs/tags/Todour-2.20.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: qt5-qtbase-devel >= 5.10 BuildRequires: qt5-qtbase-private-devel >= 5.10 BuildRequires: xcb-util-keysyms-devel >= 0.4.0 Requires: qt5-qtbase >= 5.10 Requires: qt5-qtbase-gui >= 5.10 Requires: xcb-util-keysyms >= 0.4.0 %description The todo.txt application Todour %global debug_package %{nil} %prep %autosetup %build qmake-qt5.sh Todour.pro make %install # rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps cp Todour %{buildroot}%{_bindir} cp newicon.ico %{buildroot}%{_datadir}/icons/hicolor/scalable/apps cp newicon.png %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %files %{_bindir}/Todour %{_datadir}/icons/hicolor/scalable/apps/newicon.ico %{_datadir}/icons/hicolor/scalable/apps/newicon.png %license LICENSE %doc README.md CHANGELOG %changelog * Sat Jan 15 2022 Detlef Graef 2.20-1 - Initial version 2.20