]> git.pld-linux.org Git - packages/brikx.git/blob - brikx.spec
- 0.2.2
[packages/brikx.git] / brikx.spec
1 Summary:        Puzzle game
2 Summary(pl):    Gra logiczna
3 Name:           brikx
4 Version:        0.2.2
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/brikx/%{name}-%{version}.tar.bz2
9 # Source0-md5:  e10397cfff05758628f4e2c02cf3ee14
10 URL:            http://sourceforge.net/projects/brikx
11 BuildRequires:  SDL-devel
12 BuildRequires:  SDL_image-devel
13 BuildRequires:  SDL_ttf-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  freetype
17 BuildRequires:  sed >= 4.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 A small puzzle game in which your goal is to remove all tiles. You are
22 held up by other tiles, gravity, walls, and other things.
23
24 %description -l pl
25 Ma³a gra logiczna, w której celem gracza jest pozbycie siê wszystkich
26 kulek. W dokonaniu tego przeszkadzaj± inne kulki, grawitacja, ¶ciany
27 oraz inne rzeczy.
28
29 %prep
30 %setup -q -n %{name}
31 %{__sed} -i 's@data@%{_datadir}/%{name}@' src/brikx.h
32
33 %build
34 %{__aclocal}
35 %{__autoconf}
36 %{__autoheader}
37 %{__automake}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog
56 %attr(755,root,root) %{_bindir}/%{name}
57 %{_datadir}/%{name}
This page took 0.082022 seconds and 3 git commands to generate.