]>
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 |
61df87e2 | 18 | BuildRequires: libstdc++-devel |
b405ea4a | 19 | BuildRequires: libtool |
ee7019ae | 20 | BuildRequires: sed >= 4.0 |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | A small puzzle game in which your goal is to remove all tiles. You are | |
25 | held up by other tiles, gravity, walls, and other things. | |
26 | ||
c3cf4b13 JR |
27 | %description -l pl.UTF-8 |
28 | Mała gra logiczna, w której celem gracza jest pozbycie się wszystkich | |
29 | kulek. W dokonaniu tego przeszkadzają inne kulki, grawitacja, ściany | |
ee7019ae | 30 | oraz inne rzeczy. |
31 | ||
32 | %prep | |
12e7d7b7 | 33 | %setup -q -n %{name} |
ee7019ae | 34 | %{__sed} -i 's@data@%{_datadir}/%{name}@' src/brikx.h |
35 | ||
36 | %build | |
47f2ddc3 | 37 | %{__libtoolize} |
ee7019ae | 38 | %{__aclocal} |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
42 | %configure | |
43 | %{__make} | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
52 | cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
183ae233 | 59 | %doc AUTHORS ChangeLog TODO |
ee7019ae | 60 | %attr(755,root,root) %{_bindir}/%{name} |
61 | %{_datadir}/%{name} |