public class Rpm extends Unix
| Constructor and Description |
|---|
Rpm()
the default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
build()
The platform depending build.
|
java.lang.String |
getArchitecture()
The current architecture
|
java.util.ArrayList<java.lang.String> |
getBuild()
Returns the build that should be used in the '%build' entry in the SPEC file.
|
java.util.ArrayList<java.lang.String> |
getClean()
Returns the clean that should be used in the '%clean' entry in the SPEC file.
|
java.util.ArrayList<java.lang.String> |
getInstall()
Returns the install that should be used in the '%install' entry in the SPEC file.
|
java.lang.String |
getLicense()
Returns the license that should be used in the 'License' entry in the SPEC file.
|
java.util.ArrayList<java.lang.String> |
getPrep()
Returns the prep that should be used in the '%prep' entry in the SPEC file.
|
java.lang.String |
getRelease()
Returns the release that should be used in the 'Release' entry in the SPEC file.
|
java.util.ArrayList<java.lang.String> |
getSpecHeader()
Returns the specHeader which are header lines that should be put additionally
|
java.lang.String |
getSummary()
Returns the summary that should be used in the 'Summary' entry in the SPEC file.
|
boolean |
isBackwardCompatible()
Returns the backward compatibility for old rpm versions
|
void |
setBackwardCompatible(boolean backwardCompatibility)
Sets the backward compatibility for old rpm versions
|
void |
setBuild(java.lang.String build)
Sets the value for the '%build' entry in the SPEC file.
|
void |
setClean(java.lang.String clean)
Sets the value for the '%clean' entry in the SPEC file.
|
void |
setInstall(java.lang.String install)
Sets the value for the '%install' entry in the SPEC file.
|
void |
setLicense(java.lang.String license)
Sets the value for the 'License' entry in the SPEC file.
|
void |
setPrep(java.lang.String prep)
Sets the value for the '%prep' entry in the SPEC file.
|
void |
setRelease(java.lang.String release)
Sets the value for the 'Release' entry in the SPEC file.
|
void |
setSpecHeader(java.lang.String specHeader)
Adds an entry to the additional SPEC file header
|
void |
setSummary(java.lang.String summary)
Sets the value for the 'Summary' entry in the SPEC file.
|
getAdditionalServiceScript, getBundleJre, getDefaultServiceFile, getDepends, getHomepage, getInstallationRoot, getRecommends, getSection, getVariablesTemplate, setAdditionalServiceScript, setArchitecture, setBundleJre, setDefaultServiceFile, setDepends, setHomepage, setInstallationRoot, setRecommends, setSection, setStartDefaultService, shouldStartDefaultServicegetDaemonUser, setDaemonUsergetPostinst, getPostrm, getPreinst, getPrerm, getSetupBuilder, setPostinst, setPostrm, setPreinst, setPrermaction, copyTo, getAbstractSetupBuilder, getClassifier, getDescription, getExtension, getFileLookup, getFileResolver, getFileSystem, getInstantiator, getRootSpec, getSetupFile, getSetupSource, getSource, getVersion, processFiles, setClassifier, setExtension, setVersionnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesMatching, filesNotMatching, filesNotMatching, filter, filter, filter, filter, from, from, from, getDirMode, getDuplicatesStrategy, getExcludes, getFileMode, getFilteringCharset, getIncludeEmptyDirs, getIncludes, include, include, include, include, into, into, into, isCaseSensitive, rename, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setFilteringCharset, setIncludeEmptyDirs, setIncludes, withpublic void build()
build in class AbstractTaskpublic java.lang.String getSummary()
public void setSummary(java.lang.String summary)
summary - the value for the entrypublic java.lang.String getRelease()
public void setRelease(java.lang.String release)
release - the value for the entrypublic java.lang.String getLicense()
public void setLicense(java.lang.String license)
license - the value for the entrypublic boolean isBackwardCompatible()
public void setBackwardCompatible(boolean backwardCompatibility)
backwardCompatibility - the backward compatibility for old rpm versionspublic java.util.ArrayList<java.lang.String> getSpecHeader()
public void setSpecHeader(java.lang.String specHeader)
specHeader - the value for the entrypublic java.util.ArrayList<java.lang.String> getPrep()
public void setPrep(java.lang.String prep)
prep - the value for the entrypublic java.util.ArrayList<java.lang.String> getClean()
public void setClean(java.lang.String clean)
clean - the value for the entrypublic java.util.ArrayList<java.lang.String> getInstall()
public void setInstall(java.lang.String install)
install - the value for the entrypublic java.util.ArrayList<java.lang.String> getBuild()
public void setBuild(java.lang.String build)
build - the value for the entrypublic java.lang.String getArchitecture()
UnixgetArchitecture in class Unix