]> git.pld-linux.org Git - packages/BillardGL.git/blob - BillardGL.spec
- removed two lines with define
[packages/BillardGL.git] / BillardGL.spec
1 Name:           BillardGL
2 Summary:        3D billard simulation using OpenGL
3 Summary(pl):    Symulacja bilarda u¿ywaj±ca OpenGL
4 Version:        1.70
5 Release:        1
6 Group:          X11/Applications/Games
7 License:        GPL
8 Vendor:         University of Freiburg / Germany
9 Source0:        http://wesley.informatik.uni-freiburg.de/~nopper/BillardGL/download/%{name}-%{version}.tar.gz
10 URL:            http://www.billardgl.de
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13
14 %description
15 3D billard simulation using OpenGL.
16
17 %description -l pl
18 Trójwymiarowa symulacja bilarda u¿ywaj±ca OpenGL.
19
20 %prep
21 %setup -q
22
23 %build
24 cd src
25 sed -e "s:/usr/share/:%{_datadir}/:" Namen.h > Namen
26 mv -f Namen Namen.h
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/Texturen/{1,2,4,8}}
32
33 cd src
34 install BillardGL $RPM_BUILD_ROOT%{_bindir}
35 install *.lang $RPM_BUILD_ROOT%{_datadir}/%{name}
36
37 for j in 1 2 4 8 ; do
38         for i in Texturen/$j/*; do
39                 install $i $RPM_BUILD_ROOT%{_datadir}/%{name}/Texturen/$j
40         done
41 done
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc src/README
49 %attr(755,root,root) %{_bindir}/BillardGL
50 %{_datadir}/%{name}
This page took 0.036048 seconds and 4 git commands to generate.