@grossmj
I have uploaded the debian directories, which contain the files that control the build process.
Apparently there is a system, to use the setup.py file and generate a deb package but I would need to look into this further. For the GNS3 package I processed everything by hand (not using setup.py)
I will try and give a rundown on what the various files are for...
GNS3 -
https://bitbucket.org/dlintott/gns3/srcdebian/changelog - This is the standard debian changelog file, I imported the most recent and added a new entry
debian/compat - DEBHelper Compatability Level
debian/control - This file contains the package name, dependencies, description etc.
debian/copyright - Debian machine readable, licence file
debian/dirs - This is used to create additional directories in the build tree (
dh_installdirs)
debian/docs - List the documentation to install (
dh_installdocs)
debian/gns3.postinst - Outline for the postinst (post-install) which contains additional scripting to be run. (#DEBHELPER# is automatically replaced when building)
debian/gns3.postrm - Outline for the postrm (post-remove)
debian/gns3.prerm - Outline for the prerm (pre-remove)
debian/install - List the files to be installed into the package and their destination (
dh_install)
debian/links - Creates symlinks between files (
dh_link)
debian/manpages - List the manpages to be installed (
dh_installman)
debian/menu - Creates the debian menu entries (
dh_installmenu)
debian/rules - This is the rules file that controls the build process. I added a couple of overrides to enable to tweak the build
debian/sharedmimeinfo - This creates the mime type for .net files to allow then to opened from a directory browser (
dh_intstallmime)
debian/ucf - Copies and registers the system-wide gns3.ini with the UCF system (
dh_ucf)
debian/additional/* - This contains any additional files that were needed in the package, but not included in the source package.
debian/source/format - List the debian source packge format (
http://wiki.debian.org/Projects/DebSrc3.0)
debian/source/include-binaries - List the files to additional binary files that are included from the additional directory
That should provide a bit of insight into the building of the package. The dynamips package was slightly different as it actually has to be compiled.