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