]> git.pld-linux.org Git - packages/brikx.git/blame - brikx.spec
- oops, fixed this time...
[packages/brikx.git] / brikx.spec
CommitLineData
9282e75d
AM
1# TODO:
2# - fix build with new libtool (it loops and eats resources now)
ee7019ae 3Summary: Puzzle game
19309800 4Summary(pl.UTF-8): Gra logiczna
ee7019ae 5Name: brikx
f2842356
TP
6Version: 0.4.5
7Release: 1
ee7019ae 8License: GPL v2+
9Group: X11/Applications/Games
f2842356
TP
10Source0: http://dl.sourceforge.net/brikx/0.4.5/%{name}.tar.bz2
11# Source0-md5: faccd4420ea1d24eea3e4f9829f03c64
01a1b02a 12URL: http://sourceforge.net/projects/brikx/
ee7019ae 13BuildRequires: SDL-devel
14BuildRequires: SDL_image-devel
49cd93e3 15BuildRequires: SDL_mixer-devel
ee7019ae 16BuildRequires: SDL_ttf-devel
17BuildRequires: autoconf
18BuildRequires: automake
01a1b02a 19BuildRequires: freetype-devel
b405ea4a 20BuildRequires: libtool
ee7019ae 21BuildRequires: sed >= 4.0
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25A small puzzle game in which your goal is to remove all tiles. You are
26held up by other tiles, gravity, walls, and other things.
27
c3cf4b13
JR
28%description -l pl.UTF-8
29Mała gra logiczna, w której celem gracza jest pozbycie się wszystkich
30kulek. W dokonaniu tego przeszkadzają inne kulki, grawitacja, ściany
ee7019ae 31oraz inne rzeczy.
32
33%prep
12e7d7b7 34%setup -q -n %{name}
ee7019ae 35%{__sed} -i 's@data@%{_datadir}/%{name}@' src/brikx.h
36
37%build
47f2ddc3 38%{__libtoolize}
ee7019ae 39%{__aclocal}
40%{__autoconf}
41%{__autoheader}
42%{__automake}
43%configure
44%{__make}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53cp -r src/data/* $RPM_BUILD_ROOT%{_datadir}/%{name}
54
55%clean
56rm -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}
This page took 0.06373 seconds and 4 git commands to generate.