Eclipse RPM Building
The Specfile Editor Plug-in for Eclipse provides useful features to help developers manage
.spec
files. This plug-in allows users to leverage several Eclipse GUI features in editing
.spec
files, such as auto-completion, highlighting, file hyperlinks, and folding.
In addition, the Specfile Editor Plug-in also integrates the
rpmlint
tool into the Eclipse interface.
rpmlint
is a command line tool that helps developers detect common RPM package errors. The richer visualization offered by the Eclipse interface helps developers quickly detect, view, and correct mistakes reported by
rpmlint
.
The Eclipse
.spec
file editor plug-in also supports building RPM files from RPM projects. This feature can be used by employing an export wizard (
Import
→
RPM
→
Source/Binary RPM) allowing the selection of whether a source RPM (
src.rpm
), binary RPM, or both, are required.
Build output is in the Eclipse Console view. For a limited number of build failures, there is hyperlinking support. That is, certain parts of the build failure are changed to be a hyperlink (
Ctrl+
Click) in the Eclipse Console view, which then points the user to the actual line in the
.spec
file that is causing the problem.
Also of note is the wizard for importing source RPM (
.src.rpm
) files, found in
Import
→
RPM
→
Source RPM). This allows the user to easily start with no configuration required, in case a source RPM has already been created. This project is then ready for editing the spec file and building (exporting) to source/binary RPMs.
For further details, see the
Specfile Editor User Guide
→
Import src.rpm and export rpm and src.rpm
section in the
Specfile Editor User Guide
in Help Contents.