packages: mythtv/mythtv.spec - clean up

w.kier w.kier at pld-linux.org
Mon Sep 27 18:03:18 CEST 2010


Author: w.kier                       Date: Mon Sep 27 16:03:18 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- clean up

---- Files affected:
packages/mythtv:
   mythtv.spec (1.103 -> 1.104) 

---- Diffs:

================================================================
Index: packages/mythtv/mythtv.spec
diff -u packages/mythtv/mythtv.spec:1.103 packages/mythtv/mythtv.spec:1.104
--- packages/mythtv/mythtv.spec:1.103	Fri Sep 24 14:25:50 2010
+++ packages/mythtv/mythtv.spec	Mon Sep 27 18:03:10 2010
@@ -34,7 +34,7 @@
 %bcond_with     dshowserver	# enable directshow codecs server
 %bcond_with 	directfb
 %bcond_with	nvidia_headers	# build vdpau support with nvidia headers 
-				# instead of libvdpau	
+				# instead of libvdpau
 
 # enable mmx automatically on arches having it
 %ifarch %{ix86} %{x8664}
@@ -66,18 +66,12 @@
 # Source6-md5:	bf76bd1463a022e174e4af976a03e678
 Source20:	dshowcodecs
 # Source20-md5:	48327772b9e150f69e1ab8ff44b9a76c
-#Patch100: %{name}-branch.diff
 Patch0:		%{name}-configure.patch
-#Patch1: %{name}-mythstream.patch
-#Patch2: %{name}-pl.patch
-Patch3:		%{name}-sbinpath.patch
-Patch4: 	%{name}-compile_fixes_for_qt_4_7.patch
-Patch20:	%{name}-dshowserver-0.22.patch
+Patch10:	%{name}-sbinpath.patch
+Patch20:	%{name}-compile_fixes_for_qt_4_7.patch
+Patch30:	%{name}-dshowserver-0.22.patch
 URL:		http://www.mythtv.org/
-%{!?with_nvidia_headers:BuildConflicts:	xorg-driver-video-nvidia-devel}
-%{?with_nvidia_headers:%{?with_vdpau:BuildRequires: xorg-driver-video-nvidia-devel}}
 BuildRequires:	Mesa-libGLU-devel
-#BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
 BuildRequires:	Qt3Support-devel
 BuildRequires:	QtCore-devel
@@ -90,6 +84,7 @@
 BuildRequires:	QtXml-devel
 %{?with_alsa:BuildRequires:	alsa-lib-devel}
 BuildRequires:	ffmpeg-devel
+%{?with_fftw3:BuildRequires: fftw3-devel,fftw3-single-devel}
 BuildRequires:	freetype-devel >= 1:2.0.0
 %{?with_jack:BuildRequires:	jack-audio-connection-kit-devel}
 BuildRequires:	lame-libs-devel
@@ -97,29 +92,29 @@
 BuildRequires:	libdts-devel
 %{?with_dvb:BuildRequires:	libdvb-devel}
 BuildRequires:	libdvdnav-devel
-%{?with_fftw3:BuildRequires: fftw3-devel,fftw3-single-devel}
 %{?with_firewire:BuildRequires:	libiec61883-devel}
 %{?with_firewire:BuildRequires:	libraw1394-devel}
 %{!?with_nvidia_headers:%{?with_vdpau:BuildRequires:	libvdpau-devel}}
 BuildRequires:	linux-libc-headers >= 7:2.6.10
 %{?with_lirc:BuildRequires:	lirc-devel}
 BuildRequires:	mysql-devel
-#BuildRequires:	patchutils
 BuildRequires:	perl-devel
 BuildRequires:	perl-tools-pod
 BuildRequires:	pkgconfig
-BuildRequires:	python-devel
 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
-%{!?with_pulseaudio:BuildConflicts: pulseaudio-devel}
+BuildRequires:	python-devel
 BuildRequires:	qt4-build
 BuildRequires:	qt4-qmake
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.228
 BuildRequires:	sed >= 4.0
 BuildRequires:	which
+%{?with_nvidia_headers:%{?with_vdpau:BuildRequires: xorg-driver-video-nvidia-devel}}
 BuildRequires:	xorg-lib-libXext-devel
 %{?with_xvmc:BuildRequires:	xorg-lib-libXvMC-devel}
 BuildRequires:	xorg-lib-libXxf86vm-devel
+%{!?with_pulseaudio:BuildConflicts: pulseaudio-devel}
+%{!?with_nvidia_headers:BuildConflicts:	xorg-driver-video-nvidia-devel}
 # for Perl bindings
 BuildRequires:	perl-ExtUtils-MakeMaker
 ExclusiveArch:	%{ix86} %{x8664} ppc
@@ -215,8 +210,7 @@
 
 Ten pakiet zawiera tylko oprogramowanie klienckie, dostarczające
 frontend do odtwarzania i konfiguracji. Wymaga dostępu do instalacji
-mythtv-backend - na tym samym systemie, albo innym osiągalnym w
-sieci.
+mythtv-backend - na tym samym systemie, albo innym osiągalnym w sieci.
 
 %package setup
 Summary:	Setup the mythtv backend
@@ -333,11 +327,10 @@
 %setup -q
 
 
-%patch0 -p1
-#%patch1 -p1
-#%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%patch0  -p1
+%patch10 -p1
+%patch20 -p1
+#%patch30 -p1
 
 %{?with_dshowserver:%patch20 -p0}
 rm -rf database/old # not supported in PLD
@@ -461,11 +454,6 @@
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
 
-# required to build some plugins
-#	install libs/libavcodec/*.h $RPM_BUILD_ROOT%{_includedir}/mythtv \
-#		libs/libavformat/*.h $RPM_BUILD_ROOT%{_includedir}/mythtv \
-#		libs/libavutil/*.h $RPM_BUILD_ROOT%{_includedir}/mythtv
-
 # Install the files that we added on top of mythtv's own stuff
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/mythbackend
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/logrotate.d/mythbackend
@@ -504,8 +492,6 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-# Empty newline after %addusertogroup %{name} video below is intended.
-# Do not remove it until rpm stop joining lines with that macro.
 %pre backend
 %groupadd -g 149 %{name}
 %useradd -u 149 -d /var/lib/mythtv -g %{name} -c "MythTV User" %{name}
@@ -620,7 +606,6 @@
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/mythpython
 %dir %{py_sitescriptdir}/MythTV
-# XXX: package .py[co] only
 %{py_sitescriptdir}/MythTV/*
 %{py_sitescriptdir}/*.egg-info
 
@@ -630,6 +615,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.104  2010/09/27 16:03:10  w.kier
+- clean up
+
 Revision 1.103  2010/09/24 12:25:50  w.kier
 -  added patch to fix compile errors with Qt4.7
 -  up to 0.23.1 bugfixes release
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mythtv/mythtv.spec?r1=1.103&r2=1.104&f=u



More information about the pld-cvs-commit mailing list