]> git.pld-linux.org Git - packages/blobby2.git/blob - blobby2.spec
ae1fbca848528c74128cc612e04bf2822fc48a34
[packages/blobby2.git] / blobby2.spec
1
2 # TODO:
3 #       - use system-wide lua
4
5 %define         snap    070804
6 Summary:        Blobby Volley 2 game
7 Summary(pl.UTF-8):      Gra Blobby Volley 2
8 Name:           blobby2
9 Version:        0.61
10 Release:        1
11 License:        GPL v2
12 Group:          X11/Applications/Games
13 Source0:        %{name}-%{snap}.tar.bz2
14 # Source0-md5:  fffe00422e14879fe73db491ae782649
15 URL:            http://blobby.redio.de/content/en/
16 BuildRequires:  OpenGL-devel
17 BuildRequires:  SDL-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  physfs-devel
21 BuildRequires:  sed >= 4.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Blobby Volley 2 game.
26
27 %description -l pl.UTF-8
28 Gra Blobby Volley 2.
29
30 %prep
31 %setup -q -n %{name}-%{snap}
32
33 %build
34 %{__aclocal}
35 %{__autoconf}
36 %{__automake}
37 sed -i -e "s:HAVE_LIBGL = @HAVE_LIBGL@:HAVE_LIBGL = 0:" src/Makefile.in
38 sed -i -e "s:-lSDL:-lSDL -lGL:" configure
39 %configure \
40         %{?debug:--enable-debug}
41 %{__make} \
42         CFLAGS="%{rpmcflags}" \
43         CXXFLAGS="%{rpmcflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/*
57 %doc AUTHORS ChangeLog NEWS README TODO doc/*.txt
58 %{_datadir}/blobby
This page took 0.065904 seconds and 2 git commands to generate.