Meego Wiki
From MeeGo wiki
Revision as of 01:28, 24 May 2010 by Wwhbuaa (Talk | contribs)
Jump to: navigation, search

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