Name: translines Version: 1.5.0 Release: 1%{?dist} Summary: Enjoyable real-time metro building game. Group: Applications/Games License: Public Domain URL: https://app.zdechov.net/translines Source0: translines.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: lazarus %description Enjoyable real-time metro building game. Features: * Supported 9 metro lines with different colors * Supported 12 metro stations shapes * Each week a player gets new train * Passengers with specific shape travel to the station with same shape * Tracks can be re-positioned and extended on both ends * New random stations appear continuously * Dark mode * Full screen mode * Multi-language support (English, Czech, French, German). * Career support with playable cities * Selectable weekly new improvements: line, carriage or termina %global debug_package %{nil} %prep %setup -q -c $(RPM_NAME)-$(RPM_VERSION) %build lazbuild --build-mode=Release TransLines.lpi %install rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/usr/bin install -s -m 755 TransLines $RPM_BUILD_ROOT/usr/bin install -d -m 755 $RPM_BUILD_ROOT/usr/share/TransLines/languages cp -r Languages/*.po $RPM_BUILD_ROOT/usr/share/TransLines/languages install -d -m 755 $RPM_BUILD_ROOT/usr/share/applications install -m 644 Install/deb/TransLines.desktop $RPM_BUILD_ROOT/usr/share/applications install -d -m 755 $RPM_BUILD_ROOT/usr/share/pixmaps install -m 644 Images/64x64/TransLines.png $RPM_BUILD_ROOT/usr/share/pixmaps %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/TransLines /usr/share/applications/TransLines.desktop /usr/share/TransLines/* /usr/share/pixmaps/TransLines.png %changelog