Fvennetier (Talk | contribs) (Created page with "= How to create a new package using spectacle and a SPEC file ? = Official documentation: Spectacle == Requirements == * An archive of your program, named like <tt>program-ve...") |
Fvennetier (Talk | contribs) |
||
| Line 2: | Line 2: | ||
Official documentation: [[Spectacle]] | Official documentation: [[Spectacle]] | ||
== Requirements == | == Requirements == | ||
| + | * A project on an OBS server where you have maintainer rights (for example your home project) | ||
| + | * OBS Light [[ObsLightDeliverable | already installed on your computer]] | ||
* An archive of your program, named like <tt>program-version.tar.gz</tt> (<tt>tar.bz2</tt> is OK) | * An archive of your program, named like <tt>program-version.tar.gz</tt> (<tt>tar.bz2</tt> is OK) | ||
* A SPEC file, <tt>program.spec</tt> | * A SPEC file, <tt>program.spec</tt> | ||
| + | |||
== Round-trip the SPEC file == | == Round-trip the SPEC file == | ||
| Line 12: | Line 15: | ||
specify mypackage.yaml | specify mypackage.yaml | ||
* Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by "'''# >> '''" and "'''# << '''" tags. '''%if''' macros have been removed. | * Now check the SPEC file, especially the script section. Your old scripts should have been surrounded by "'''# >> '''" and "'''# << '''" tags. '''%if''' macros have been removed. | ||
| + | |||
| + | == Create the package on OBS == | ||
| + | [[OBS Light]] cannot create new packages at the moment. You have to use the web UI, or ''osc''. | ||
| + | |||
| + | * Using the web UI, go to the project you want to add your package to, go to ''Packages'' tab and click ''Create package''. Give a name to the package (we recommend the same name as your program, in lower-case), a title and a description (optional but recommended). | ||
| + | * Now you should be able to import this package in [[OBS Light]]. | ||
Contents |
Official documentation: Spectacle
spec2spectacle mypackage.spec
specify mypackage.yaml
OBS Light cannot create new packages at the moment. You have to use the web UI, or osc.