-Summary: A free OpenGL game of playing billard.
+Summary: A free OpenGL game of playing billard
+Summary(pl): Wolnodostêpna gra w bilard oparta na OpenGL
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/
+Group: X11/Applications/Games
Source0: http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz
Source1: %{name}.desktop
Source2: %{name}.xpm
Patch0: %{name}-include.patch
-BuildRequires: automake
+URL: http://foobillard.sunsite.dk/
+BuildRequires: SDL-devel
BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: freetype-devel
BuildRequires: gettext-devel
BuildRequires: intltool
-BuildRequires: SDL-devel
-BuildRequires: freetype-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
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
+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.
+%description -l pl
+FooBillard to próba stworzenia wolnodostêpnego bilarda OpenGL dla
+Linuksa. Dlaczego foo? Bo autor mia³ ju¿ to logo (F.B. - Florian
+Berger) i "foo" brzmi trochê jak "pool" (a nazwa "FoolBillard" nie
+brzmia³a zbyt przyci±gaj±co). FooBillard jest nadal w stadium rozwoju,
+ale g³ówna fizyka jest ju¿ zaimplementowana. Je¿eli w grze brakuje
+jakiej¶ fizyki, dobrze jest zg³osiæ to autorowi, poniewa¿ on
+zaimplementowa³ j± tak, jak my¶la³, ¿e powinna dzia³aæ, co mo¿e siê
+nieco ró¿niæ od rzeczywisto¶ci.
+
%prep
%setup -q
%patch0 -p1
%build
rm -f missing
-export X_LIBS='-I%{_includedir}'
+X_LIBS='-I/usr/X11R6/include'; export X_LIBS
%{__libtoolize}
%{__gettextize}
%{__aclocal}
%{__autoconf}
%{__automake}
%configure --enable-SDL
-%{__make}
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
+
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
-install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/
-%{__make} DESTDIR=%{buildroot} install
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
-rm -rf %{buildroot}
+rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING INSTALL NEWS README ChangeLog TODO README.FONTS foobillardrc.example
+%doc AUTHORS NEWS README ChangeLog TODO README.FONTS foobillardrc.example
%attr(755,root,root) %{_bindir}/*
-%{_datadir}/foobillard/*
+%{_datadir}/foobillard
%{_applnkdir}/Games/%{name}.desktop
%{_pixmapsdir}/*