From c1b45330b3e960a2ffe3bc22762a73597655e0e4 Mon Sep 17 00:00:00 2001 From: sparky Date: Fri, 1 Jan 2010 16:19:50 +0000 Subject: [PATCH] - nasm not required on x86_&4 - added .desktop and icon Changed files: xbmc.spec -> 1.13 --- xbmc.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/xbmc.spec b/xbmc.spec index 950b9d3..23be4c4 100644 --- a/xbmc.spec +++ b/xbmc.spec @@ -1,7 +1,7 @@ # # TODO: # - fix build flags - some files are compiled with -O3 and without rpm*flags -# - fix linking order +# - fix linking argument order # - fix install - add DESTDIR support # - don't put binary in %{_datadir} and fix start scripts # @@ -11,7 +11,7 @@ Version: 9.11 Release: 0.1 License: GPL v3 Group: Applications/Multimedia -Source0: http://downloads.sourceforge.net/project/xbmc/XBMC%20Source%20Code/Camelot%20-%209.11/xbmc-9.11.tar.gz +Source0: http://downloads.sourceforge.net/project/xbmc/XBMC%20Source%20Code/Camelot%20-%209.11/%{name}-%{version}.tar.gz # Source0-md5: 9a68ac1e2f44a54cc3803fcdb1265767 URL: http://xbmc.org Patch0: %{name}-nobash.patch @@ -60,7 +60,9 @@ BuildRequires: libvdpau-devel BuildRequires: libvorbis-devel BuildRequires: lzo-devel BuildRequires: mysql-devel +%ifarch %{ix86} BuildRequires: nasm +%endif BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: pulseaudio-devel @@ -84,7 +86,7 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 %build @@ -111,4 +113,6 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/%{name} %attr(755,root,root) %{_datadir}/%{name}/xbmc.bin %attr(755,root,root) %{_datadir}/%{name}/xbmc-xrandr +%{_desktopdir}/%{name}.desktop +%{_pixmapsdir}/%{name}.png %{_datadir}/xsessions/XBMC.desktop -- 2.44.0