--- mythnettv-svn-8~svn259.orig/setup.py +++ mythnettv-svn-8~svn259/setup.py @@ -1,6 +1,6 @@ #!/usr/bin/python # mythnettv install script -# Copyright (C) 2008, Thomas Mashos +# Copyright (C) 2008, Thomas Mashos # # # This program is free software; you can redistribute it and/or modify @@ -32,4 +32,5 @@ ("share/mythnettv", glob.glob("README*")), ("share/mythnettv", glob.glob("mythnettv*")), ("share/mythnettv", glob.glob("COPYING"))], + scripts=['bin/', 'bin/mythnettv'], ) --- mythnettv-svn-8~svn259.orig/debian/pycompat +++ mythnettv-svn-8~svn259/debian/pycompat @@ -0,0 +1 @@ +2 --- mythnettv-svn-8~svn259.orig/debian/postrm +++ mythnettv-svn-8~svn259/debian/postrm @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + remove) + rm -rf /var/lib/mythtv/mythnettv + ;; +esac + + + --- mythnettv-svn-8~svn259.orig/debian/copyright +++ mythnettv-svn-8~svn259/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Thomas Mashos on +Wed, 20 Aug 2008 19:58:19 -0700. + +Source located at http://www.stillhq.com/mythtv/mythnettv/ + +Author(s) & Copyright: + + © 2006, 2007, 2008 Michael Still + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +The Debian packaging is Copyright 2008 Thomas Mashos + and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. --- mythnettv-svn-8~svn259.orig/debian/rules +++ mythnettv-svn-8~svn259/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk +include /usr/share/dpatch/dpatch.make + +PACKAGE = mythnettv-svn +REVISION+=$(shell dpkg-parsechangelog | sed -ne 's/^Version: *.....\(.*\)-.*/\1/p') +REVNUM = $(REVISION) +VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p') +TARBALL = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz + + +get-orig-source:: + rm -rf get-orig-source $(TARBALL) + mkdir get-orig-source + svn export -r $(REVNUM) http://www.stillhq.com/mythtv/mythnettv/svn get-orig-source/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION) + tar czf $(TARBALL) -C get-orig-source/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION)/ trunk + rm -rf get-orig-source + mv $(TARBALL) ../$(TARBALL) +../$(TARFILE):: get-orig-source --- mythnettv-svn-8~svn259.orig/debian/control +++ mythnettv-svn-8~svn259/debian/control @@ -0,0 +1,24 @@ +Source: mythnettv-svn +Section: graphics +Priority: optional +Maintainer: MythTV Ubuntu Maintainers +XSBC-Original-Maintainer: Thomas Mashos +Build-Depends: cdbs (>= 0.4.49), debhelper (>= 5.0.38), python-central (>= 0.5.6), python (>= 2.4), python-support (>= 0.7.5), dpatch +XS-Python-Version: current +Standards-Version: 3.8.0 +Homepage: http://www.stillhq.com/mythtv/mythnettv/ + +Package: mythnettv-svn +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-feedparser, python-ctypes, python-mysqldb, mplayer, mencoder +Conflicts: mythnettv +Recommends: bittornado +Description: Plugin to download RSS video feeds + MythNetTv is a RSS and Atom aggregator for video + downloads. The idea is that video blogs end up + as recordings in MythTV, which you then watch in + the normal manner. + . + MythNetTV is meant to be used in conjunction with + MythTV, but can also be used as a standalone + application. --- mythnettv-svn-8~svn259.orig/debian/compat +++ mythnettv-svn-8~svn259/debian/compat @@ -0,0 +1 @@ +5 --- mythnettv-svn-8~svn259.orig/debian/postinst +++ mythnettv-svn-8~svn259/debian/postinst @@ -0,0 +1,15 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + configure) + mkdir -p /var/lib/mythtv/mythnettv + chmod 775 /var/lib/mythtv/mythnettv + chown mythtv:mythtv /var/lib/mythtv/mythnettv + ;; +esac + + --- mythnettv-svn-8~svn259.orig/debian/changelog +++ mythnettv-svn-8~svn259/debian/changelog @@ -0,0 +1,17 @@ +mythnettv-svn (8~svn259-0ubuntu4~jaunty) jaunty; urgency=low + + * Fixed conflicts for mythnettv + + -- Thomas Mashos Sat, 07 Feb 2009 13:42:51 -0800 + +mythnettv-svn (8~svn259-0ubuntu1~jaunty) jaunty; urgency=low + + * SVN Bump + + -- Thomas Mashos Sat, 07 Feb 2009 08:47:57 -0800 + +mythnettv-svn (6~svn140-0ubuntu1) jaunty; urgency=low + + * Initial release + + -- Thomas Mashos Wed, 20 Aug 2008 19:58:19 -0700 --- mythnettv-svn-8~svn259.orig/debian/manpages +++ mythnettv-svn-8~svn259/debian/manpages @@ -0,0 +1 @@ +mythnettv.1 --- mythnettv-svn-8~svn259.orig/debian/patches/00list +++ mythnettv-svn-8~svn259/debian/patches/00list @@ -0,0 +1 @@ +02_setup.py_fixes --- mythnettv-svn-8~svn259.orig/debian/patches/02_setup.py_fixes.dpatch +++ mythnettv-svn-8~svn259/debian/patches/02_setup.py_fixes.dpatch @@ -0,0 +1,66 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02_setup.py_maintainer.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Adds maintainer field and removes extra copyright file + +@DPATCH@ +diff -urNad mythnettv-svn~/setup.py mythnettv-svn/setup.py +--- mythnettv-svn~/setup.py 2008-08-25 20:20:12.000000000 -0700 ++++ mythnettv-svn/setup.py 2008-08-25 20:27:12.000000000 -0700 +@@ -25,11 +25,12 @@ + name="mythnettv", + author="Michael Still", + author_email="mikal@stillhq.com", ++ maintainer="Ubuntu MythTV Team", ++ maintainer_email="ubuntu-mythtv@lists.ubuntu.com", + url="http://www.stillhq.com/mythtv/mythnettv/", + license="gpl", + description="Plugin to download RSS video feeds for MythTV", + data_files=[("share/mythnettv", glob.glob("*.py")), + ("share/mythnettv", glob.glob("README*")), +- ("share/mythnettv", glob.glob("mythnettv*")), +- ("share/mythnettv", glob.glob("COPYING"))], ++ ("share/mythnettv", glob.glob("mythnettv*"))], + ) +diff -urNad mythnettv-svn~/setup.py~ mythnettv-svn/setup.py~ +--- mythnettv-svn~/setup.py~ 1969-12-31 16:00:00.000000000 -0800 ++++ mythnettv-svn/setup.py~ 2008-08-25 20:27:00.000000000 -0700 +@@ -0,0 +1,37 @@ ++#!/usr/bin/python ++# mythnettv install script ++# Copyright (C) 2008, Thomas Mashos ++# ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ++ ++from distutils.core import setup ++ ++import subprocess, glob, os.path ++ ++setup( ++ name="mythnettv", ++ author="Michael Still", ++ author_email="mikal@stillhq.com", ++ maintainer="Ubuntu MythTV Team", ++ maintainer_email="ubuntu-mythtv@lists.ubuntu.com", ++ url="http://www.stillhq.com/mythtv/mythnettv/", ++ license="gpl", ++ description="Plugin to download RSS video feeds for MythTV", ++ data_files=[("share/mythnettv", glob.glob("*.py")), ++ ("share/mythnettv", glob.glob("README*")), ++ ("share/mythnettv", glob.glob("mythnettv*")), ++ ("share/mythnettv", glob.glob("COPYING"))], ++) --- mythnettv-svn-8~svn259.orig/bin/mythnettv +++ mythnettv-svn-8~svn259/bin/mythnettv @@ -0,0 +1,3 @@ +#!/bin/bash + +/usr/share/mythnettv/mythnettv $@