MythT 0.22.

WK w.kier at farba.eu.org
Sun Feb 15 13:30:41 CET 2009


W pażdzierniku podsyłałem speca do budowania mythtv na qt4.
Obecnie nastąpił pewien rozwój projektu i działa to u mnie w zasadzie
czysto. (i686 i x86_64).
I ffmpeg już wyrabia się z polską dvb-t (H.264).
Działają również pluginy.
Przynajmniej trzy: mytharchive, mythmusic i mythvideo.
Ten ostatni ma coś kłopot z niektórymi dvd, ale nie wytropiłem, czy to
jego wina, czy moja (tzn. np. popierniczenia w systemie).

Załączam speca mythtv, mythplugins w kolejnym.
Ponieważ to svn, więc resztę też udostępnię na życzenie, ale wolałbym
komuś podrzucić (mam upload ~32 kB/s), niż po prostu wystawiać publicznie.
-- 
WK


-------------- next part --------------
# $Revision: 1.69 $, $Date: 2008/10/13 10:22:00 $
# TODO
# - bconds: altivec joystick lcd
# - lcd? (app-misc/lcdproc)
# - icons for desktop entries
# - alpha, sparc, ppc arches?
#
# Specfile for MythTV
#
#  MythTV now uses a fairly intelligent cpu-detection script, so if you are
#  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	cpu_autodetect	# enable CPU autodetection at compile time (sets "-march", "-mcpu" compile flags really)
%bcond_without	lirc		# lirc support
%bcond_without	alsa		# alsa support
%bcond_without	oss		# oss support
%bcond_with	arts		# arts support
%bcond_without	jack		# jack audio connection kit
%bcond_without	opengl		# opengl vsync
%bcond_without	dvb		# DVB support # invalid option
%bcond_without	xrandr		# disable X11 resolution switching
%bcond_without	ivtv		# ivtv support (PVR-250, PVR-350) NFY
%bcond_without	iptv
%bcond_with	firewire	# ieee1394 (NFY)
%bcond_without	xvmc		# do not use XvMCW
%bcond_with	mmx		# enable mmx
%bcond_with     dshowserver	# enable directshow codecs server
%bcond_without nellymoserdec    # disable nellymoser flash audio decoder 
				# with some ffmpeg versions nellymorsedecoder 
				# causes build errors
%bcond_with 	directfb
#%{!?without_dshowserver: %with_ivtv}

# enable mmx automatically on arches having it
%ifarch %{ix86} %{x8664}
%ifnarch i386 i486 i586 i686
%define	with_mmx 1
%endif
%endif

