rpms/xbmc/devel xbmc.spec,1.46,1.47

Alex Lancaster alexlan at rpmfusion.org
Tue Jun 5 22:35:48 CEST 2012


Author: alexlan

Update of /cvs/free/rpms/xbmc/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv31513

Modified Files:
	xbmc.spec 
Log Message:
Add bug # for EL-6 support.



Index: xbmc.spec
===================================================================
RCS file: /cvs/free/rpms/xbmc/devel/xbmc.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- xbmc.spec	17 May 2012 18:11:49 -0000	1.46
+++ xbmc.spec	5 Jun 2012 20:35:48 -0000	1.47
@@ -5,7 +5,7 @@
 
 Name: xbmc
 Version: 11.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 URL: http://www.xbmc.org/
 
 Source0: %{name}-%{DIRVERSION}-patched.tar.xz
@@ -52,13 +52,6 @@
 # minor tweaks may be needed)
 Patch5: xbmc-11.0-tsp-Eden-pvr.patch
 
-# backport myth-0.25 patch to Eden-PVR from dteirney
-# 
-# git clone --branch myth-0.25 https://github.com/dteirney/xbmc.git xbmc-myth-0.25
-# cd xbmc-myth-0.25
-# git diff 00e6c1c > xbmc-11.0-dteirney-myth-0.25.patch
-Patch6: xbmc-11.0-dteirney-myth-0.25.patch
-
 ExcludeArch: ppc64
 Buildroot: %{_tmppath}/%{name}-%{version}
 Summary: Media center
@@ -133,13 +126,25 @@
 BuildRequires: libmicrohttpd-devel
 BuildRequires: expat-devel
 BuildRequires: zip
+%if 0%{?el6}
+BuildRequires: gettext-devel
+%else
 BuildRequires: gettext-autopoint
+%endif
 BuildRequires: librtmp-devel
+%if 0%{?el6}
+# libbluray in EPEL 6 is too old. 
+%else
 BuildRequires: libbluray-devel
+%endif
 #BuildRequires: libbluray-devel >= 0.2.1
 BuildRequires: yajl-devel
 BuildRequires: bluez-libs-devel
+%if 0%{?el6}
+# EPEL 6 does not have cwiid
+%else
 BuildRequires: cwiid-devel
+%endif
 
 # nfs-utils-lib-devel package currently broken
 #BuildRequires: nfs-utils-lib-devel
@@ -152,7 +157,11 @@
 # pseudo-DLL loading scheme (sigh)
 Requires: libcrystalhd
 Requires: librtmp
+%if 0%{?el6}
+# libbluray in EPEL 6 is too old. 
+%else
 Requires: libbluray
+%endif
 
 # needed when doing a minimal install, see
 # https://bugzilla.rpmfusion.org/show_bug.cgi?id=1844
@@ -164,18 +173,6 @@
 BuildRequires: python-imaging
 Requires: python-imaging
 
-%post
-/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
-    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
-    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-
-%posttrans
-/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
 %description
 XBMC media center is a free cross-platform media-player jukebox and
 entertainment hub.  XBMC can play a spectrum of of multimedia formats,
@@ -206,7 +203,6 @@
 #patch3 -p0
 %patch4 -p0
 %patch5 -p1
-%patch6 -p1
 
 %build
 
@@ -255,10 +251,21 @@
 #install -d $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib
 #ln -s %{python_sitearch}/pysqlite2 $RPM_BUILD_ROOT%{_libdir}/xbmc/addons/script.module.pysqlite/lib/pysqlite2
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+if [ $1 -eq 0 ] ; then
+    /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+    /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
 %files
 %defattr(-,root,root)
 %doc copying.txt keymapping.txt LICENSE.GPL README.linux
@@ -287,6 +294,17 @@
 #%%{_includedir}/xbmc/xbmcclient.h
 
 %changelog
+* Tue Jun  5 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-4
+- Drop separate dteirney-myth-0.25.patch and ktdryer's boost patch,
+  both are merged into tsp's Eden-pvr branch
+- Cleanup spec, fix position of scriplets (#2334)
+
+* Sat May 19 2012 Ken Dreyer <ktdreyer at ktdreyer.com> - 11.0-3.1
+- Changes for EL-6: (#2339)
+- Conditionally use gettext-devel instead of gettext-autopoint
+- Conditionally disable libbluray and cwiid BRs (unavailable in EL6)
+- Patch to build pvr with EL6's boost 1.41
+
 * Thu May 17 2012 Alex Lancaster <alexlan[AT]fedoraproject org> - 11.0-3
 - Remove the old MythTV add-on (no longer works
   and can be confused with the new cmyth-based version)


More information about the rpmfusion-commits mailing list