From 154fe9fbdb388e618a9b62cc61e8a3bbc3a4b82c Mon Sep 17 00:00:00 2001 From: Nick White Date: Wed, 12 Sep 2012 00:27:33 +0100 Subject: Add basic debhelper setup --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 +++++++++++++++++++ debian/copyright | 10 ++++++++++ debian/getxbook.desktop | 9 +++++++++ debian/menu | 4 ++++ debian/rules | 17 +++++++++++++++++ debian/source/format | 1 + debian/watch | 2 ++ 9 files changed, 68 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/getxbook.desktop create mode 100644 debian/menu create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d3f2ede --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +getxbook (1.0-1) unstable; urgency=low + + * Initial release + + -- Nick White Sun, 09 Sep 2012 10:38:58 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3dfa875 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: getxbook +Section: net +Priority: optional +Maintainer: Nick White +Build-Depends: debhelper (>= 7.0.50~) +Standards-Version: 3.8.4 +Homepage: http://njw.me.uk/software/getxbook + +Package: getxbook +Architecture: any +Depends: tcl, tk +Description: A collection of tools to download books from websites. + getxbook is a collection of tools to download books from + Google Books' "Book Preview," Amazon's "Look Inside the + Book" and Barnes & Noble's "Book Viewer." + . + Each tool is written in around 200 lines of portable C code, + with no dependencies beyond libc and network sockets. There + is an optional graphical interface, using Tcl/Tk. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9e268aa --- /dev/null +++ b/debian/copyright @@ -0,0 +1,10 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: http://njw.me.uk/software/getxbook + +Files: * +Copyright: 2011-2012 Nick White +License: ISC + Permission to use, copy, modify, and/or distribute this + software for any purpose with or without fee is hereby + granted, provided that the above copyright notice and this + permission notice appear in all copies. diff --git a/debian/getxbook.desktop b/debian/getxbook.desktop new file mode 100644 index 0000000..0abac21 --- /dev/null +++ b/debian/getxbook.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Terminal=false +Name=getxbook +Exec=getxbookgui +Categories=Network +Comment=Book downloader +Icon=getxbook diff --git a/debian/menu b/debian/menu new file mode 100644 index 0000000..560b267 --- /dev/null +++ b/debian/menu @@ -0,0 +1,4 @@ +?package(getxbook):needs="X11"\ + section="Applications/Network/File Transfer"\ + icon="/usr/share/pixmaps/getgbook.xpm"\ + title="getxbook" command="/usr/bin/getxbookgui" diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c30cbf5 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_install: + $(MAKE) DESTDIR=$(CURDIR)/debian/getxbook PREFIX=/usr install + dh_install debian/getxbook.desktop usr/share/applications/ diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0b04ed0 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://njw.me.uk/software/getxbook getxbook-(.*)\.tar\.bz2 -- cgit v1.2.3