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