]> git.pld-linux.org Git - packages/brikx.git/blame - brikx.spec
- todo
[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
ecb3bae8 6Version: 0.4.1
9282e75d 7Release: 1.1
ee7019ae 8License: GPL v2+
9Group: X11/Applications/Games
a131b101 10Source0: http://dl.sourceforge.net/brikx/%{name}-%{version}-src.tar.bz2
ecb3bae8 11# Source0-md5: 7a2a034d71d074bf75e289adbaaefc44
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
9282e75d
AM
20# FIXME
21BuildRequires: libtool < 2:2.2.0
ee7019ae 22BuildRequires: sed >= 4.0
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26A small puzzle game in which your goal is to remove all tiles. You are
27held up by other tiles, gravity, walls, and other things.
28
c3cf4b13
JR
29%description -l pl.UTF-8
30Mała gra logiczna, w której celem gracza jest pozbycie się wszystkich
31kulek. W dokonaniu tego przeszkadzają inne kulki, grawitacja, ściany
ee7019ae 32oraz 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
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.185635 seconds and 4 git commands to generate.