SPECS: mythtv.spec - cleanups

glen glen at pld-linux.org
Sat Sep 3 21:58:51 CEST 2005


Author: glen                         Date: Sat Sep  3 19:58:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanups

---- Files affected:
SPECS:
   mythtv.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/mythtv.spec
diff -u SPECS/mythtv.spec:1.16 SPECS/mythtv.spec:1.17
--- SPECS/mythtv.spec:1.16	Tue Aug 30 01:29:08 2005
+++ SPECS/mythtv.spec	Sat Sep  3 21:58:45 2005
@@ -1,8 +1,6 @@
 # $Revision$, $Date$
 # TODO
-# - CFLAGS doesn't get passed
-# - bconds broken?
-# - mythtv user
+# - bconds broken? (???)
 # - what about Patch0?
 #
 # Specfile for MythTV
@@ -11,7 +9,6 @@
 #  building an rpm by hand on the machine it will be used on, I encourage you
 #  to use "--with cpu_autodetect" to let mythtv decide for you.
 #
-#
 # Conditional build:
 %bcond_with	lirc		# lirc support
 %bcond_without	alsa		# alsa support
@@ -37,9 +34,10 @@
 Patch0:		%{name}-configure.patch
 URL:		http://www.mythtv.org/
 BuildRequires:	XFree86-devel
+#BuildRequires:	DirectFB-devel
 %{?with_alsa:BuildRequires:	alsa-lib-devel}
 %{?with_arts:BuildRequires:	arts-devel >= 13:0.9.5}
-BuildRequires:	desktop-file-utils
+#BuildRequires:	desktop-file-utils
 BuildRequires:	freetype-devel >= 1:2.0.0
 BuildRequires:	gcc-c++
 BuildRequires:	lame-libs-devel
@@ -56,21 +54,17 @@
 ExclusiveArch:	i386 i686 athlon %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define	uid	149
-%define	gid	149
-
 %description
 MythTV implements the following PVR features, and more, with a unified
 graphical interface:
-
- - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
- - Video compression using RTjpeg or MPEG-4
- - Program listing retrieval using XMLTV
- - Themable, semi-transparent on-screen display
- - Electronic program guide
- - Scheduled recording of TV programs
- - Resolution of conflicts between scheduled recordings
- - Basic video editing
+- Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
+- Video compression using RTjpeg or MPEG-4
+- Program listing retrieval using XMLTV
+- Themable, semi-transparent on-screen display
+- Electronic program guide
+- Scheduled recording of TV programs
+- Resolution of conflicts between scheduled recordings
+- Basic video editing
 
 %description -l pl
 MythTV implementuje następujące możliwości PVR, a nawet więcej, wraz z
@@ -218,21 +212,6 @@
 Summary(pl):	Pliki nagłówkowe libmyth
 Group:		Development/Libraries
 Requires:	libmyth = %{version}-%{release}
-# ??? Requires???
-#BuildRequires:	freetype-devel >= 1:2.0.0
-#BuildRequires:	lame-libs-devel
-#BuildRequires:	qt-devel >= 6:3.2.1-4
-#BuildRequires:	mysql-devel
-#BuildRequires:	DirectFB-devel
-#%if %{with alsa}
-#BuildRequires:	alsa-lib-devel
-#%endif
-#%if %{with lirc}
-#BuildRequires:	lirc-devel
-#%endif
-#%if %{with arts}
-#BuildRequires:	arts-devel >= 13:0.9.5
-#%endif
 
 %description -n libmyth-devel
 This package contains the header files for developing add-ons for
@@ -267,6 +246,8 @@
     --compile-type=%{?debug:debug}%{!?debug:release} \
     --disable-audio-jack \
     --enable-dvb --dvb-path=%{_includedir} \
+	--extra-cflags="%{rpmcflags}" \
+	--extra-cxxflags="%{rpmcxxflags}" \
 %if %{with cpu_autodetect}
     %ifarch i386 i686
 		--cpu=i386 --tune=pentium4 --enable-mmx \
@@ -289,6 +270,11 @@
 #  --disable-firewire \
 #  --disable-ivtv \
 #  --enable-dvb-eit \
+#  --disable-x11            disable X11 support
+#  --disable-xrandr         disable X11 resolution switching
+#  --disable-xv             disable XVideo   (X11 video output accel.)
+#  --enable-directfb        enable DirectFB  (Linux non-X11 video)
+#  --enable-directx         enable DirectX   (Microsoft video)
 
 #sed -i -e 's:OPTFLAGS=.*:OPTFLAGS=%{rpmcflags} -Wno-switch:g' config.mak
 # dunno. the configure doesn't take --prefix...
@@ -351,8 +337,8 @@
 rm -rf $RPM_BUILD_ROOT
 
 %pre backend
-%groupadd -g %{gid} %{name}
-%useradd -u %{uid} -d /usr/share/empty -g %{name} -c "Mythtv User" %{name}
+%groupadd -g 149 %{name}
+%useradd -u 149 -d /usr/share/empty -g %{name} -c "MythTV User" %{name}
 
 %postun backend
 if [ "$1" = "0" ]; then
@@ -429,6 +415,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/09/03 19:58:45  glen
+- cleanups
+
 Revision 1.16  2005/08/29 23:29:08  jpc
 - bring the mythtv-setup back
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythtv.spec?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list