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