Name: tunneler Version: 1.2.0 Release: 1%{?dist} Summary: A real-time digging and shooting multi-player tank battle game. Group: Amusements/Games License: Public Domain URL: https://app.zdechov.net/Tunneler Source0: tunneler.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: sox BuildRequires: lazarus >= 2.0.12 %description A real-time digging and shooting multi-player tank battle game. %global debug_package %{nil} %prep %setup -q -c $(RPM_NAME)-$(RPM_VERSION) %build lazbuild --build-mode=Release tunneler.lpi %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -s -m 755 Tunneler $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications install -m 755 Install/common/Tunneler.desktop $RPM_BUILD_ROOT/usr/share/applications install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps install -m 644 Images/64x64/Tunneler.png $RPM_BUILD_ROOT/usr/share/pixmaps install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Languages install -D -m 755 Languages/*.pot $RPM_BUILD_ROOT/usr/share/Tunneler/Languages install -D -m 755 Languages/*.po $RPM_BUILD_ROOT/usr/share/Tunneler/Languages install -d -m 755 $RPM_BUILD_ROOT/usr/share/Tunneler/Audio install -D -m 755 Audio/*.wav $RPM_BUILD_ROOT/usr/share/Tunneler/Audio %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/Tunneler /usr/share/applications/Tunneler.desktop /usr/share/Tunneler/ /usr/share/pixmaps/Tunneler.png %changelog