Name: hexalate Version: 1.2.0 Release: 1%{?dist} Summary: Color matching game Group: Games/Puzzles License: GPLv3+ URL: http://gottcode.org/%{name}/ #Source: http://gottcode.org/%{name}/%{name}-%{version}-src.tar.bz2 %scm_source github https://github.com/gottcode/hexalate main BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: qt5-qttools-devel %description The goal of the game is to rotate and position the circles so that each touching line matches in color. You rotate circles by right clicking, and you move circles by dragging them. The game stores the positions and rotations of the circles across runs. %prep #%setup -q %scm_setup %build # do a fast qt build, as runmapsym and wmapsym is not needed here export QMAKE_SH=$SHELL export FAST_BUILD=1 LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" qmake "CONFIG+=release" PREFIX=/@unixroot/usr make %{?_smp_mflags} %install %make_install INSTALL_ROOT=%{buildroot} mkdir -p %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_datadir}/%{name}/translations mkdir -p %{buildroot}%{_mandir}/man6/ mkdir -p %{buildroot}%{_datadir}/%{name}/icons/ install -p -m 644 release/hexalate.exe %{buildroot}%{_bindir}/ install -p -m 644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations/ install -p -m 644 doc/%{name}.6 %{buildroot}%{_mandir}/man6/ install -p -m 644 icons/hicolor/32x32/apps/*.png %{buildroot}%{_datadir}/%{name}/icons/ %files %defattr(-,root,root,-) %doc ChangeLog COPYING CREDITS README %{_bindir}/%{name}.exe #%{_datadir}/%{name}/ %{_datadir}/%{name}/translations %{_datadir}/%{name}/icons/%{name}.png %{_mandir}/man6/%{name}.6.* %changelog * Tue May 18 2021 Elbert Pol - 1.2.0-1 - Updated to latest version * Fri Apr 24 2020 Elbert Pol - 1.1.6-1 - first QT5 RPM for OS2 - There are no languages installed, only Englisch