\documentclass[10pt]{article}

\newenvironment{nospitem}{\begin{list}{}{
  \setlength{\itemsep}{0.01ex}
  \setlength{\parsep}{0.01ex}
  \renewcommand{\makelabel}{\hfill\bf -\hfill}}}{\end{list}}
\pagestyle{empty}
\setlength{\textwidth}{7.4in}\setlength{\textheight}{9.5in}
\setlength{\parindent}{0em}
% Needed for my weird printer
\setlength{\voffset}{-1.0in}
\setlength{\hoffset}{-1.4in}

\begin{document}

\begin{center}
\textbf{\large Building Debian Packages by Example: Packaging dlkern \\
        Chris Fearnley \quad cjf@LinuxForce.net \quad
        http://www.LinuxForce.net }
\end{center}

We will demonstrate the building of a Debian package by preparing a
.deb file for dlkern, a package to download the Linux kernel and verify
its signature. Dlkern is a very simple one file script. Therefore this
session will cover only the very basics of Debian Package building.

\begin{enumerate}
  \item Examine the upstream source
  \item Write a short description of the package

Downloads the Linux kernel and verifies its signiture.

  \item Write a long description for the package

Downloads the current stable/beta/prepatch Linux kernel and its signature,
and verifies the signature via GnuPG.pm. Versions are specified on the
command line as -s (stable), -b (beta), or -p (pre-patch) (all 3 may be
specified at once). Downloads are done via ncftpget, wget, or Net::FTP. It
allows specification of 2-letter country code for the kernel mirror
system, and selection of compression format (.gz/.bz2).

  \item Announce that you are working on the package

  \item Verify the license is DFSG

  \item Write a debian/control file
  \item Write a debian/copyright file
  \item Write a debian/rules file

  \item Test the package
\begin{enumerate}
  \item ls -alR debian/tmp*
  \item dpkg -c ../new-pkg.deb
  \item dpkg -I ../new-pkg.deb
  \item dpkg -i ../new-pkg.deb
\end{enumerate}

\end{enumerate}

\end{document}
