--- cdgrab-0.4.orig/debian/conffiles
+++ cdgrab-0.4/debian/conffiles
@@ -0,0 +1 @@
+/etc/cdgrab.conf
--- cdgrab-0.4.orig/debian/changelog
+++ cdgrab-0.4/debian/changelog
@@ -0,0 +1,22 @@
+cdgrab (0.4-1) unstable; urgency=low
+
+  * New release - closes: bug #34566, #34577
+
+ -- Robert Woodcock <rcw@debian.org>  Tue, 16 Mar 1999 00:10:20 -0800
+
+cdgrab (0.3-1) unstable; urgency=low
+
+  * New release - closes: bug #34101
+
+ -- Robert Woodcock <rcw@debian.org>  Fri,  5 Mar 1999 18:13:30 -0800
+
+cdgrab (0.2-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Robert Woodcock <rcw@debian.org>  Sun, 21 Feb 1999 18:50:34 -0800
+
+Local variables:
+mode: debian-changelog
+add-log-mailing-address: "rcw@debian.org"
+End:
--- cdgrab-0.4.orig/debian/copyright
+++ cdgrab-0.4/debian/copyright
@@ -0,0 +1,17 @@
+This package was debianized by Robert Woodcock <rcw@debian.org> on
+Sun, 21 Feb 1999 18:50:34 -0800.
+
+It is made available at: http://frantica.lly.org/~rcw/cdgrab/
+
+Upstream Author: me :)
+
+Copyright:
+
+Copyright (c) 1998,1999 Robert Woodcock <rcw@debian.org>
+This code is hereby licensed for public consumption under either the
+GNU GPL v2 or greater, or Larry Wall's Artistic license - your choice.
+
+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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
--- cdgrab-0.4.orig/debian/dirs
+++ cdgrab-0.4/debian/dirs
@@ -0,0 +1,2 @@
+etc
+usr/bin
--- cdgrab-0.4.orig/debian/docs
+++ cdgrab-0.4/debian/docs
@@ -0,0 +1,4 @@
+README
+changelog
+TODO
+
--- cdgrab-0.4.orig/debian/control
+++ cdgrab-0.4/debian/control
@@ -0,0 +1,13 @@
+Source: cdgrab
+Section: contrib/sound
+Priority: optional
+Maintainer: Robert Woodcock <rcw@debian.org>
+Standards-Version: 2.5.0.0
+
+Package: cdgrab
+Architecture: any
+Depends: ${shlibs:Depends}, wget, cdparanoia | cdda2wav, id3, debianutils (>= 1.7)
+Description: Grabs an entire CD and converts each track to MP3
+ A frontend program to cdparanoia, wget, cd-discid, id3, and your favorite
+ mp3 encoder (defaults to lamer). Grabs an entire CD and converts each track
+ to MP3, then ID3-tags each file, with one command.
--- cdgrab-0.4.orig/debian/rules
+++ cdgrab-0.4/debian/rules
@@ -0,0 +1,75 @@
+#!/usr/bin/make -f
+# Made with the aid of dh_make, by Craig Small
+# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess.
+# Some lines taken from debmake, by Cristoph Lameter.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	
+	# Add here commands to compile the package.
+	$(MAKE) 
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp install-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp.
+	$(MAKE) install DESTDIR=`pwd`/debian/tmp
+
+	touch install-stamp
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+#	dh_testversion
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installexamples
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installinit
+	dh_installcron
+	dh_installmanpages
+#	dh_undocumented
+	dh_installchangelogs 
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_suidregister
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+#	dh_makeshlibs
+	dh_md5sums
+	dh_builddeb
+
+source diff:                                                                  
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary
--- cdgrab-0.4.orig/Makefile
+++ cdgrab-0.4/Makefile
@@ -0,0 +1,44 @@
+VERSION = 0.4
+CC = gcc
+CFLAGS = -g -O2
+LDFLAGS = -lcdaudio
+LIBS = 
+DEFS =  
+INSTALL = /usr/bin/install -c
+
+# Installation directories
+prefix = ${DESTDIR}/usr
+exec_prefix = ${prefix}
+mandir = ${prefix}/man/man1
+bindir = ${exec_prefix}/bin
+etcdir = ${DESTDIR}/etc
+
+INCL = 
+SRCS = cd-discid.c
+OBJS = $(SRCS:.c=.o)
+
+.SUFFIXES: .c .o
+
+.c.o:
+	$(CC) $(DEFS) $(CFLAGS) -c $<
+
+all: cd-discid
+
+cd-discid: $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+clean:
+	rm -f *~ *.o core cd-discid
+
+install: cd-discid
+	$(INSTALL) -d -m 755 $(bindir)
+	$(INSTALL) -m 755 -o 0 cdgrab $(bindir)
+	$(INSTALL) -s -m 755 -o 0 cd-discid $(bindir)
+	$(INSTALL) -d -m 755 $(mandir)
+	$(INSTALL) -m 644 -o 0 cd-discid.1 $(mandir)
+	$(INSTALL) -m 644 -o 0 cdgrab.1 $(mandir)
+	$(INSTALL) -m 644 -o 0 cdgrab.conf $(etcdir)
+
+tarball:
+	@cd .. && tar czvf cdgrab-$(VERSION).tar.gz \
+		cdgrab-$(VERSION)/{COPYING,README,TODO,cd-discid.1,cd-discid.c,cdgrab,cdgrab.1,cdgrab.conf,changelog}