%define _snap svn19974
#%define _rev 18770
%define _rel 1.4
Summary:	A personal video recorder (PVR) application
Summary(pl.UTF-8):	Osobista aplikacja do nagrywania obrazu (PVR)
Name:		mythtv
Version:	0.22
Release:	%{?_snap:%{_snap}.}%{_rel}
License:	GPL v2
Group:		Applications/Multimedia
Source0:	http://www.mythtv.org/mc/%{name}-%{version}-%{?_snap:%{_snap}}.tar.bz2
# Source0-md5:	49fc135e1cde90cd935c1229467fa37e
#Source0:	%{name}-%{version}-fix.tar.bz2
#Source0:	%{name}-%{_snap}.%{_rev}.tar.bz2
Source1:	mythbackend.sysconfig
Source2:	mythbackend.init
Source3:	mythbackend.logrotate
Source5:	mythfrontend.desktop
Source6:        mythfrontend.png
%{?with_dshowserver:Source20: dshowcodecs}
#Patch100:		%{name}-branch.diff
#Patch0:		%{name}-lib64.patch
Patch1:		%{name}-%{version}-configure.patch
#Patch2:		%{name}-mythstream.patch
#Patch3:		%{name}-ldconfig.patch
#Patch4:		%{name}-pl.patch
Patch5:		%{name}-%{version}-sbinpath.patch
#Patch7:		%{name}-optflags.patch
#Patch8:		mythtv-dvdnav-shared.patch
#Patch9:		%{name}-libs.patch
%{?with_dshowserver:Patch20: %{name}-%{version}-dshowserver.patch}
URL:		http://www.mythtv.org/
#BuildRequires:	DirectFB-devel
#BuildRequires:	XFree86-devel
%{?with_alsa:BuildRequires:	alsa-lib-devel}
%{?with_arts:BuildRequires:	arts-devel >= 13:0.9.5}
BuildRequires:	freetype-devel >= 1:2.0.0
%{?with_jack:BuildRequires:	jack-audio-connection-kit-devel}
BuildRequires:	lame-libs-devel
%{?with_xvmc:BuildRequires:	xorg-lib-libXvMC-devel}
%{?with_firewire:BuildRequires:	libavc1394-devel}
%{?with_dvb:BuildRequires:	libdvb-devel}
BuildRequires:	libdvdnav-devel
%{?with_firewire:BuildRequires:	libiec61883-devel}
%{?with_firewire:BuildRequires:	libraw1394-devel}
BuildRequires:	linux-libc-headers >= 7:2.6.10
%{?with_lirc:BuildRequires:	lirc-devel}
BuildRequires:	mysql-devel
#BuildRequires:	patchutils
BuildRequires:	qt4-qmake
BuildRequires:	python-devel
BuildRequires:  rpm-pythonprov
BuildRequires:	perl-devel
BuildRequires:	perl-tools-pod
BuildRequires:	Qt3Support-devel
BuildRequires:	QtOpenGL-devel
BuildRequires:	QtXml-devel
BuildRequires:	qt4-build
BuildRequires:	QtNetwork-devel
BuildRequires:	QtGui-devel
BuildRequires:	QtSql-devel
BuildRequires:	QtCore-devel
BuildRequires:  QtWebKit-devel
BuildRequires:	rpmbuild(macros) >= 1.228
BuildRequires:	sed >= 4.0
# for bundled libavcodec
BuildRequires:	libdts-devel
BuildRequires: Mesa-libGLU-devel
BuildRequires: xorg-lib-libXxf86vm-devel
BuildRequires: perl-ExtUtils-MakeMaker
#BuildConflicts:	libmyth-devel
ExclusiveArch:	%{ix86} %{x8664} ppc
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define	myth_api_version %(echo %{version} | cut -d. -f1,2)

%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

%description -l pl.UTF-8
MythTV implementuje nastÄ™pujÄ
ce moşliwości PVR, a nawet więcej, wraz z
ujednoliconym interfejsem graficznym:
- podstawowa funkcjonalność "live-tv"; pauza, szybkie przewijanie,
  przewijanie "Ĺźywej" telewizji
- kompresja obrazu przy uĹźyciu RTjpeg lub MPEG-4
- odczyt listy programĂłw przy uĹźyciu XMLTV
- pseudoprzezroczyste wyĹ›wietlanie na obrazie (OSD) z obsĹ‚ugÄ
 motywĂłw
- elektroniczny przewodnik po programie
- planowane nagrywanie programĂłw telewizyjnych
- rozwiÄ
zywanie konfliktów między planowanymi nagraniami
- podstawowa edycja obrazu

%package backend
Summary:	Server component of mythtv (a PVR)
Summary(pl.UTF-8):	Część serwerowa mythtv (PVR)
Group:		Applications/Multimedia
Requires(post,preun):	/sbin/chkconfig
Requires(postun):	/usr/sbin/groupdel
Requires(postun):	/usr/sbin/userdel
Requires(pre):	/bin/id
Requires(pre):	/usr/bin/getgid
Requires(pre):	/usr/sbin/groupadd
Requires(pre):	/usr/sbin/useradd
Requires:	libmyth = %{version}-%{release}
Requires:	mythtv = %{version}-%{release}
Provides:	group(mythtv)
Provides:	user(mythtv)

%description backend
MythTV provides a unified graphical interface for recording and
viewing television programs. Refer to the mythtv package for more
information.

This package contains only the server software, which provides video
and audio capture and encoding services. In order to be useful, it
requires a mythtv-frontend installation, either on the same system or
one reachable via the network.

%description backend -l pl.UTF-8
MythTV dostarcza ujednolicony interfejs graficzny do nagrywania i
oglÄ
dania programów telewizyjnych. Więcej informacji w pakiecie
mythtv.

