From 36a0cc9ff14dde53b078c40d4490e79b34d17e6d Mon Sep 17 00:00:00 2001
From: "Robert S. Edmonds" <edmonds@debian.org>
Date: Sun, 3 Sep 2006 19:43:27 -0400
Subject: [PATCH] Imported Debian patch 2006.08.28-1

---
 debian/changelog    |  6 ++++++
 debian/compat       |  1 +
 debian/control      | 13 +++++++++++++
 debian/copyright    | 36 ++++++++++++++++++++++++++++++++++++
 debian/dirs         |  1 +
 debian/rules        | 33 +++++++++++++++++++++++++++++++++
 debian/youtube-dl.1 | 27 +++++++++++++++++++++++++++
 7 files changed, 117 insertions(+)
 create mode 100644 debian/changelog
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/dirs
 create mode 100755 debian/rules
 create mode 100644 debian/youtube-dl.1

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5fc56bf
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+youtube-dl (2006.08.28-1) unstable; urgency=low
+
+  * Initial release, closes: #385748.
+
+ -- Robert S. Edmonds <edmonds@debian.org>  Sun,  3 Sep 2006 19:43:27 -0400
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8a039dd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,13 @@
+Source: youtube-dl
+Section: web
+Priority: extra
+Maintainer: Robert S. Edmonds <edmonds@debian.org>
+Build-Depends: debhelper (>= 5)
+Standards-Version: 3.7.2
+
+Package: youtube-dl
+Architecture: all
+Depends: python
+Description: download videos from youtube.com
+ youtube-dl is a small command-line program to download videos from
+ YouTube.com.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..015e6ad
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Robert S. Edmonds <edmonds@debian.org> on
+Sun,  3 Sep 2006 19:43:27 -0400.
+
+It was downloaded from http://www.arrakis.es/~rggi3/youtube-dl/
+
+Copyright Holder:
+
+Copyright 2006 Ricardo Garcia Gonzalez
+
+License:
+
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the "Software"),
+# to deal in the Software without restriction, including without limitation
+# the rights to use, copy, modify, merge, publish, distribute, sublicense,
+# and/or sell copies of the Software, and to permit persons to whom the
+# Software is furnished to do so, subject to the following conditions:
+# 
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+# 
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+# OTHER DEALINGS IN THE SOFTWARE.
+# 
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+
+The Debian packaging is (C) 2006, Robert S. Edmonds <edmonds@debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e772481
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1 @@
+usr/bin
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..9031782
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,33 @@
+#!/usr/bin/make -f
+
+build:
+
+clean:
+	dh_testdir
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	install -m 0755 $(CURDIR)/youtube-dl $(CURDIR)/debian/youtube-dl/usr/bin
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installman $(CURDIR)/debian/youtube-dl.1
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/youtube-dl.1 b/debian/youtube-dl.1
new file mode 100644
index 0000000..6c68624
--- /dev/null
+++ b/debian/youtube-dl.1
@@ -0,0 +1,27 @@
+.TH YOUTUBE-DL "1" "September 2006" "youtube-dl" "User Commands"
+.SH NAME
+youtube-dl \- download a video file from YouTube.com
+.SH DESCRIPTION
+usage: youtube\-dl [options] video_url
+.SS "options:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+print this help text and exit
+.TP
+\fB\-v\fR, \fB\-\-version\fR
+print program version and exit
+.TP
+\fB\-u\fR USERNAME, \fB\-\-username\fR=\fIUSERNAME\fR
+account username
+.TP
+\fB\-p\fR PASSWORD, \fB\-\-password\fR=\fIPASSWORD\fR
+account password
+.TP
+\fB\-o\fR FILE, \fB\-\-output\fR=\fIFILE\fR
+output video file name
+.TP
+\fB\-q\fR, \fB\-\-quiet\fR
+activates quiet mode
+.TP
+\fB\-s\fR, \fB\-\-simulate\fR
+do not download video
-- 
2.41.3