summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMartin Quinson <mquinson@debian.org>2003-01-21 10:00:37 +0000
committerMartin Quinson <mquinson@debian.org>2003-01-21 10:00:37 +0000
commit48f8a12f64ae0a43196a8b6048495af8e3a6146f (patch)
treead01dc62cc0a76eb82604356656e0dadf24219e9 /debian
parentfc6281de97e0b6f4b727936d2779695caee2d78f (diff)
downloadquilt-48f8a12f64ae0a43196a8b6048495af8e3a6146f.tar.gz
What to build a debian package
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog33
-rw-r--r--debian/changelog~33
-rw-r--r--debian/control23
-rw-r--r--debian/copyright14
-rw-r--r--debian/docs2
-rw-r--r--debian/manpage.sgml.ex152
-rw-r--r--debian/prerm39
-rwxr-xr-xdebian/rules87
-rw-r--r--debian/watch6
9 files changed, 389 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..613fb3b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,33 @@
+quilt (0.11-1) unstable; urgency=low
+
+ * New upstream release. New upstream author. Developpement moved to savannah.
+ * Some functionnalities were removed, but all the scripts are much more robust now.
+
+ -- Martin Quinson <martin.quinson@tuxfamily.org> Sat, 18 Jan 2003 23:36:29 +0100
+
+quilt (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Should now work if installed in /usr/lib or if unpacked in the current
+ directory.
+
+ -- Martin Quinson <martin.quinson@tuxfamily.org> Wed, 11 Dec 2002 09:31:28 +0100
+
+quilt (0.8-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Wed, 6 Nov 2002 22:48:32 +0100
+
+quilt (0.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Wed, 6 Nov 2002 22:48:32 +0100
+
+quilt (0.4-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Tue, 29 Oct 2002 09:29:20 +0100
+
diff --git a/debian/changelog~ b/debian/changelog~
new file mode 100644
index 0000000..769749f
--- /dev/null
+++ b/debian/changelog~
@@ -0,0 +1,33 @@
+quilt (0.11-1) unstable; urgency=low
+
+ * New upstream release. New upstream author.
+ * Some functionnalities were removed, but all the scripts are much more robust now.
+
+ -- Martin Quinson <martin.quinson@tuxfamily.org> Sat, 18 Jan 2003 23:36:29 +0100
+
+quilt (0.8.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Should now work if installed in /usr/lib or if unpacked in the current
+ directory.
+
+ -- Martin Quinson <martin.quinson@tuxfamily.org> Wed, 11 Dec 2002 09:31:28 +0100
+
+quilt (0.8-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Wed, 6 Nov 2002 22:48:32 +0100
+
+quilt (0.6-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Wed, 6 Nov 2002 22:48:32 +0100
+
+quilt (0.4-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Martin Quinson <martin.quinson@ens-lyon.fr> Tue, 29 Oct 2002 09:29:20 +0100
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..232f353
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: quilt
+Section: devel
+Priority: optional
+Maintainer: Martin Quinson <martin.quinson@ens-lyon.fr>
+Build-Depends-Indep: debhelper (>> 3.0.0)
+Standards-Version: 3.5.2
+
+Package: quilt
+Architecture: all
+Depends: patch, diff, diffstat, gzip, bzip2, debianutils
+Suggests: ccache
+Description: Scripts for working with series of patches
+ The scripts allow to manage a series of patches by keeping
+ track of the changes each patch makes. Patches can be
+ applied, un-applied, refreshed, etc.
+ .
+ The scripts are heavily based on Andrew Morton's patch scripts
+ found at http://www.zip.com.au/~akpm/linux/patches/
+ .
+ The key philosophical concept is that your primary output is patches.
+ Not ".c" files, not ".h" files. But patches. So patches are the
+ first-class object here.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..fc47ebc
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,14 @@
+This package was debianized by Martin Quinson <mquinson@blaise.ens-lyon.fr> on
+Tue, 29 Oct 2002 09:29:20 +0100.
+
+It was downloaded from:
+
+http://www.suse.de/~agruen/patch-scripts/
+
+Upstream Author(s):
+ Andrew Morton <akpm@digeo.com>
+ Andreas Gruenbacher <agruen@suse.de>
+
+Copyright:
+
+These scripts are released under the GPL
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..cc5439e
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+needs-checking/docco.txt
+README
diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex
new file mode 100644
index 0000000..5be5406
--- /dev/null
+++ b/debian/manpage.sgml.ex
@@ -0,0 +1,152 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+ page: `docbook-to-man manpage.sgml > manpage.1'. You may view
+ the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+ less'. A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+ docbook-to-man $< > $@
+
+
+ The docbook-to-man binary is found in the docbook-to-man package.
+ Please remember that if you create the nroff version in one of the
+ debian/rules file targets (such as build), you will need to include
+ docbook-to-man in your Build-Depends control field.
+
+ -->
+
+ <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+ <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+ <!ENTITY dhsurname "<surname>SURNAME</surname>">
+ <!-- Please adjust the date whenever revising the manpage. -->
+ <!ENTITY dhdate "<date>octobre 29, 2002</date>">
+ <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+ allowed: see man(7), man(1). -->
+ <!ENTITY dhsection "<manvolnum>SECTION</manvolnum>">
+ <!ENTITY dhemail "<email>mquinson@blaise.ens-lyon.fr</email>">
+ <!ENTITY dhusername "Martin Quinson">
+ <!ENTITY dhucpackage "<refentrytitle>PATCH-SCRIPTS</refentrytitle>">
+ <!ENTITY dhpackage "patch-scripts">
+
+ <!ENTITY debian "<productname>Debian</productname>">
+ <!ENTITY gnu "<acronym>GNU</acronym>">
+]>
+
+<refentry>
+ <refentryinfo>
+ <address>
+ &dhemail;
+ </address>
+ <author>
+ &dhfirstname;
+ &dhsurname;
+ </author>
+ <copyright>
+ <year>2002</year>
+ <holder>&dhusername;</holder>
+ </copyright>
+ &dhdate;
+ </refentryinfo>
+ <refmeta>
+ &dhucpackage;
+
+ &dhsection;
+ </refmeta>
+ <refnamediv>
+ <refname>&dhpackage;</refname>
+
+ <refpurpose>program to do something</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <cmdsynopsis>
+ <command>&dhpackage;</command>
+
+ <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+ <arg><option>--example <replaceable>that</replaceable></option></arg>
+ </cmdsynopsis>
+ </refsynopsisdiv>
+ <refsect1>
+ <title>DESCRIPTION</title>
+
+ <para>This manual page documents briefly the
+ <command>&dhpackage;</command> and <command>bar</command>
+ commands.</para>
+
+ <para>This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation in the &gnu;
+ <application>Info</application> format; see below.</para>
+
+ <para><command>&dhpackage;</command> is a program that...</para>
+
+ </refsect1>
+ <refsect1>
+ <title>OPTIONS</title>
+
+ <para>These programs follow the usual GNU command line syntax,
+ with long options starting with two dashes (`-'). A summary of
+ options is included below. For a complete description, see the
+ <application>Info</application> files.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term><option>-h</option>
+ <option>--help</option>
+ </term>
+ <listitem>
+ <para>Show summary of options.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>-v</option>
+ <option>--version</option>
+ </term>
+ <listitem>
+ <para>Show version of program.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+ <refsect1>
+ <title>SEE ALSO</title>
+
+ <para>bar (1), baz (1).</para>
+
+ <para>The programs are documented fully by <citetitle>The Rise and
+ Fall of a Fooish Bar</citetitle> available via the
+ <application>Info</application> system.</para>
+ </refsect1>
+ <refsect1>
+ <title>AUTHOR</title>
+
+ <para>This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the <acronym>GNU</acronym> Free Documentation
+ License, Version 1.1 or any later version published by the Free
+ Software Foundation; with no Invariant Sections, no Front-Cover
+ Texts and no Back-Cover Texts.</para>
+
+ </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
diff --git a/debian/prerm b/debian/prerm
new file mode 100644
index 0000000..f29a26d
--- /dev/null
+++ b/debian/prerm
@@ -0,0 +1,39 @@
+#! /bin/sh
+# prerm script for patch-scripts
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <prerm> `remove'
+# * <old-prerm> `upgrade' <new-version>
+# * <new-prerm> `failed-upgrade' <old-version>
+# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+# * <deconfigured's-prerm> `deconfigure' `in-favour'
+# <package-being-installed> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+ remove|upgrade|deconfigure)
+# install-info --quiet --remove /usr/info/patch-scripts.info.gz
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e20e399
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=3
+
+
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ # Add here commands to compile the package.
+ #/usr/bin/docbook-to-man debian/patchstack.sgml > patchstack.1
+ $(MAKE) prefix=/usr BUILD_ROOT=$(CURDIR)/debian/quilt
+
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ $(MAKE) prefix=/usr BUILD_ROOT=$(CURDIR)/debian/quilt clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/patchstack.
+ $(MAKE) prefix=/usr BUILD_ROOT=$(CURDIR)/debian/quilt install
+
+# 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_testdir
+ dh_testroot
+ dh_installdocs
+ dh_installexamples
+ dh_installmenu
+# dh_installemacsen
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f03e338
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site Directory Pattern Version Script
+version=2
+www.zip.com.au /~akpm/linux/patches/ patch-scripts-(.*)\.tar\.gz debian uupdate