Ten pakiet zawiera tylko oprogramowanie serwerowe, udostÄ™pniajÄ
ce
usługi przechwytywania i kodowania obrazu i dźwięku. Aby było
przydatne, wymaga instalacji mythtv-frontend - na tym samym systemie,
albo innym osiÄ
galnym po sieci.

%package frontend
Summary:	Client component of mythtv (a PVR)
Summary(pl.UTF-8):	Część kliencka mythtv (PVR)
Group:		Applications/Multimedia
Requires:	libmyth = %{version}-%{release}
Requires:	mythtv = %{version}-%{release}
Requires:	mythtv-themes = %{version}-%{release}
Provides:	mythtv-frontend-api = %{myth_api_version}

%description frontend
MythTV provides a unified graphical interface for recording and
viewing television programs. Refer to the mythtv package for more
information.

This package contains only the client software, which provides a
front-end for playback and configuration. It requires access to a
mythtv-backend installation, either on the same system or one
reachable via the network.

%description frontend -l pl.UTF-8
MythTV dostarcza ujednolicony interfejs graficzny do nagrywania i
oglÄ
dania programów telewizyjnych. Więcej informacji w pakiecie
mythtv.

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 po
sieci.

%package setup
Summary:	Setup the mythtv backend
Summary(pl.UTF-8):	Konfigurator backendu mythtv
Group:		Applications/Multimedia
Requires:	libmyth = %{version}-%{release}

%description setup
MythTV provides a unified graphical interface for recording and
viewing television programs. Refer to the mythtv package for more
information.

This package contains only the setup software for configuring the
mythtv backend.

%description setup -l pl.UTF-8
MythTV dostarcza ujednolicony interfejs graficzny do nagrywania i
oglÄ
dania programów telewizyjnych. Więcej informacji w pakiecie
mythtv.

Ten pakiet zawiera tylko program do konfigurowania backendu mythtv.

%package themes
Summary:	Base themes for mythtv's frontend
Summary(pl.UTF-8):	Podstawowe motywy dla frontendu mythtv
Requires:	%{name}-frontend = %{version}-%{release}
Group:		Themes

%description themes
MythTV provides a unified graphical interface for recording and
viewing television programs. Refer to the mythtv package for more
information.

This package contains only the base themes used by the frontend and
mythtvsetup.

%description themes -l pl.UTF-8
MythTV dostarcza ujednolicony interfejs graficzny do nagrywania i
oglÄ
dania programów telewizyjnych. Więcej informacji w pakiecie
mythtv.

Ten pakiet zawiera tylko podstawowe motywy uĹźywane przez frontend oraz
mythtvsetup.

%package -n libmyth
Summary:	Library providing mythtv support
Summary(pl.UTF-8):	Biblioteka udostÄ™pniajÄ
ca obsługę mythtv
Group:		Libraries
Requires:	freetype >= 1:2.0.0
Requires:	lame
Requires:	QtSql-mysql

%description -n libmyth
Common library code for MythTV and add-on modules (development) MythTV
provides a unified graphical interface for recording and viewing
television programs. Refer to the mythtv package for more information.

%description -n libmyth -l pl.UTF-8
Wspólny kod biblioteki dla MythTV i dodatkowych modułów MythTV
dostarczajÄ
cy ujednolicony interfejs graficzny do nagrywania i
oglÄ
dania programów telewizyjnych. Więcej informacji w pakiecie
mythtv.

%package -n libmyth-devel
Summary:	Development files for libmyth
Summary(pl.UTF-8):	Pliki nagłówkowe libmyth
Group:		Development/Libraries
Requires:	libmyth = %{version}-%{release}

%description -n libmyth-devel
This package contains the header files for developing add-ons for
mythtv.

%description -n libmyth-devel -l pl.UTF-8
Ten pakiet zawiera pliki nagłówkowe do tworzenia dodatków dla mythtv.

%package -n libmyth-static
Summary:	Static libmyth library
Summary(pl.UTF-8):	Statyczna biblioteka libmyth
Group:		Development/Libraries
Requires:	libmyth-devel = %{version}-%{release}

%description -n libmyth-static
Static libmyth library.

