]> git.pld-linux.org Git - packages/bfruit.git/blame - bfruit.spec
- new spec
[packages/bfruit.git] / bfruit.spec
CommitLineData
c9727c36 1Summary: Slot machine game
2Summary(pl.UTF-8): Jednoręki bandyta
3Name: bfruit
4Version: 0.1.2
5Release: 1
6License: GPL
7Group: X11/Applications/Games
8Source0: http://dl.sourceforge.net//bfruit/%{name}-%{version}.tar.bz2
9# Source0-md5: 8022b31e716d5a5878c58435a8d531e7
10URL: http://bfruit.sourceforge.net/
11BuildRequires: sed >= 4.0
12Requires: python-pygame
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17BFruit is an open source, GPL licensed fruit machine game written in
18python and pygame.
19
20%description -l pl.UTF-8
21BFruit jest to gra w "Jednorękiego bandytę" oparta na licencji GPL,
22napisana 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
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}}
31
32install bfruit.py $RPM_BUILD_ROOT%{_bindir}/%{name}
33cp -r data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
34
35%clean
36rm -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}
This page took 0.057447 seconds and 4 git commands to generate.