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