Youri::Media::URPM - URPM-based media implementation
This is an URPM-based Youri::Media implementation.
It can be created either from local or remote full (hdlist) or partial (synthesis) compressed header files, or from a package directory. File-based inputs are only usable with this latest option.
Creates and returns a new Youri::Media::URPM object.
Specific parameters:
Path, URL or list of path or URL of synthesis file used for creating this media. If a list is given, the first successfully accessed will be used, so as to allow better reliability.
Path, URL or list of path or URL of hdlist file used for creating this media. If a list is given, the first successfully accessed will be used, so as to allow better reliability.
Path of package directory used for creating this media.
Maximum age of packages for this media.
rpmlint configuration file for this media.
Allows to parse headers at object creation, rather than lazily if really needed. (default: Youri::Media::URPM::None)
Cache headers once parsed (default: true)
In case of multiple synthesis, hdlist and path options given, they will be tried in this order, so as to minimize parsing time.
Returns hdlist used for creating this media, if any.
Returns path used for creating this media, if any.
Copyright (C) 2002-2006, YOURI project
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Youri::Media, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Youri::Media
CPAN shell
perl -MCPAN -e shell install Youri::Media
For more information on module installation, please visit the detailed CPAN module installation guide.