Class FPM::Package
In: lib/fpm/package.rb
lib/fpm/package.rb
Parent: Object

Methods

Attributes

architecture  [RW]  What architecture is this package for?
architecture  [RW]  What architecture is this package for?
category  [RW]  The category of this package. RedHat calls this ‘Group’ Debian calls this ‘Section’ FreeBSD would put this in /usr/ports/<category>/…
category  [RW]  The category of this package. RedHat calls this ‘Group’ Debian calls this ‘Section’ FreeBSD would put this in /usr/ports/<category>/…
config_files  [RW]  Array of configuration files
config_files  [RW]  Array of configuration files
conflicts  [RW]  Array of things this package conflicts with. (Not all packages support this)
conflicts  [RW]  Array of things this package conflicts with. (Not all packages support this)
dependencies  [RW]  Array of dependencies.
dependencies  [RW]  Array of dependencies.
description  [RW]  a summary or description of the package
description  [RW]  a summary or description of the package
epoch  [RW]  The epoch version of this package This is used most when an upstream package changes it‘s versioning style so standard comparisions wouldn‘t work.
epoch  [RW]  The epoch version of this package This is used most when an upstream package changes it‘s versioning style so standard comparisions wouldn‘t work.
iteration  [RW]  The iteration of this package.
  Debian calls this 'release' and is the last '-NUMBER' in the version
  RedHat has this as 'Release' in the .spec file
  FreeBSD calls this 'PORTREVISION'

If left unpicked, it defaults to 1.

iteration  [RW]  The iteration of this package.
  Debian calls this 'release' and is the last '-NUMBER' in the version
  RedHat has this as 'Release' in the .spec file
  FreeBSD calls this 'PORTREVISION'

If left unpicked, it defaults to 1.

license  [RW]  A identifier representing the license. Any string is fine.
license  [RW]  A identifier representing the license. Any string is fine.
maintainer  [RW]  Who maintains this package? This could be the upstream author or the package maintainer. You pick.
maintainer  [RW]  Who maintains this package? This could be the upstream author or the package maintainer. You pick.
name  [RW]  The name of this package
name  [RW]  The name of this package
provides  [RW]  Array of things this package provides. (Not all packages support this)
provides  [RW]  Array of things this package provides. (Not all packages support this)
replaces  [RW]  Array of things this package replaces. (Not all packages support this)
replaces  [RW]  Array of things this package replaces. (Not all packages support this)
scripts  [RW]  hash of paths for maintainer/package scripts (postinstall, etc)
scripts  [RW]  hash of paths for maintainer/package scripts (postinstall, etc)
settings  [RW]  target-specific settings
settings  [RW]  target-specific settings
url  [RW]  URL for this package. Could be the homepage. Could be the download url. You pick.
url  [RW]  URL for this package. Could be the homepage. Could be the download url. You pick.
version  [RW]  The version of this package (the upstream version)
version  [RW]  The version of this package (the upstream version)

Public Class methods

Public Instance methods

Default specfile generator just makes one specfile, whatever that is for this package.

Default specfile generator just makes one specfile, whatever that is for this package.

nobody needs md5sums by default.

nobody needs md5sums by default.

TODO [Jay]: make this better…?

TODO [Jay]: make this better…?

[Validate]