]> git.pld-linux.org Git - packages/xut.git/commitdiff
- simpler workaround for files installation, give proper paths as configure options
authorlisu <lisu@pld-linux.org>
Wed, 21 Jul 2010 21:58:44 +0000 (21:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- installation of files into /usr/share/games works now
- rm -datadir.patch

Changed files:
    xut.spec -> 1.9

xut.spec

index 36dcbb9216ece93fa6de14b5076eae0b4e27555c..c8d2cd112f2621301ca00c23120bcdde2c8f71f1 100644 (file)
--- a/xut.spec
+++ b/xut.spec
@@ -14,7 +14,6 @@ Source0:      http://downloads.sourceforge.net/digenv/%{name}-%{version}.tar.bz2
 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
@@ -43,13 +42,15 @@ XUT jest projektem "guzikowego" symulatora piłki nożnej.
 %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
@@ -70,6 +71,6 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.078705 seconds and 4 git commands to generate.