diff --git a/konquest.spec b/konquest.spec index 23d6153..2b3366c 100644 --- a/konquest.spec +++ b/konquest.spec @@ -1,12 +1,10 @@ -%undefine __cmake_in_source_build - Name: konquest Summary: Galactic conquest game Version: 21.04.1 Release: 1%{?dist} License: GPLv2+ and GFDL -URL: https://cgit.kde.org/%{name}.git +URL: https://invent.kde.org/games/%{name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 @@ -53,7 +51,8 @@ against other people or a computer. %build -%{cmake_kf5} +%cmake_kf5 + %cmake_build @@ -70,6 +69,7 @@ desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.d %files -f %{name}.lang %doc README +%license LICENSES/* %{_kf5_bindir}/%{name}* %{_kf5_metainfodir}/org.kde.%{name}.appdata.xml %{_kf5_datadir}/applications/org.kde.%{name}.desktop