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