Name: 2048 Version: 1.5.0 Release: 1%{?dist} Summary: A classic 2048 block sliding puzzle game. Group: Games/Logic License: Public Domain URL: https://app.zdechov.net/2048 Source0: 2048.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: lazarus %description Move numbered blocks across board to merge blocks with the same number together to reach 2048 tile. Features: * Selectable board size (from 2x2 to 12x12). * Last move undo. * Keep game between application restarts. * Localization support (English, Czech, French, Spanish). * High DPI support. * Moves history recording. * Dark and light themes. * Tiles move, merge and creation animation. * Selectable tile skins (linear, exponential, alpha, binary, Roman) * Optional randomly generated unmergeable tiles * Optional randomly generated disabled tiles * Detailed score list for previous games %global debug_package %{nil} %prep %setup -q -c $(RPM_NAME)-$(RPM_VERSION) %build lazbuild --build-mode=Release Game2048.lpi %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -s -m 755 Game2048 $RPM_BUILD_ROOT/usr/bin/Game2048 install -d -m 755 $RPM_BUILD_ROOT/usr/share/Game2048/languages install -m 744 Languages/*.po $RPM_BUILD_ROOT/usr/share/Game2048/languages install -m 744 Packages/Common/Languages/*.po $RPM_BUILD_ROOT/usr/share/Game2048/languages install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications install -m 744 Install/deb/2048.desktop $RPM_BUILD_ROOT/usr/share/applications install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps install -m 744 Images/2048.png $RPM_BUILD_ROOT/usr/share/pixmaps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/Game2048 /usr/share/applications/2048.desktop /usr/share/Game2048/* /usr/share/pixmaps/2048.png %changelog