%description -n libmyth-static -l pl.UTF-8
Statyczna biblioteka libmyth.

%package -n perl-MythTV
Summary: MythTV perl bindings
Group: System Environment/Libraries

%description -n perl-MythTV
MythTV perl bindings.

%package -n python-MythTV
Summary: MythTV python bindings
Group: System Environment/Libraries
Requires: MySQL-python

%description -n python-MythTV
MythTV python bindings.

%prep

%setup -q %{SOURCE0}


#%patch0 -p1
%patch1 -p0
#%patch2 -p1
#%patch3 -p1
#%patch4 -p1 REDIFF and submit
%patch5 -p1

#%patch7 -p1
#%patch8 -p1
#%patch9 -p1
%{?with_dshowserver:%patch20 -p1}
rm -rf database/old # not supported in PLD

# lib64 fix - enable to update patch
%if %{_lib} != "lib" && 0
find '(' -name '*.[ch]' -o -name '*.cpp' -o -name '*.pro' ')' | \
xargs grep -l /lib . | xargs sed -i -e '
	s,/''usr/lib/,/%{_libdir}/,g
	s,/''lib/mythtv,/%{_lib}/mythtv,g
	s,{PREFIX}/lib$,{PREFIX}/%{_lib},g
'
exit 1
%endif

# Assigning null to QMAKE_LIBDIR_QT will prevent makefiles contain
# -L$(QTDIR)/%{_lib} and -Wl,-rpath,$(QTDIR)/%{_lib}. And that will
# prevent compiler finding libs from system when they should be looked
# from current buildtree.
# but that made it link with -lqt which doesn't exist, instead of -lqt-mt
# so we make QMAKE wrapper which will do sed subst after calling
# qmake. this is the wrapper.
cat > qmake-wrapper.sh <<'EOF'
#!/bin/sh
getmakefile() {
	while [ $# -gt 0 ]; do
		case "$1" in
		-o)
			shift
			makefile="$1"
			return
			;;
	esac
		shift
	done
}

qmake-qt4 "$@"
getmakefile "$@"
if [ "$makefile" ]; then
	%{__sed} -i -e '
		s;-Wl,-rpath,$(QTDIR)/%{_lib};;
		s;-L$(QTDIR)/%{_lib};;
	' $makefile
fi
EOF
chmod +x qmake-wrapper.sh

%build
# move perl bindings to vendor prefix
sed -i -e 's#perl Makefile.PL#%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"#' \
   bindings/perl/perl.pro

%if %{with cpu_autodetect}
# Make sure we have /proc mounted
if [ ! -r /proc/cpuinfo ]; then
	echo "You need to have /proc mounted in order to build with cpu_autodetect!"
	exit 1
fi
%endif

./configure \
 	--prefix=%{_prefix} \
	--libdir=%{_libdir} \
	--mandir=%{_mandir} \
	--disable-distcc --disable-ccache \
	--compile-type=%{?debug:debug}%{!?debug:release} \
	--extra-cflags="%{rpmcflags} -fomit-frame-pointer" \
	--extra-cxxflags="%{rpmcxxflags} -fomit-frame-pointer" \
%if %{with cpu_autodetect}
	--enable-proc-opt \
%else
	%ifarch %{ix86}
		%ifarch athlon
			--arch=athlon \
		%else
			--cpu=i386 --tune=pentium4 \
		%endif
	%endif
	%ifarch %{x8664}
	--arch=x86_64 \
	--libdir-name=lib64 \
	%endif
	%{?with_mmx:--enable-mmx} \
