Author image Jonathan Scott Duff
and 1 contributors

NAME

Module::Install::RPM - require certain RPMs be installed

SYNOPSIS

  use inc::Module::Install;

  name      'Your-Module';
  all_from  'lib/Your/Module.pm';

  requires_rpm  'gd';
  requires_rpm  'httpd' => '2.2';

  WriteAll;

DESCRIPTION

Provide a mechanism for a Perl module to require that certain RPMs are installed and that they optionally meet some minimum version requirements.

NOTE: This is only useful for Linux distributions that utilize the RedHat Package Manager to maintain package information.

BUGS

There is no check that the code is being executed on the appropriate operating system.

COPYRIGHT

Copyright 2010 Jonathan Scott Duff <duff@pobox.com>

This software is licensed under the same terms as Perl.