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