]>
Commit | Line | Data |
---|---|---|
c9727c36 | 1 | Summary: Slot machine game |
2 | Summary(pl.UTF-8): Jednoręki bandyta | |
3 | Name: bfruit | |
4 | Version: 0.1.2 | |
5 | Release: 1 | |
6 | License: GPL | |
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 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | BFruit is an open source, GPL licensed fruit machine game written in | |
18 | python and pygame. | |
19 | ||
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. | |
23 | ||
24 | %prep | |
25 | %setup -q | |
26 | %{__sed} -i -e 's#data/#%{_datadir}/%{name}/#' bfruit.py | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} | |
31 | ||
32 | install bfruit.py $RPM_BUILD_ROOT%{_bindir}/%{name} | |
33 | cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | #%%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO | |
41 | %attr(755,root,root) %{_bindir}/bfruit | |
42 | %{_datadir}/%{name} |