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