The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Packaging/rpm

From Mer Wiki
Revision as of 16:25, 24 October 2012 by Sage (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In Mer we have tool package called spectacle that has collection of tools that are helping in some basics of packaging. In this guide the binary called specify is used to ease the start of the rpm packaging.

In this guide the package name is 'example-pkg and one should replace that with proper name when doing the own package.

Creating the initial version

specify --new=example-pkg

This outputs the following lines

Info: New spectacle yaml file created: example-pkg.yaml
Q: Continue to edit the new file?(Y/n)

After answering Y or pressing enter the default editor (vim) is started and following template is shown:

Name: ^^^
Summary: ^^^
Description: ^^^
Version: ^^^
Group: ^^^
License: ^^^
Sources:
    - ^^^
Requires:
    - ^^^
PkgBR:
    - ^^^
PkgConfigBR:
    - ^^^
# Please replace all "^^^" with valid values, or remove the unused keys.
# And cleanup these comments lines for the best.
Personal tools