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