]> git.pld-linux.org Git - packages/BillardGL.git/blobdiff - BillardGL.spec
- use sed -i, amd64 fix, rel. 2
[packages/BillardGL.git] / BillardGL.spec
index 1be8728a81af1e74b0ce245160c53fac90a8e7fb..4f1e8c6f70db52b22d020b133b9a5b15525b6772 100644 (file)
@@ -1,17 +1,17 @@
 Name:          BillardGL
 Summary:       3D billard simulation using OpenGL
 Summary(pl):   Symulacja bilarda u¿ywaj±ca OpenGL
-Version:       1.70
-Release:       1
+Version:       1.75
+Release:       2
 Group:         X11/Applications/Games
 License:       GPL
 Vendor:                University of Freiburg / Germany
-Source0:       http://wesley.informatik.uni-freiburg.de/~nopper/BillardGL/download/%{name}-%{version}.tar.gz
-# Source0-md5: 925e8a3f42690b9c6b009bc77781cc52
-URL:           http://www.billardgl.de
+Source0:       http://billardgl.sourceforge.net/download/%{name}-%{version}.tar.gz
+# Source0-md5: 46f2cf99e1a2b2aa4707d3500e43be47
+URL:           http://www.tobias-nopper.de/BillardGL/
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
 %description
 3D billard simulation using OpenGL.
 
@@ -23,8 +23,8 @@ Tr
 
 %build
 cd src
-sed -e "s:/usr/share/:%{_datadir}/:" Namen.h > Namen
-mv -f Namen Namen.h
+sed -i -e "s:/usr/X11R6/lib:/usr/X11R6/%{_lib}:g" Makefile
+sed -i -e "s:/usr/share/:%{_datadir}/:" Namen.h
 %{__make}
 
 %install
@@ -33,7 +33,7 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/Texturen/{1,2,4,8}}
 
 cd src
 install BillardGL $RPM_BUILD_ROOT%{_bindir}
-install *.lang $RPM_BUILD_ROOT%{_datadir}/%{name}
+install lang/*.lang $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 for j in 1 2 4 8 ; do
        for i in Texturen/$j/*; do
This page took 0.092105 seconds and 4 git commands to generate.