%endif
	%{?with_dvb:--enable-dvb --dvb-path=%{_includedir}} \
	--%{?with_arts:en}%{!?with_arts:dis}able-audio-arts \
	--%{?with_alsa:en}%{!?with_alsa:dis}able-audio-alsa \
	--%{?with_oss:en}%{!?with_oss:dis}able-audio-oss \
	--%{?with_jack:en}%{!?with_jack:dis}able-audio-jack \
	--%{?with_opengl:en}%{!?with_opengl:dis}able-opengl-vsync \
	--%{?with_lirc:en}%{!?with_lirc:dis}able-lirc \
	--%{?with_firewire:en}%{!?with_firewire:dis}able-firewire \
	--%{?with_xrandr:en}%{!?with_xrandr:dis}able-xrandr \
	--%{?with_xvmc:en}%{!?with_xvmc:dis}able-xvmc \
	--%{?with_ivtv:en}%{!?with_ivtv:dis}able-ivtv \
	--%{?with_iptv:en}%{!?with_iptv:dis}able-iptv \
	--%{?with_nellymoserdec:en}%{!?with_nellymoserdec:dis}able-decoder=nellymoser \
	--%{?with_directfb:en}%{!?with_directfb:dis}able-directfb \
	--enable-xv \
	--enable-x11 \

%{_libdir}/qt4/bin/qmake mythtv.pro
#sed -i -e 's/usr\/\/usr/usr/g' config.ep


%{__make}


%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/etc/{logrotate.d,sysconfig} \
		$RPM_BUILD_ROOT{/etc/rc.d/init.d,%{_desktopdir}} \
		$RPM_BUILD_ROOT/var/{cache,lib,log,run}/mythtv \
		$RPM_BUILD_ROOT%{_libdir}/mythtv \
		$RPM_BUILD_ROOT%{_libdir}/mythtv/plugins \
		$RPM_BUILD_ROOT%{_pixmapsdir}

