]> git.pld-linux.org Git - packages/brikx.git/blob - brikx.spec
- todo
[packages/brikx.git] / brikx.spec
1 # TODO:
2 # - fix build with new libtool (it loops and eats resources now)
3 Summary:        Puzzle game
4 Summary(pl.UTF-8):      Gra logiczna
5 Name:           brikx
6 Version:        0.4.1
7 Release:        1.1
8 License:        GPL v2+
9 Group:          X11/Applications/Games
10 Source0:        http://dl.sourceforge.net/brikx/%{name}-%{version}-src.tar.bz2
11 # Source0-md5:  7a2a034d71d074bf75e289adbaaefc44
12 URL:            http://sourceforge.net/projects/brikx/
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_image-devel
15 BuildRequires:  SDL_mixer-devel
16 BuildRequires:  SDL_ttf-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  freetype-devel
20 # FIXME
21 BuildRequires:  libtool < 2:2.2.0
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
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
32 oraz inne rzeczy.
33
34 %prep
35 %setup -q -n %{name}
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)
60 %doc AUTHORS ChangeLog TODO
61 %attr(755,root,root) %{_bindir}/%{name}
62 %{_datadir}/%{name}
This page took 0.086488 seconds and 3 git commands to generate.