Line 216: |
Line 216: |
| === [Package] === | | === [Package] === |
| | | |
− | If this section is present, the recipe will 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/<repo-name-glob>]
| + | Package section might define native package names only for particular repository for current OBS project. In that case subnames should be used: |
− | '''binary''' = <native-package-name> [provides <name-to-provide>]
| |
− | '''devel''' = <native-package-name> [provides <name-to-provide>]
| |
| | | |
− | The subname for ''[Package]'' sections define the repository name for the ''Base'' project on http://refinery.sugarlabs.org, and might contain glob patterns.
| + | [Package/<repository-name-glob>] |
| + | |
| + | Options: |
| + | |
| + | '''binary''' = <native-package-name> [; ...] |
| + | |
| + | Name of binary package associated with the recipe. It is important to use real package name, for virtual packages, use ''binary-provides'' option. |
| + | |
| + | '''binary-provides''' = <native-package-name> [; ...] |
| + | |
| + | If binary package can be installed by virtual name. |
| + | |
| + | '''devel''' = <native-package-name> [; ...] |
| + | |
| + | Name of devel package associated with the recipe. It is important to use real package name, for virtual packages, use ''devel-provides'' option. |
| + | |
| + | '''devel-provides''' = <native-package-name> [; ...] |
| + | |
| + | If devel package can be installed by virtual name. |
| + | |
| + | '''distro''' = <distro-name> |
| + | |
| + | Name of distribution that current section is defining package names for. Supported values (case-sensitive): |
| + | |
| + | * ''RPM'' for all RPM-based distributions, |
| + | * ''Debian'' for all Debian-based distributions, |
| + | * ''Gentoo'' for Gentoo distribution, |
| + | * ''Slack'' for Slackware distribution, |
| + | * ''Ports'' for FreeBSD Ports. |
| | | |
| == Predefined options == | | == Predefined options == |