1 Summary: A free OpenGL game of playing billard.
5 Group: X11/Applications/Games
6 Vendor: Florian Berger (florian.berger@aec.at,harpin_floh@yahoo.de)
8 URL: http://foobillard.sunsite.dk/
9 Source0: http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz
10 Source1: %{name}.desktop
12 Patch0: %{name}-include.patch
13 BuildRequires: automake
14 BuildRequires: autoconf
15 BuildRequires: gettext-devel
16 BuildRequires: intltool
17 BuildRequires: SDL-devel
18 BuildRequires: freetype-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _prefix /usr/X11R6
24 FooBillard is an attempt to create a free OpenGL-billard for Linux.
25 Why foo? Well, actually I had this logo (F.B.-Florian Berger) and then
26 foo sounds a bit like pool (Somehow I wasn't quite attracted by the
27 name FoolBillard) Actually FooBillard is still under development but
28 the main physics is implemented. If you are a billard-pro and you're
29 missing some physics, please tell me. Cause I've implemented it like I
30 think it should work, which might differ from reality.
38 export X_LIBS='-I%{_includedir}'
44 %configure --enable-SDL
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
51 install -d $RPM_BUILD_ROOT%{_pixmapsdir}
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/
54 %{__make} DESTDIR=%{buildroot} install
61 %defattr(644,root,root,755)
62 %doc AUTHORS COPYING INSTALL NEWS README ChangeLog TODO README.FONTS foobillardrc.example
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/foobillard/*
65 %{_applnkdir}/Games/%{name}.desktop