]>
Commit | Line | Data |
---|---|---|
ee7019ae | 1 | Summary: Puzzle game |
19309800 | 2 | Summary(pl.UTF-8): Gra logiczna |
ee7019ae | 3 | Name: brikx |
f2842356 TP |
4 | Version: 0.4.5 |
5 | Release: 1 | |
ee7019ae | 6 | License: GPL v2+ |
7 | Group: X11/Applications/Games | |
f2842356 TP |
8 | Source0: http://dl.sourceforge.net/brikx/0.4.5/%{name}.tar.bz2 |
9 | # Source0-md5: faccd4420ea1d24eea3e4f9829f03c64 | |
01a1b02a | 10 | URL: http://sourceforge.net/projects/brikx/ |
ee7019ae | 11 | BuildRequires: SDL-devel |
12 | BuildRequires: SDL_image-devel | |
49cd93e3 | 13 | BuildRequires: SDL_mixer-devel |
ee7019ae | 14 | BuildRequires: SDL_ttf-devel |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
01a1b02a | 17 | BuildRequires: freetype-devel |
b405ea4a | 18 | BuildRequires: libtool |
ee7019ae | 19 | BuildRequires: sed >= 4.0 |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | A small puzzle game in which your goal is to remove all tiles. You are | |
24 | held up by other tiles, gravity, walls, and other things. | |
25 | ||
c3cf4b13 JR |
26 | %description -l pl.UTF-8 |
27 | Mała gra logiczna, w której celem gracza jest pozbycie się wszystkich | |
28 | kulek. W dokonaniu tego przeszkadzają inne kulki, grawitacja, ściany | |
ee7019ae | 29 | oraz inne rzeczy. |
30 | ||
31 | %prep | |
12e7d7b7 | 32 | %setup -q -n %{name} |
ee7019ae | 33 | %{__sed} -i 's@data@%{_datadir}/%{name}@' src/brikx.h |
34 | ||
35 | %build | |
47f2ddc3 | 36 | %{__libtoolize} |
ee7019ae | 37 | %{__aclocal} |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
47 | ||
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
50 | ||
51 | cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
183ae233 | 58 | %doc AUTHORS ChangeLog TODO |
ee7019ae | 59 | %attr(755,root,root) %{_bindir}/%{name} |
60 | %{_datadir}/%{name} |