Name: editor Version: 0.5.2 Release: %(date +%Y%m%d%H)%{?dist} Summary: Editor of LAA Competition tracks Group: Applications/Internet License: BUT LICENCE (GPLv2 compatibile) URL: https://github.com/DCGM/LAA-maps-editor Source0: https://github.com/DCGM/LAA-maps-editor/archive/master.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: git BuildRequires: desktop-file-utils BuildRequires: cmake BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtquickcontrols BuildRequires: qt5-linguist BuildRequires: qt5-qtdeclarative-devel %description editor is tool for editing of LAA Competion tracks %prep %setup -q -n LAA-maps-editor-master %build %cmake %cmake_build %install %cmake_install desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop #desktop-file-install --dir $RPM_BUILD_ROOT/opt/%{name}/share/applications\ # $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop %check # %%ctest %files %dir /usr/share/editor %dir /usr/share/editor/i18n /usr/share/editor/i18n/editor_cs_CZ.qm /usr/share/editor/i18n/editor_en_US.qm /usr/share/applications/editor.desktop /usr/share/icons/hicolor/applications/64x64/editor64.ico /usr/share/icons/hicolor/applications/64x64/editor64.png /usr/bin/editor %changelog * Fri Jun 15 2018 Jozef Mlich - 0.2.0-1 - initial packaging