#26 Document using 'fedmod rpm2module' for creating modules
Merged 11 months ago by asamalik. Opened 11 months ago by nphilipp.
fedora-docs/ nphilipp/modularity master--document-fedmod  into  master

@@ -1,6 +1,17 @@ 

  = Defining modules in modulemd

  

- Simply put, a **https://github.com/fedora-modularity/libmodulemd/blob/master/spec.v2.yaml[modulemd] is a file that defines what packages get build for what releases**. It includes a summary and a description, a list of source RPM packages, build information i.e. build order and macros, and usage information i.e. installation profiles and licenses.

+ Simply put, a **https://github.com/fedora-modularity/libmodulemd/blob/master/spec.v2.yaml[modulemd] is a file that defines which packages get built for which releases**. It includes a summary and a description, a list of source RPM packages, build information i.e. build order and macros, and usage information i.e. installation profiles and licenses.

+ 

+ == Getting started

+ 

+ To get started quickly, you can use the `fedmod` tool (from the package of the same name) to create a skeletal modulemd file for your module based on one or more source packages, e.g.::

+ [source,shell]

+ ----

+ $ fedmod fetch-metadata

+ $ fedmod rpm2package dwm > dwm.yaml

+ ----

+ 

+ If you specify more than one package it will fill in the summary and description fields from their counterparts in the first specified package.

  

  == A typical modulemd example

  

no initial comment

Pull-Request has been merged by asamalik

11 months ago
Metadata