]> git.pld-linux.org Git - packages/foobillard.git/blob - foobillard.spec
- "f" and some "g" letters of small fixes inpired by kloczek
[packages/foobillard.git] / foobillard.spec
1 #
2 # Conditional build:
3 # _with_glut    - use glut instead of SDL
4 #
5 Summary:        A free OpenGL game of playing billard
6 Summary(pl):    Wolnodostêpna gra w bilard oparta na OpenGL
7 Name:           foobillard
8 Version:        2.5
9 Release:        1
10 Vendor:         Florian Berger <florian.berger@aec.at>, <harpin_floh@yahoo.de>
11 License:        GPL
12 Group:          X11/Applications/Games
13 Source0:        http://foobillard.sunsite.dk/dnl/%{name}-%{version}.tar.gz
14 # Source0-md5:  63fd9e1a1d70324da9228b9d43a4e602
15 Source1:        %{name}.desktop
16 Source2:        %{name}.xpm
17 Patch0:         %{name}-include.patch
18 URL:            http://foobillard.sunsite.dk/
19 BuildRequires:  OpenGL-devel
20 %{!?_with_glut:BuildRequires:   SDL-devel}
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  freetype-devel
24 %{?_with_glut:BuildRequires:    glut-devel}
25 BuildRequires:  intltool
26 Requires:       OpenGL
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
30
31 %description
32 FooBillard is an attempt to create a free OpenGL-billard for Linux.
33 Why foo? Well, actually I had this logo (F.B.-Florian Berger) and then
34 foo sounds a bit like pool (Somehow I wasn't quite attracted by the
35 name FoolBillard). Actually FooBillard is still under development but
36 the main physics is implemented. If you are a billard-pro and you're
37 missing some physics, please tell me. Cause I've implemented it like I
38 think it should work, which might differ from reality.
39
40 %description -l pl
41 FooBillard to próba stworzenia wolnodostêpnego bilarda OpenGL dla
42 Linuksa. Dlaczego foo? Bo autor mia³ ju¿ to logo (F.B. - Florian
43 Berger) i "foo" brzmi trochê jak "pool" (a nazwa "FoolBillard" nie
44 brzmia³a zbyt przyci±gaj±co). FooBillard jest nadal w stadium rozwoju,
45 ale g³ówna fizyka jest ju¿ zaimplementowana. Je¿eli w grze brakuje
46 jakiej¶ fizyki, dobrze jest zg³osiæ to autorowi, poniewa¿ on
47 zaimplementowa³ j± tak, jak my¶la³, ¿e powinna dzia³aæ, co mo¿e siê
48 nieco ró¿niæ od rzeczywisto¶ci.
49
50 %prep
51 %setup -q
52 %patch0 -p1
53
54 %build
55 rm -f missing
56 X_LIBS='-I/usr/X11R6/include'; export X_LIBS
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__automake}
61 %configure \
62         %{!?_with_glut:--enable-SDL}%{?_with_glut:--enable-glut}
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc AUTHORS NEWS README ChangeLog TODO README.FONTS foobillardrc.example
82 %attr(755,root,root) %{_bindir}/*
83 %{_datadir}/foobillard
84 %{_applnkdir}/Games/%{name}.desktop
85 %{_pixmapsdir}/*
This page took 0.037971 seconds and 4 git commands to generate.