Meego Wiki
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '== Introduction == Spectacle is the toolset for packaging maintenance of MeeGo, including the tool to generate spec files from metadata file in YAML format, and tools to convert…')
Line 19: Line 19:
Several methods available for spectacle installation:
Several methods available for spectacle installation:
-
* rpm/deb packages for several supported Linux distributions
+
* Install rpm/deb packages for several supported Linux distributions.
-
   From [http://repo.meego.com/tools/repo/ MeeGo Repos], repo urls can be found for:
+
   From [http://repo.meego.com/tools/repos/ MeeGo Tools Repo], repo urls and install packages can be found for:
     * MeeGo
     * MeeGo
     * Fedora 10,11,12
     * Fedora 10,11,12
Line 27: Line 27:
     * Debian 5.0             
     * Debian 5.0             
-
* Download the latest source package, and install it by ``make install``
+
* Build from the latest source and install it by ``make install``
   The latest code in git tree can be accessed at:
   The latest code in git tree can be accessed at:
   [git://gitorious.org/meego-developer-tools/spectacle.git]
   [git://gitorious.org/meego-developer-tools/spectacle.git]

Revision as of 01:28, 24 May 2010

Contents

Introduction

Spectacle is the toolset for packaging maintenance of MeeGo, including the tool to generate spec files from metadata file in YAML format, and tools to convert spec files or spec-builder's ini files to YAML format.

For spectacle managed packages, all generic packaging information will be stored in the YAML file, and it also allows maintaining customizations in the spec file directly with special enclosure tags.

Three separated tools will be installed:

  • specify: the tool to generate or to update spec file, based on YAML
  • ini2spectacle: the tool to convert spec-builder .ini to YAML and new spec file
  • spec2spectacle: the tool to convert original spec to YAML and new spec file

Installation

Instruction

Several methods available for spectacle installation:

  • Install rpm/deb packages for several supported Linux distributions.
 From MeeGo Tools Repo, repo urls and install packages can be found for:
   * MeeGo
   * Fedora 10,11,12
   * openSUSE(s)    
   * xUbuntu 8.10/9.04/9.10
   * Debian 5.0            
  • Build from the latest source and install it by ``make install``
 The latest code in git tree can be accessed at:
 [git://gitorious.org/meego-developer-tools/spectacle.git]

Requirements

  • python 2.x, above 2.5
  • PyYAML, the python module for YAML parsing
  • cheetah, one popular templating system for python
   In many linux distributions, the package may be named as python-cheetah.
Personal tools