1 Summary: Slot machine game
2 Summary(pl.UTF-8): Jednoręki bandyta
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net//bfruit/%{name}-%{version}.tar.bz2
9 # Source0-md5: 8022b31e716d5a5878c58435a8d531e7
10 URL: http://bfruit.sourceforge.net/
11 BuildRequires: sed >= 4.0
12 Requires: python-pygame
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 BFruit is an open source, GPL licensed fruit machine game written in
20 %description -l pl.UTF-8
21 BFruit jest to gra w "Jednorękiego bandytę" oparta na licencji GPL,
22 napisana w pythonie z wykorzystaniem biblioteki pygame.
26 %{__sed} -i -e 's#data/#%{_datadir}/%{name}/#' bfruit.py
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
32 install bfruit.py $RPM_BUILD_ROOT%{_bindir}/%{name}
33 cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(644,root,root,755)
40 #%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
41 %attr(755,root,root) %{_bindir}/bfruit