NAME

Module::Starter::Plugin::DebPackage - Module::Starter plugin which creates debian package config files

VERSION

Version 0.01

SYNOPSIS

use Module::Starter qw(
  Module::Starter::Simple
  Module::Starter::Plugin::DebPackage
  );

use Module::Starter::App;
Module::Starter::App->run;

ABSTRACT

This is a plugin for Module::Starter that includes a set of skeleton debian package configuration files for the new module. Once the Makefile is generated the package can be built using make deb.

METHODS

create_modules

This method first executes SUPER::create_modules and then creates the debian config files by running create_debian_conf.

create_debian_conf

Creates the debian config files.

This method is creates, populates (using the deb_*_guts methods) and reports progress for all files created by this plugin.

deb_compat_guts

Generate the contents for the compat file.

The compat version is important because the default version used by debhelper is 1 which will generate a incomplete deb.

deb_control_guts

Generate the contents for the control file.

deb_changelog_guts

Generate the contents for the changelog file.

Generate the contents for the copyright file.

This is the normal perl license used by Module::Starter::Simple.

deb_conffiles_guts

Generate the contents for the conffiles file.

This is an empty file - add any configuration files that should not be overwritten during package updates.

deb_rules_guts

Generate the contents for the rules file.

AUTHOR

Bradley Dean, <bjdean at bjdean.id.au>

BUGS

Please report any bugs or feature requests to bug-module-starter-plugin-debpackage at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module-Starter-Plugin-DebPackage. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Module::Starter::Plugin::DebPackage

You can also look for information at:

ACKNOWLEDGEMENTS

Thanks to Andy Lester, Ricardo Signes and C.J. Adams-Collier for writing Module::Starter.

LICENSE AND COPYRIGHT

Copyright 2009 Bradley Dean.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.