packages: xut/xut.spec - simpler workaround for files installation, give pr...

lisu lisu at pld-linux.org
Wed Jul 21 23:58:49 CEST 2010


Author: lisu                         Date: Wed Jul 21 21:58:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- simpler workaround for files installation, give proper paths as configure options
- installation of files into /usr/share/games works now
- rm -datadir.patch

---- Files affected:
packages/xut:
   xut.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/xut/xut.spec
diff -u packages/xut/xut.spec:1.8 packages/xut/xut.spec:1.9
--- packages/xut/xut.spec:1.8	Wed Jul 21 22:57:21 2010
+++ packages/xut/xut.spec	Wed Jul 21 23:58:44 2010
@@ -15,7 +15,6 @@
 Source1:	%{name}.desktop
 Patch0:		%{name}-makefile.patch
 Patch1:		%{name}-link.patch
-Patch2:		%{name}-datadir.patch
 URL:		http://xut.dnteam.org
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-GLU-devel
@@ -44,13 +43,15 @@
 %setup -q -n %{name}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 #%%{__aclocal}
 #%%{__autoconf}
 #%%{__automake}
-%configure
+%configure \
+	--datarootdir=%{_datadir}/games \
+	--datadir=%{_datadir}/games \
+	--localedir=%{_datadir}/locale
 %{__make}
 
 %install
@@ -71,7 +72,7 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xut
-%{_datadir}/%{name}
+%{_datadir}/games/%{name}
 %{_desktopdir}/xut.desktop
 %{_pixmapsdir}/xut.png
 
@@ -81,6 +82,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/07/21 21:58:44  lisu
+- simpler workaround for files installation, give proper paths as configure options
+- installation of files into /usr/share/games works now
+- rm -datadir.patch
+
 Revision 1.8  2010/07/21 20:57:21  lisu
 - works, rel 1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xut/xut.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list