From 033cc1335aaaf4253001c7da86158b6cb3da5059 Mon Sep 17 00:00:00 2001 From: tiwek Date: Wed, 8 Jan 2003 14:47:02 +0000 Subject: [PATCH] bince game initial release 2.3 Changed files: foobillard.spec -> 1.1 --- foobillard.spec | 62 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 foobillard.spec diff --git a/foobillard.spec b/foobillard.spec new file mode 100644 index 0000000..ca1dacc --- /dev/null +++ b/foobillard.spec @@ -0,0 +1,62 @@ +Summary: A free OpenGL game of playing billard. +Name: foobillard +Version: 2.3 +Release: 1 +Group: X11/Applications/Games +Vendor: Florian Berger (florian.berger@aec.at,harpin_floh@yahoo.de) +License: GPL +URL: http://foobillard.sunsite.dk/ +Source0: http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +Patch0: %{name}-include.patch +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: gettext-devel +BuildRequires: intltool +BuildRequires: SDL-devel +BuildRequires: freetype-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _prefix /usr/X11R6 +%define _applnkdir %{_datadir}/applnk + +%description +FooBillard is an attempt to create a free OpenGL-billard for Linux. +Why foo? Well, actually I had this logo (F.B.-Florian Berger) and then +foo sounds a bit like pool (Somehow I wasn't quite attracted by the +name FoolBillard) Actually FooBillard is still under development but +the main physics is implemented. If you are a billard-pro and you're +missing some physics, please tell me. Cause I've implemented it like I +think it should work, which might differ from reality. + +%prep +%setup -q +%patch0 -p1 + +%build +rm -f missing +export X_LIBS='-I%{_includedir}' +%{__libtoolize} +%{__gettextize} +%{__aclocal} +%{__autoconf} +%{__automake} +%configure --enable-SDL +%{__make} + + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_applnkdir}/Games +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games +%{__make} DESTDIR=%{buildroot} install + +%clean +rm -rf %{buildroot} + +%files +%defattr(644,root,root,755) +%doc AUTHORS COPYING INSTALL NEWS README ChangeLog TODO README.FONTS foobillardrc.example +%attr(755,root,root) %{_bindir}/* +%{_datadir}/foobillard/* +%{_applnkdir}/Games/%{name}.desktop -- 2.43.0