RPM::Specfile

Perl extension for creating RPM Specfiles
Download

RPM::Specfile Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Chip Turner
  • Publisher web site:
  • http://search.cpan.org/~chipt/

RPM::Specfile Tags


RPM::Specfile Description

Perl extension for creating RPM Specfiles RPM::Specfile is a simple Perl module for creation of RPM Spec files. Most of the methods in this module are the same name as the RPM Spec file element they represent but in lower case. Furthermore the the methods are divided into two groups:Simple Accessors These methods have the have the exact name as the element they represent (in lower case). If passed no arguments return a scalar representing the element. If an argument is passed they will set the value of the element.List Accessors These methods manipulate items in the spec file that are lists (e.g. the list of patches maintained by the spec file). Each element that is represented by a list accessor will have at least three methods associated with it.* A method to directly manipulate individual members of the list. These methods take as a first argument the index into the list, and as a second argument the element value. If no arguments are given it simply returns the list. If only the index is given it returns the list member at that index. If the value is also given it will set the list member associated with the index.* A method to push a member onto the list. Each of these methods have push_ at the begining of their name.* A method to clear the list. Each of these methods have clear_ at the begining of their name.SYNOPSIS use RPM::Specfile; Requirements: · Perl


RPM::Specfile Related Software