Name: kmttg Version: 0p5g Release: 0%{?dist}.6 Summary: Downloads video from TiVo, removes commercials, and encodes in one step Group: System Environment/Base License: GPL URL: http://code.google.com/p/kmttg/ Source0: http://kmttg.googlecode.com/files/kmttg_v%{version}.zip Patch0: %{name}-perl.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildarch: noarch Requires: mencoder, ffmpeg # Need to build these # * tivodecode - For decrypting .TiVo files to .mpg # * comskip - For automated commercial detection %description kmttg is a Perl/Tk program to facilitate TivoToGo (TTG) transfers that can download, create metadata, decrypt, run comskip & comcut (commercial detection and removal) and re-encode multiple shows you select from your Tivos all in 1 step. The program also has the capability to transfer and process shows automatically from your Tivos based on titles and keywords you setup. You can select one or more shows at a time and then with one click of a button the program will download all the selected items, with the options of also automatically creating a metadata file for pyTivo, decrypting .TiVo files to .mpg, running comskip (commercial detection and removal program), and automatically re-encoding to a more portable format using mencoder, ffmpeg or any other command line encoder of your choosing. The program queues up multiple jobs and displays time, size and speed statistics for ongoing jobs. %prep %setup -q -n %{name} %patch0 -p1 %build %install %{__rm} -fr %{buildroot} %{__install} -d -m0755 %{buildroot}%{_bindir} %{__install} -Dp -m0755 tivo_mp4_encode.pl %{buildroot}%{_bindir} %{__install} -Dp -m0755 %{name}.pl %{buildroot}%{_bindir} %{__install} -d -m0755 %{buildroot}%{_sysconfdir}/sysconfig %{__install} -d -m0755 %{buildroot}%{_datadir}/%{name} %{__install} -d -m0755 %{buildroot}%{_datadir}/%{name}/encode %{__install} -Dp -m0755 encode/* %{buildroot}%{_datadir}/%{name}/encode/ %{__install} -d -m0755 %{buildroot}%{_datadir}/%{name}/output/mpg %{__install} -d -m0755 %{buildroot}%{_datadir}/%{name}/output/tivo %{__install} -d -m0755 %{buildroot}%{_datadir}/%{name}/output/encode %{__install} -Dp -m0644 fedora/auto.ini %{buildroot}%{_datadir}/%{name}/ %{__install} -Dp -m0644 fedora/config.ini %{buildroot}%{_datadir}/%{name}/ %post %preun %postun %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc docs/* %{_bindir}/* %dir %{_datadir}/%{name} %config(noreplace) %{_datadir}/%{name}/config.ini %config(noreplace) %{_datadir}/%{name}/auto.ini %{_datadir}/%{name}/* %changelog * Sun Jan 18 2009 Dale Bewley - 0p5g-0 - Initial build