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