]>
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 |
f8d9f5d0 | 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 | |
36 | %{__aclocal} | |
37 | %{__autoconf} | |
38 | %{__autoheader} | |
39 | %{__automake} | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name} | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name} | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
183ae233 | 57 | %doc AUTHORS ChangeLog TODO |
ee7019ae | 58 | %attr(755,root,root) %{_bindir}/%{name} |
59 | %{_datadir}/%{name} |