]> git.pld-linux.org Git - packages/brikx.git/blob - brikx.spec
a4c126aa9f0bd938d019cb56ebc5bdd351cf7556
[packages/brikx.git] / brikx.spec
1 Summary:        Puzzle game
2 Summary(pl.UTF-8):      Gra logiczna
3 Name:           brikx
4 Version:        0.4.5
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/brikx/0.4.5/%{name}.tar.bz2
9 # Source0-md5:  faccd4420ea1d24eea3e4f9829f03c64
10 URL:            http://sourceforge.net/projects/brikx/
11 BuildRequires:  SDL-devel
12 BuildRequires:  SDL_image-devel
13 BuildRequires:  SDL_mixer-devel
14 BuildRequires:  SDL_ttf-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  freetype-devel
18 BuildRequires:  libtool
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
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
29 oraz inne rzeczy.
30
31 %prep
32 %setup -q -n %{name}
33 %{__sed} -i 's@data@%{_datadir}/%{name}@' src/brikx.h
34
35 %build
36 %{__libtoolize}
37 %{__aclocal}
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog TODO
59 %attr(755,root,root) %{_bindir}/%{name}
60 %{_datadir}/%{name}
This page took 0.05193 seconds and 2 git commands to generate.