Sugar Network/Recipe Specification: Difference between revisions

Line 217: Line 217:


If this section is present, the recipe should be used only for defining native packages on http://refinery.sugarlabs.org.
If this section is present, the recipe should be used only for defining native packages on http://refinery.sugarlabs.org.
Package section might define native package names only for particular repository for current OBS project. In that case subnames should be used:
[Package/<repository-name-glob>]
Options:


  '''package''' = <native-package-name>
  '''package''' = <native-package-name>


Name of a package (binary package, for binary-based distributions) associated with the recipe. It is important to use real package name, for virtual packages, use ''provides'' option.
Name of a package (binary package, for binary-based distributions) associated with the recipe. Option value might be a name of virtual package (a name that original package provides).
 
'''provides''' = <native-package-name>
 
If ''package'' can be installed by virtual name.


  '''devel''' = <native-package-name>
  '''devel''' = <native-package-name>


Name of devel package (for binary-based distributions) associated with the recipe. It is important to use real package name, for virtual packages, use ''devel-provides'' option.
Name of devel package (for binary-based distributions) associated with the recipe. Option value might be a name of virtual package (a name that original package provides).


  '''devel-provides''' = <native-package-name>
  '''type''' = <package-type>


If devel package can be installed by virtual name.
Packaging system type that describing package belongs to. Supported values (case-sensitive):
 
'''distro''' = <distro-name>
 
Name of distribution that current section is defining package names for. Supported values (case-sensitive):


* ''RPM'' for all RPM-based distributions,
* ''RPM'' for all RPM-based distributions,
Line 249: Line 235:
* ''Slack'' for Slackware distribution,
* ''Slack'' for Slackware distribution,
* ''Ports'' for FreeBSD Ports.
* ''Ports'' for FreeBSD Ports.
'''repo''' = <glob-mask>
Case insensitive glob mask of repository name in OBS project that current recipe belongs to. If option is absent, aliasing will be applied to all repositories.
'''arch''' = <arch-name>
If option exists, aliasing will be applied only to specific arch.
Aliasing might be different for different repositories, e.g., if repositories come from several GNU/Linux distributions. In that case per-repository Package sections should be used:
[Package/<arbitrary-unique-name>]


== Predefined options ==
== Predefined options ==