]> git.pld-linux.org Git - packages/BillardGL.git/blobdiff - BillardGL.spec
- use sed -i, amd64 fix, rel. 2
[packages/BillardGL.git] / BillardGL.spec
index 2c0db3f799c4f0fee997966419b83b3f7824b87c..4f1e8c6f70db52b22d020b133b9a5b15525b6772 100644 (file)
@@ -1,18 +1,17 @@
 Name:          BillardGL
 Summary:       3D billard simulation using OpenGL
 Summary(pl):   Symulacja bilarda u¿ywaj±ca OpenGL
-Version:       1.70
-Release:       0.2
+Version:       1.75
+Release:       2
 Group:         X11/Applications/Games
 License:       GPL
-URL:           http://www.billardgl.de
 Vendor:                University of Freiburg / Germany
-Source0:       http://wesley.informatik.uni-freiburg.de/~nopper/BillardGL/download/%{name}-%{version}.tar.gz
+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)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
-
 %description
 3D billard simulation using OpenGL.
 
@@ -24,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
@@ -34,9 +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}
-
-gzip -9nf README
+install lang/*.lang $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 for j in 1 2 4 8 ; do
        for i in Texturen/$j/*; do
@@ -49,6 +46,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc src/*.gz
+%doc src/README
 %attr(755,root,root) %{_bindir}/BillardGL
 %{_datadir}/%{name}
This page took 0.050705 seconds and 4 git commands to generate.