Une voie interessante et efficace, c'est
checkinstall
A partir d'une compilation de tarballs (.tar.gz) ,
checkinstall te crée un rpm ou un .deb.
http://asic-linux.com.mx/~izto/checkinstall/index.php
checkinstall est disponible dans les dépots habituels et trés simple d'utilisation.
Allez hop! un tutoriel en français
http://www.tldp.org/linuxfocus/Francais/December2004/article360.shtml
ou en autre en anglais ...
http://www.linux.com/article.pl?sid=05/10/07/1523201
nota: je n'utilise pas selinux donc un copier/coller d'un commentaire sur le tutoriel
anglais qui peut être utile...
On SELinux enabled systems (Neutral)
By Anonymous Reader on 2005.10.10 5:21 (#85789)
Go in checkinstallrc and add /selinux to the EXCLUDE variable.
This way checkinstall works in Fedora Core also (for example).