]> git.pld-linux.org Git - packages/blobby2.git/blob - blobby2.spec
- initlal PLD release
[packages/blobby2.git] / blobby2.spec
1
2 # TODO:
3 #       - use system-wide lua
4
5 %define         snap    070804
6 Summary:        Blobby Volley 2
7 Summary(pl.UTF-8):      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:  3808d2d3d2186c1424ec9e5b01a05198
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 BuildRoot:      %{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}
34 sed -i -e "s:HAVE_LIBGL = @HAVE_LIBGL@:HAVE_LIBGL = 1:" src/Makefile.in
35 sed -i  -e "s:-lSDL:-lSDL -lGL:" configure
36 %configure \
37         %{?debug:--enable-debug}
38 %{__make} \
39         CFLAGS="%{rpmcflags}" \
40         CXXFLAGS="%{rpmcflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -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.111594 seconds and 3 git commands to generate.