this.log = log;
this.pgpConfiguration = pgpConfiguration;
}
public void createPackage(final Collection<Resource> resources, final File inputDir, final File debFile) throws PackagingException {
final Collection<DataProducer> dataProducers = Collections2.transform(resources, new ResourceDataProducer(inputDir));
final DebMaker debMaker = new DebMaker(log, dataProducers, Collections.<DataProducer>emptySet());
debMaker.setDeb(debFile);
debMaker.setControl(new File(inputDir, "control"));