Next: Introduction, Previous: (dir), Up: (dir) [Contents][Index]
This is the rpm Reference Manual, version 0.0.2, generated automatically by Declt version 3.0 "Montgomery Scott" on Thu Mar 11 14:44:31 2021 GMT+0.
• Introduction | What rpm is all about | |
• Systems | The systems documentation | |
• Files | The files documentation | |
• Packages | The packages documentation | |
• Definitions | The symbols documentation | |
• Indexes | Concepts, functions, variables and data types |
RPM This library allows you to manipulate RPM packages from CL. ==== Exported Functionality ==== The rpm library creates a package RPM, that exports the following macros and functions: PARSE-RPM-VERSIONED-NAME STRING &KEY START END parses the STRING (within START and END bounds) as an rpm versioned package name, returning as multiple values two strings, one for the base package name and the other for epoch, version and release. e.g. "foo-1.4-6" ==> "foo" "1.4-6" RPM-VERSIONED-NAME-BASENAME STRING from a rpm versioned package name, extract the base package name. e.g. "foo-1.4-6" ==> "foo" RPM-VERSIONED-NAME-VERSION STRING from a rpm versioned package name, extract the epoch, version and release. e.g. "foo-1.4-6" ==> "1.4-6" PARSE-RPM-PATHNAME PATHNAME from the designator of a pathname to a RPM, extract as multiple values: * the pathname of the parent directory * the base name of the package * the epoch:version-release string * the architecture e.g. "/tmp/foo-1.4-6.x86_64.rpm" ==> #P"/tmp/" "foo" "1.4-6" "x86_64" RPM-PATHNAME-PACKAGENAME PATHNAME from the designator of a pathname to a RPM, extract the base name of the package e.g. "/tmp/foo-1.4-6.x86_64.rpm" ==> "foo" RPM-PATHNAME-VERSION PATHNAME from the designator of a pathname to a RPM, extract the epoch:version-release string e.g. "/tmp/foo-1.4-6.x86_64.rpm" ==> "1.4-6" RPM-VERSION= V1 V2 RPM-VERSION<= V1 V2 RPM-VERSION< V1 V2 RPM-VERSION>= V1 V2 RPM-VERSION> V1 V2 compares the two given epoch:version-release strings, and returns T if the first is respectively equal, lesser or equal, lesser, greater or equal, or greater than the second one as far as RPM is concerned. RPMS-INSTALLED &KEY PACKAGENAMES HOST return a list of versioned packagenames for the RPM packages installed on specified HOST (default: NIL, denoting current host), that match the list of names specified in PACKAGENAMES, or all packages if PACKAGENAMES is T (the default). RPMS-TO-UPDATE DESIRED-RPMS &KEY HOST TEST given a list of DESIRED-RPMS of pathnames to RPM packages, a host HOST (default NIL, denoting current host), a test TEST (default RPM-VERSION<=, allowing newer versions than desired), return a list of the RPMs to install so all RPMs of given packagenames will be install and of a version satisfying the test with the desired version. With the default test RPM-VERSION<= this means that the desired RPM won't be listed if an existing more recent version is installed, whereas if you supply :TEST RPM-VERSION= then the desired RPM will only be skipped if an exact matching version is already installed.
Next: Files, Previous: Introduction, Up: Top [Contents][Index]
The main system appears first, followed by any subsystem dependency.
• The rpm system |
Francois-Rene Rideau
MIT
functions to use the RedHat Package Management system
0.0.2
rpm.asd (file)
Files are sorted by type and then listed depth-first from the systems components trees.
• Lisp files |
• The rpm.asd file | ||
• The rpm/pkgdcl.lisp file | ||
• The rpm/specials.lisp file | ||
• The rpm/version.lisp file | ||
• The rpm/upgrade.lisp file |
Next: The rpm/pkgdcl․lisp file, Previous: Lisp files, Up: Lisp files [Contents][Index]
rpm.asd
rpm (system)
Next: The rpm/specials․lisp file, Previous: The rpm․asd file, Up: Lisp files [Contents][Index]
Next: The rpm/version․lisp file, Previous: The rpm/pkgdcl․lisp file, Up: Lisp files [Contents][Index]
pkgdcl.lisp (file)
rpm (system)
specials.lisp
Next: The rpm/upgrade․lisp file, Previous: The rpm/specials․lisp file, Up: Lisp files [Contents][Index]
pkgdcl.lisp (file)
rpm (system)
version.lisp
Previous: The rpm/version․lisp file, Up: Lisp files [Contents][Index]
pkgdcl.lisp (file)
rpm (system)
upgrade.lisp
Next: Definitions, Previous: Files, Up: Top [Contents][Index]
Packages are listed by definition order.
• The rpm package |
pkgdcl.lisp (file)
Definitions are sorted by export status, category, package, and then by lexicographic order.
• Exported definitions | ||
• Internal definitions |
Next: Internal definitions, Previous: Definitions, Up: Definitions [Contents][Index]
• Exported functions |
Previous: Exported definitions, Up: Exported definitions [Contents][Index]
upgrade.lisp (file)
upgrade.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
version.lisp (file)
upgrade.lisp (file)
upgrade.lisp (file)
Previous: Exported definitions, Up: Definitions [Contents][Index]
• Internal special variables | ||
• Internal functions |
Next: Internal functions, Previous: Internal definitions, Up: Internal definitions [Contents][Index]
specials.lisp (file)
Previous: Internal special variables, Up: Internal definitions [Contents][Index]
specials.lisp (file)
Given the first chunks of two respective version numbers, return the symbol < = > depending on which of predicates hold, or nil is none does
version.lisp (file)
version.lisp (file)
version.lisp (file)
Given a version or release component of a RPM, parse it into a list of numbers and letters, e.g. "0.99p7" => (0 99 "p" 7)
version.lisp (file)
version.lisp (file)
version.lisp (file)
Previous: Definitions, Up: Top [Contents][Index]
• Concept index | ||
• Function index | ||
• Variable index | ||
• Data type index |
Next: Function index, Previous: Indexes, Up: Indexes [Contents][Index]
Jump to: | F L R |
---|
Jump to: | F L R |
---|
Next: Variable index, Previous: Concept index, Up: Indexes [Contents][Index]
Jump to: | A C F H P R V |
---|
Jump to: | A C F H P R V |
---|
Next: Data type index, Previous: Function index, Up: Indexes [Contents][Index]
Jump to: | *
S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
* | |||
*rpm-architecture* : | Internal special variables | ||
| |||
S | |||
Special Variable, *rpm-architecture* : | Internal special variables | ||
|
Jump to: | *
S |
---|
Previous: Variable index, Up: Indexes [Contents][Index]
Jump to: | P R S |
---|
Index Entry | Section | ||
---|---|---|---|
| |||
P | |||
Package, rpm : | The rpm package | ||
| |||
R | |||
rpm : | The rpm system | ||
rpm : | The rpm package | ||
| |||
S | |||
System, rpm : | The rpm system | ||
|
Jump to: | P R S |
---|