%{__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
install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/mythbackend
%{?with_dshowserver:install %{SOURCE20} $RPM_BUILD_ROOT%{_datadir}/mythtv}

# desktop entries
install %{SOURCE5} $RPM_BUILD_ROOT%{_desktopdir}
install %{SOURCE6} $RPM_BUILD_ROOT%{_pixmapsdir}

# Install settings.pro so people can see the build options we used
install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/build
install config.mak settings.pro $RPM_BUILD_ROOT%{_datadir}/mythtv/build

for p in mythfrontend; do
	for l in $RPM_BUILD_ROOT%{_datadir}/mythtv/i18n/${p}_*.qm; do
		echo $l | sed -e "s,^$RPM_BUILD_ROOT\(.*${p}_\(.*\).qm\),%%lang(\2) \1,"
	done > $p.lang
done

# glibc language codes. attempt was made to change it on libmyth side,
# but that was just asking for trouble due large coverage of
# language.lower() usage.
sed -i -e '
s,%%lang(en_gb),%%lang(en_GB),
s,%%lang(zh_tw),%%lang(zh_TW),
s,%%lang(pt_br),%%lang(pt_BR),
' *.lang

rm -rf mythtvosd mythwelcome mythlcdserver
install -d mythtvosd mythwelcome
cp -a programs/mythtvosd/{README,*.xml} mythtvosd
cp -a programs/mythwelcome/README mythwelcome
cp -a programs/mythlcdserver/README mythlcdserver

%clean
rm -rf $RPM_BUILD_ROOT

%pre backend
%groupadd -g 149 %{name}
%useradd -u 149 -d /var/lib/mythtv -g %{name} -c "MythTV User" %{name}
%addusertogroup %{name} video
%addusertogroup %{name} audio

%post backend
/sbin/chkconfig --add mythbackend

%preun backend
if [ "$1" = "0" ]; then
	%service -q mythbackend stop
	/sbin/chkconfig --del mythbackend
fi

%postun backend
if [ "$1" = "0" ]; then
	%userremove %{name}
	%groupremove %{name}
fi

%post	-n libmyth -p /sbin/ldconfig
%postun	-n libmyth -p /sbin/ldconfig

%post setup
if [ "$1" = 1 ]; then
%banner -e %{name}-setup <<EOF
To grant mysql permissions to mythtv, please run
zcat %{_docdir}/%{name}-setup-%{version}/database/mc.sql.gz | mysql
EOF
fi

%files
%defattr(644,root,root,755)
%doc README* UPGRADING AUTHORS FAQ
%doc docs contrib config
%doc keys.txt mythtvosd mythwelcome mythlcdserver

%files backend
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/mythbackend
%attr(755,root,root) %{_sbindir}/mythcommflag
%attr(755,root,root) %{_bindir}/mythfilldatabase
%attr(755,root,root) %{_sbindir}/mythjobqueue
%attr(755,root,root) %{_sbindir}/mythlcdserver
%attr(755,root,root) %{_bindir}/mythtranscode
%attr(755,root,root) %{_bindir}/mythreplex
%attr(775,root,mythtv) %dir /var/lib/mythtv
%attr(775,root,mythtv) %dir /var/cache/mythtv
%attr(775,root,mythtv) %dir /var/run/mythtv
%attr(754,root,root) /etc/rc.d/init.d/mythbackend
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/mythbackend
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/mythbackend
%attr(775,root,mythtv) %dir %{_localstatedir}/log/mythtv

%files frontend -f mythfrontend.lang
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/mythfrontend
%attr(755,root,root) %{_bindir}/mythshutdown
%attr(755,root,root) %{_bindir}/mythtv
%attr(755,root,root) %{_bindir}/mythtvosd
%attr(755,root,root) %{_bindir}/mythwelcome
%dir %{_datadir}/mythtv
%dir %{_datadir}/mythtv/themes
%dir %{_libdir}/mythtv
%{_datadir}/mythtv/*.xml
%dir %{_libdir}/mythtv/filters
%dir %{_libdir}/mythtv/plugins
%attr(755,root,root) %{_libdir}/mythtv/filters/*.so
%{_datadir}/mythtv/*.ttf
%dir %{_datadir}/mythtv/i18n
%if %{with dshowserver}
%attr(644,root,root) %{_datadir}/mythtv/dshowcodecs
%endif
%{_desktopdir}/*.desktop
%{_pixmapsdir}/*.png

%files setup
%defattr(644,root,root,755)
%doc database
%attr(755,root,root) %{_bindir}/mythtv-setup

%files themes
%defattr(644,root,root,755)
%{_datadir}/mythtv/themes/*

%files -n libmyth
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so*
%attr(755,root,root) %{_libdir}/lib*.a
%attr(644,root,root) %{_datadir}/mythtv/*.pl

%files -n libmyth-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/*.so
%{_includedir}/*
%{_datadir}/mythtv/build

%files -n libmyth-static
%defattr(644,root,root,755)

%files -n perl-MythTV
%defattr(-,root,root,-)
%{perl_vendorlib}/MythTV.pm
%dir %{perl_vendorlib}/MythTV
%{perl_vendorlib}/MythTV/*.pm
%{perl_vendorlib}/IO/Socket/INET/MythTV.pm
%exclude %{perl_vendorarch}/auto/MythTV/.packlist

%files -n python-MythTV
%defattr(-,root,root,-)
%dir %{python_sitelib}/MythTV/
%{python_sitelib}/MythTV/*

%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
Exept wk :P

$Log: mythtv.spec,v $

Revision 1.69  2008/10/13 10:22:00 wk
- add python & perl binings packages

Revision 1.68  2008/10/11 18:21:00 wk
- initial for 0.22 - Qt4 based still devel version
- rewriten "Requires" for Qt4
- changed QTDIRS for Qt4
- add dshowserver support
- rewriten some base distro patches
- some others commented as unusable
- changed state or added some bconds
- nellymoser flash audio decoder fails to build - bcond added

Revision 1.67  2007/11/11 12:15:00  glen
- add QTDIR

Revision 1.66  2007-11-11 11:40:23  glen
- 0.20.2

Revision 1.65  2007/06/14 18:23:08  arekm
- rel 1

Revision 1.64  2007/02/13 07:16:49  glen
- tabs in preamble

Revision 1.63  2007/02/12 00:49:09  baggins
- converted to UTF-8

Revision 1.62  2006/12/03 13:14:04  czarny
- source tar.bz2 from 0.20 fix branch http://svn.mythtv.org/svn/branches/release-0-20-fixes/mythtv
- this source fixes some bugs (like changinh channels hung)
- md5 and stuff for build with that source

Revision 1.61  2006/10/01 13:24:49  glen
- cleanups
- add dvdnav-shared.patch

Revision 1.60  2006/09/21 19:48:00  glen
- build hack for -L poison in makefiles

Revision 1.59  2006/09/14 16:38:01  glen
- move themes dir to -frontend package
- -themes requires -frontend package

Revision 1.58  2006/09/14 14:45:36  glen
- added configure patch (bashism fix)
- fix Release field

Revision 1.57  2006/09/14 12:58:16  glen
- 0.20 tarball

Revision 1.56  2006/09/14 10:38:53  glen
- adjust version

Revision 1.55  2006/09/14 10:35:52  glen
- started 0.20 snapshot (sc dropped, please reapply if needed)

Revision 1.53  2006/09/05 02:03:35  glen
- rel 3

Revision 1.52  2006/09/04 23:41:52  glen
- rel 2.4

Revision 1.51  2006/05/28 13:10:57  glen
- filter branch.diff
- sort BR

Revision 1.50  2006/05/28 11:59:54  glen
- add optflags patch
- add branch.diff: release 0.19 fixes up to svn 10051

Revision 1.49  2006/05/13 08:49:09  charles
- with_jack typo
- rm redundant BR gcc-c++

Revision 1.48  2006/04/23 16:47:03  glen
- AAAAA

Revision 1.47  2006/04/23 13:55:41  glen
- disable buildconflicts

Revision 1.46  2006/04/23 12:08:50  glen
- rel 2

Revision 1.45  2006/02/17 13:19:50  glen
- fix arts build

Revision 1.44  2006/02/13 01:21:55  glen
- restore lost changelog, rel 1

Revision 1.43  2006/02/12 23:58:17  glen
- merged from DEVEL

Revision 1.42  2006/01/31 13:39:40  luzik
- added mythstram support

Revision 1.41  2005/11/19 23:42:17  glen
- rel 1

Revision 1.40  2005/11/03 22:13:33  glen
- typos

Revision 1.39.2.21  2006/02/12 22:36:11  glen
- 0.19 release

Revision 1.39.2.20  2006/02/05 14:36:48  glen
- use patching instead for sbin move

Revision 1.39.2.19  2006/02/04 17:35:07  glen
- pl language by luzik

Revision 1.39.2.18  2006/02/04 17:33:04  glen
- move unuseful programs (for the user) to sbindir

Revision 1.39.2.17  2006/02/04 17:01:21  glen
- strict internal deps
- move %myth_api_version somewhere visible

Revision 1.39.2.16  2006/02/04 16:54:09  glen
- standard permissions on sysconfig and logrotate file

Revision 1.39.2.15  2006/02/04 16:52:10  glen
- r8859, includes sql fix (http://cvs.mythtv.org/trac/changeset/8856)

Revision 1.39.2.14  2006/02/04 15:38:33  glen
- skip ldconfig at install
- db auto_reconnect lack workaround for mysqlclient 5.0.13+

Revision 1.39.2.13  2006/02/03 19:35:56  glen
- cleanup Version to prevent Epoch bump
- %lang to i18n files

Revision 1.39.2.12  2006/02/03 01:14:42  glen
- disable ./configure decision on optflags, we pass our own (should we?)

Revision 1.39.2.11  2006/02/02 14:47:39  glen
- merged mythstram support from HEAD

Revision 1.39.2.10  2006/01/30 18:22:47  glen
- svn r8763 (20060129)

Revision 1.39.2.9  2006/01/12 12:49:24  glen
- added Estonian language translations
- adapterized

Revision 1.39.2.8  2006/01/12 10:21:06  glen
- move myth{shutdown,welcome} to frontend package

Revision 1.39.2.7  2006/01/12 10:19:01  glen
- move myth{commflag,transcode} to backend package (thx Cougar for pointing it out)

Revision 1.39.2.6  2006/01/09 17:59:57  glen
- drop other desktop files than mythtv-frontend, as they're not useful

Revision 1.39.2.5  2006/01/06 23:53:27  glen
- up to r8332 (reported to be working after livetv changes)

Revision 1.39.2.4  2005/11/14 00:17:37  glen
- up to last svn revision 7738 where livetv still works

Revision 1.39.2.3  2005/11/03 23:38:45  glen
- 20051104 snap

Revision 1.39.2.2  2005/11/01 00:17:23  glen
- new snap test

Revision 1.39.2.1  2005/10/22 15:29:40  glen
- update to 20051019 snap

Revision 1.39  2005/10/17 14:57:22  glen
- make mmx bcond

Revision 1.38  2005/10/17 14:15:53  qboosh
- not all i686 have mmx too (note Pentium Pro)

Revision 1.37  2005/10/16 19:40:06  glen
- add ppc to ExclusiveArch list (gentoo has it so it perhaps works?)

Revision 1.36  2005/10/16 19:34:13  glen
- not all i586 have mmx, so don't enable it (thx ankry)

Revision 1.35  2005/09/25 17:50:12  glen
- i586 has mmx

Revision 1.34  2005/09/25 17:49:21  glen
- disable mmx for i386 i486 i586 as they don't have it (FIXME)

Revision 1.33  2005/09/24 16:40:48  glen
- setup doesn't require backend and themes, afaik

Revision 1.32  2005/09/12 12:12:32  glen
- cleanup

Revision 1.31  2005/09/08 14:46:15  glen
- include also config.mak to libmyth-devel
- provide frontend-api for plugins

Revision 1.30  2005/09/08 02:49:55  glen
- disable configure distcc, ccache (you should be using macros if you need them)

Revision 1.29  2005/09/07 11:26:26  glen
- try use XvMC wrapper

Revision 1.28  2005/09/06 22:31:18  glen
- remove illegal %{_sysconfdir} usage

Revision 1.27  2005/09/06 22:29:42  glen
- fixed desktop files

Revision 1.26  2005/09/06 22:18:51  glen
- add desktop files
- cosmetics

Revision 1.25  2005/09/06 01:29:07  glen
- pass %{_lib} to configure
- remove COPYING from %doc (GPL)

Revision 1.24  2005/09/05 20:12:55  ankry
- tabs

Revision 1.23  2005/09/05 17:05:28  glen
- patch0 removed
- add --enable-proc-opt when cpu_autodetect bcond is on
- fix opengl bcond

Revision 1.22  2005/09/05 16:38:45  glen
- fix permissions of filters and state dirs
- fix homedir of mythtv user
- cleanups

Revision 1.21  2005/09/04 11:44:59  glen
- database schema moved to setup package
- %banner for db schema setup

Revision 1.20  2005/09/04 11:04:19  qboosh
- more general lib64 if

Revision 1.19  2005/09/04 10:58:49  glen
- build fixes for amd64
- fixed cache dir

Revision 1.18  2005/09/03 22:07:56  glen
- lib64 fixes
- CFLAGS passing works, but they get overriden still

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

Revision 1.15  2005/06/26 19:16:08  qboosh
- more todo

Revision 1.14  2005/06/26 19:01:02  qboosh
- unified preamble, use x8664 macro

Revision 1.13  2005/06/26 18:58:45  qboosh
- fixed backend dep

Revision 1.12  2005/06/26 14:42:31  averne
- updated to 0.18.1, NFY

Revision 1.11  2005/05/24 19:06:28  darekr
- missing dirs

Revision 1.10  2005/05/01 17:31:30  glen
- use %useradd/%groupadd macros

Revision 1.9  2005/04/12 22:59:43  qboosh
- pl, some cleanups

Revision 1.8  2005/04/10 18:07:18  glen
- added mythtv user/group
- fixed %files
- cleanups

Revision 1.7  2005/04/06 16:57:44  glen
- linuxtv-dvb-1.1.1 from llh
- CFLAGS
- QTDIR in %install (it compiles things in that stage somewhy!)
- mythbackend, mythfrontend available :)

Revision 1.6  2005/04/05 21:01:06  glen
- todo

Revision 1.5  2005/04/05 20:58:50  glen
- prefix fixed
- simplify BR

Revision 1.4  2005/04/05 18:57:40  glen
- -static subpackage
- minor fixes

Revision 1.3  2005/04/05 18:46:31  glen
- cleanups; package is produced

Revision 1.2  2005/04/05 16:37:28  glen
- adapterized
- PLD deps
- restored missing cvs log
- new bcond

Revision 1.1  2005/04/05 15:43:55  glen
- raw import from http://forevermore.net/files/mythtv_misc/mythtv.spec



More information about the pld-devel-pl mailing list