]> git.pld-linux.org Git - packages/foobillard.git/blame - foobillard.spec
- added icon
[packages/foobillard.git] / foobillard.spec
CommitLineData
ce313424 1Summary: A free OpenGL game of playing billard.
2Name: foobillard
3Version: 2.3
4Release: 1
5Group: X11/Applications/Games
6Vendor: Florian Berger (florian.berger@aec.at,harpin_floh@yahoo.de)
7License: GPL
8URL: http://foobillard.sunsite.dk/
9Source0: http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz
10Source1: %{name}.desktop
d3c18920 11Source2: %{name}.xpm
ce313424 12Patch0: %{name}-include.patch
033cc133 13BuildRequires: automake
14BuildRequires: autoconf
15BuildRequires: gettext-devel
16BuildRequires: intltool
17BuildRequires: SDL-devel
18BuildRequires: freetype-devel
ce313424 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
033cc133 20
21%define _prefix /usr/X11R6
033cc133 22
23%description
24FooBillard is an attempt to create a free OpenGL-billard for Linux.
25Why foo? Well, actually I had this logo (F.B.-Florian Berger) and then
26foo sounds a bit like pool (Somehow I wasn't quite attracted by the
27name FoolBillard) Actually FooBillard is still under development but
28the main physics is implemented. If you are a billard-pro and you're
29missing some physics, please tell me. Cause I've implemented it like I
30think it should work, which might differ from reality.
31
32%prep
33%setup -q
34%patch0 -p1
35
36%build
37rm -f missing
38export X_LIBS='-I%{_includedir}'
39%{__libtoolize}
40%{__gettextize}
41%{__aclocal}
42%{__autoconf}
43%{__automake}
44%configure --enable-SDL
45%{__make}
46
47
48%install
49rm -rf $RPM_BUILD_ROOT
50install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
d3c18920 51install -d $RPM_BUILD_ROOT%{_pixmapsdir}
033cc133 52install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
d3c18920 53install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/
033cc133 54%{__make} DESTDIR=%{buildroot} install
55
d3c18920 56
033cc133 57%clean
58rm -rf %{buildroot}
59
60%files
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
d3c18920 66%{_pixmapsdir}/*
This page took 0.1205 seconds and 4 git commands to generate.