Jump to letter:
9ABCDEFGHIJKLMNOPRSTUVWXYZ
perl-RPM-Specfile - RPM-Specfile - Perl extension for creating RPM Specfiles
- Description:
This is a simple 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:
=over 4
=item 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.
=item 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.
=over 8
=item *
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.
=item *
A method to push a member onto the list. Each of these methods have "push_"
at the begining of their name.
=item *
A method to clear the list. Each of these methods have "clear_"
at the begining of their name.
=back
=back
Packages