Name: sotg Version: 1.0.1 Release: 1%{?dist} Summary: Stones of the gogs Group: Amusements/Games License: Unknown URL: http://andru.2x4.ru/games/sotg.html Source0: sotg.tar.bz2 Source1: libzengl-0.0.19_i386.deb BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: fpc, binutils, alsa-lib-devel #Requires: %description Stones of the gods %prep %setup -q -n %{name} %build ar x %{SOURCE1} tar xvzf data.tar.gz make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin mv deb/usr/games/sotg $RPM_BUILD_ROOT/usr/bin/ rmdir deb/usr/games cp -ar deb/usr/share $RPM_BUILD_ROOT/usr/ cp -ar usr/lib $RPM_BUILD_ROOT/usr/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/* /usr/lib/* /usr/share/*/* %changelog