You will have to create the smallest Debian package possible which is lintian clean.

First you need to create a lintian clean package. Then delete every thing that can be deleted.

The package must still be lintian clean.


step 1 : create the source package and build it

step 2 : test it with lintian


step 2 : test it with lintian

You can see some warnings and errors:

$package-minimal$ lintian package-minimal*.deb

W: package-minimal: readme-debian-contains-debmake-template

E: package-minimal: description-is-dh_make-template

W: package-minimal: maintainer-not-full-name g

E: package-minimal: maintainer-address-malformed g <g@packaging-stable-2010>

E: package-minimal: section-is-dh_make-template

W: package-minimal: superfluous-clutter-in-homepage <insert the upstream URL, if relevant>

W: package-minimal: bad-homepage <insert the upstream URL, if relevant>

E: package-minimal: helper-templates-in-copyright

W: package-minimal: copyright-has-url-from-dh_make-boilerplate

E: package-minimal: copyright-contains-dh_make-todo-boilerplate

E: package-minimal: debian-changelog-file-contains-invalid-email-address g@packaging-stable-2010

Here are the content of the three remaining files : changelog, control and rules.

$package-minimal-2.0.2/debian# more copyright 

This work was packaged for Debian by:

    M e <> on Sat, 19 Jun 2010 10:28:16 +0200


    <Copyright (C) 2010 M e>



$package-minimal-2.0.2/debian$ more control 

Source: package-minimal

Section: doc

Priority: extra

Maintainer: M e <>

Standards-Version: 3.8.4

Package: package-minimal

Architecture: any

Description: d

 empty package 

$package-minimal-2.0.2/debian# more rules

#!/usr/bin/make -f


        dh $@ 

files you don't need to change :

$package-minimal-2.0.2/debian$ more changelog 

package-minimal (2.0.2) unstable; urgency=low

  * Initial Release.

 -- M e <>  Tue, 30 Aug 2011 23:28:54 -1000

$package-minimal-2.0.2/debian# more compat 


it is debian clean :

$package-minimal$ lintian p*.deb


removing some files :

$package-minimal-2.0.3/debian$ rm -fr *.ex *.EX R* docs source

$package-minimal-2.0.3/debian$ ls

changelog  compat  control  copyright  rules