https://wiki.merproject.org/wiki/index.php?title=Spectacle&feed=atom&action=historySpectacle - Revision history2024-03-28T13:35:46ZRevision history for this page on the wikiMediaWiki 1.19.20+dfsg-2.3https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3868&oldid=prevMike7b4: /* Introduction */2013-08-10T17:44:24Z<p><span dir="auto"><span class="autocomment">Introduction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:44, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">== Notice ==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">Some  of below info may be outdated and is taken from Meego.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Introduction ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Introduction ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Spectacle is the toolset for packaging maintenance from <del class="diffchange diffchange-inline">MeeGo</del>, including the tool</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Spectacle is the toolset for packaging maintenance from <ins class="diffchange diffchange-inline">Mer</ins>, including the tool</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>to generate spec files from metadata file in YAML format, and tools to convert   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>to generate spec files from metadata file in YAML format, and tools to convert   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>spec files or spec-builder's ini files to YAML format.                           </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>spec files or spec-builder's ini files to YAML format.                           </div></td></tr>
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3867&oldid=prevMike7b4: /* Instruction */2013-08-10T17:43:01Z<p><span dir="auto"><span class="autocomment">Instruction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:43, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Via your package manager on your linux dist.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Platform_SDK]] has it installed from beginning.  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Platform_SDK]] has it installed from beginning.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:3866:newid:3867 -->
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3866&oldid=prevMike7b4: /* Outdated */2013-08-10T17:42:05Z<p><span dir="auto"><span class="autocomment">Outdated</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:42, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   The latest code in git tree can be found on [https://github.com/mer-tools/spectacle Github]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   The latest code in git tree can be found on [https://github.com/mer-tools/spectacle Github]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">=== Outdated ===</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">'''Note on Ubuntu installation'''</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">From [http://bugs.meego.com/show_bug.cgi?id=6734 this] Edit or create ''/etc/apt/sources.list.d/meego.list'' with sudo</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Add</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> deb http://repo.meego.com/MeeGo/tools/repos/ubuntu/9.10/ /</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">run the following commands</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"> sudo apt-get update</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Requirements ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Requirements ===</div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:3865:newid:3866 -->
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3865&oldid=prevMike7b4: /* Instruction */2013-08-10T17:41:25Z<p><span dir="auto"><span class="autocomment">Instruction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:41, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Platform SDK </del>has it installed from <del class="diffchange diffchange-inline">scratch</del>.  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">[[Platform_SDK]] </ins>has it installed from <ins class="diffchange diffchange-inline">beginning</ins>.  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:3864:newid:3865 -->
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3864&oldid=prevMike7b4: /* Instruction */2013-08-10T17:40:22Z<p><span dir="auto"><span class="autocomment">Instruction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:40, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Or Build from the latest source and install it by ``make install``</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   The latest code in git tree can be <del class="diffchange diffchange-inline">accessed at:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   The latest code in git tree can be <ins class="diffchange diffchange-inline">found on </ins>[https://github.com/mer-tools/spectacle <ins class="diffchange diffchange-inline">Github</ins>]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  </del>[https://github.com/mer-tools/spectacle]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Outdated ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Outdated ===</div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:3863:newid:3864 -->
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=3863&oldid=prevMike7b4: /* Instruction */2013-08-10T17:39:04Z<p><span dir="auto"><span class="autocomment">Instruction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:39, 10 August 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 19:</td>
<td colspan="2" class="diff-lineno">Line 19:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Several methods available for spectacle installation:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">Install rpm/deb packages for several supported Linux distributions</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">Platform SDK has it installed from scratch</ins>.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">  From [http://repo.meego.com/tools/repos/ MeeGo Tools Repo][[Category:FIXME]], repo urls and install packages can be found for:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    * MeeGo</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    * Fedora 10,11,12</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    * openSUSE(s)    </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    * xUbuntu 8.10/9.04/9.10/10.04</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">    * Debian 5.0            </del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Build from the latest source and install it by ``make install``</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">Or </ins>Build from the latest source and install it by ``make install``</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   The latest code in git tree can be accessed at:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>   The latest code in git tree can be accessed at:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   [<del class="diffchange diffchange-inline">git</del>://<del class="diffchange diffchange-inline">gitorious</del>.<del class="diffchange diffchange-inline">org</del>/<del class="diffchange diffchange-inline">meego-developer</del>-tools/spectacle<del class="diffchange diffchange-inline">.git</del>]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   [<ins class="diffchange diffchange-inline">https</ins>://<ins class="diffchange diffchange-inline">github</ins>.<ins class="diffchange diffchange-inline">com</ins>/<ins class="diffchange diffchange-inline">mer</ins>-tools/spectacle]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">=== Outdated ===</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Note on Ubuntu installation'''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>'''Note on Ubuntu installation'''</div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:838:newid:3863 -->
</table>Mike7b4https://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=838&oldid=prevSmoku: Added Category:FIXME as repo URLs need fixing as we start building tools in https://build.pub.meego.com/project/show?project=Mer%3ATools2012-01-21T15:50:32Z<p>Added Category:FIXME as repo URLs need fixing as we start building tools in https://build.pub.meego.com/project/show?project=Mer%3ATools</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:50, 21 January 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Install rpm/deb packages for several supported Linux distributions.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Install rpm/deb packages for several supported Linux distributions.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>   From [http://repo.meego.com/tools/repos/ MeeGo Tools Repo], repo urls and install packages can be found for:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>   From [http://repo.meego.com/tools/repos/ MeeGo Tools Repo<ins class="diffchange diffchange-inline">][[Category:FIXME]</ins>], repo urls and install packages can be found for:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     * MeeGo</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     * MeeGo</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     * Fedora 10,11,12</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>     * Fedora 10,11,12</div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:837:newid:838 -->
</table>Smokuhttps://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=837&oldid=prevSmoku: Added Category:spectacle2012-01-21T15:38:46Z<p>Added Category:spectacle</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:38, 21 January 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 417:</td>
<td colspan="2" class="diff-lineno">Line 417:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>When you use ``specify`` to update a .spec file, any %changelog section will be removed in total.  This is because the [[Packaging/Guidelines|Packaging Guidelines]] require using *.changes files instead of an explicit %changelog section in your .spec.  (And spectacle doesn't have any changelog support for the .yaml file.)  Before rebuilding a package, OBS will add the .changes file to the end of the .spec.  (So, if you're building packages without OBS/osc, then you will need to do this manually.)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>When you use ``specify`` to update a .spec file, any %changelog section will be removed in total.  This is because the [[Packaging/Guidelines|Packaging Guidelines]] require using *.changes files instead of an explicit %changelog section in your .spec.  (And spectacle doesn't have any changelog support for the .yaml file.)  Before rebuilding a package, OBS will add the .changes file to the end of the .spec.  (So, if you're building packages without OBS/osc, then you will need to do this manually.)</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category:spectacle]]</ins></div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:836:newid:837 -->
</table>Smokuhttps://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=836&oldid=prevSmoku: /* Introduction */2012-01-21T15:37:59Z<p><span dir="auto"><span class="autocomment">Introduction</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 15:37, 21 January 2012</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Introduction ==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>== Introduction ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Spectacle is the toolset for packaging maintenance <del class="diffchange diffchange-inline">of </del>MeeGo, including the tool</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Spectacle is the toolset for packaging maintenance <ins class="diffchange diffchange-inline">from </ins>MeeGo, including the tool</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>to generate spec files from metadata file in YAML format, and tools to convert   </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>to generate spec files from metadata file in YAML format, and tools to convert   </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>spec files or spec-builder's ini files to YAML format.                           </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>spec files or spec-builder's ini files to YAML format.                           </div></td></tr>
<!-- diff cache key wiki_merproject_db:diff:version:1.11a:oldid:835:newid:836 -->
</table>Smokuhttps://wiki.merproject.org/wiki/index.php?title=Spectacle&diff=835&oldid=prevSmoku: Copied Spectacle documentation from http://wiki.meego.com/Spectacle2012-01-21T15:37:37Z<p>Copied Spectacle documentation from http://wiki.meego.com/Spectacle</p>
<p><b>New page</b></p><div>== Introduction ==<br />
<br />
Spectacle is the toolset for packaging maintenance of MeeGo, including the tool<br />
to generate spec files from metadata file in YAML format, and tools to convert <br />
spec files or spec-builder's ini files to YAML format. <br />
<br />
For spectacle managed packages, all generic packaging information will be stored<br />
in the YAML file, and it also allows maintaining customizations in the spec file<br />
directly with special enclosure tags. <br />
<br />
Three separated tools will be installed:<br />
<br />
* specify: the tool to generate or to update spec file, based on YAML<br />
* ini2spectacle: the tool to convert spec-builder .ini to YAML and new spec file<br />
* spec2spectacle: the tool to convert original spec to YAML and new spec file<br />
<br />
== Installation ==<br />
=== Instruction ===<br />
Several methods available for spectacle installation:<br />
<br />
* Install rpm/deb packages for several supported Linux distributions.<br />
From [http://repo.meego.com/tools/repos/ MeeGo Tools Repo], repo urls and install packages can be found for:<br />
* MeeGo<br />
* Fedora 10,11,12<br />
* openSUSE(s) <br />
* xUbuntu 8.10/9.04/9.10/10.04<br />
* Debian 5.0 <br />
<br />
* Build from the latest source and install it by ``make install``<br />
The latest code in git tree can be accessed at:<br />
[git://gitorious.org/meego-developer-tools/spectacle.git]<br />
<br />
'''Note on Ubuntu installation'''<br />
From [http://bugs.meego.com/show_bug.cgi?id=6734 this] Edit or create ''/etc/apt/sources.list.d/meego.list'' with sudo<br />
Add<br />
deb http://repo.meego.com/MeeGo/tools/repos/ubuntu/9.10/ /<br />
<br />
run the following commands<br />
sudo apt-get update<br />
<br />
=== Requirements ===<br />
* python 2.x, above 2.5<br />
* PyYAML, the python module for YAML parsing<br />
* cheetah, one popular templating system for python<br><br />
In many linux distributions, the needed package might be "python-cheetah".<br />
<br />
== Usage ==<br />
* specify<br />
Usage: specify [options] [yaml-path]<br />
Options:<br />
--version show program's version number and exit<br />
-h, --help show this help message and exit<br />
-o OUTFILE_PATH, --output=OUTFILE_PATH<br />
Path of output spec file<br />
-s, --skip-scm Skip to check upstream SCM when specified in YAML<br />
-N, --not-download Do not try to download newer source files<br />
-n, --non-interactive<br />
Non interactive running, to use default answers<br />
--new=NEWYAML Create a new yaml from template<br />
--newsub=NEWSUB Append a new sub-package to current yaml<br />
<br />
For example, `specify widget.yaml` will create (or update) the file widget.spec. The update will clobber/delete everything that is not enclosed in the customization sections (<<< and >>>). Note that the %changelog section will always be clobbered (see Tips below about changelogs).<br />
<br />
* ini2spectacle<br />
Usage: ini2spectacle [options] [ini-path]<br />
Options:<br />
--version show program's version number and exit<br />
-h, --help show this help message and exit<br />
-o OUTFILE_PATH, --output=OUTFILE_PATH<br />
Path of output yaml file<br />
-f, --include-files To store files list in YAML file<br />
<br />
* spec2spectacle<br />
Usage: spec2spectacle [options] [spec-path]<br />
Options:<br />
--version show program's version number and exit<br />
-h, --help show this help message and exit<br />
-o OUTFILE_PATH, --output=OUTFILE_PATH<br />
Path of output yaml file<br />
-r, --replace-macros To replace self-defined macros in spec file<br />
--no-builder-parsing Do NOT try to parse build/install scripts<br />
-f, --include-files To store files list in YAML file<br />
<br />
== Syntax of spectacle YAML ==<br />
The syntax of YAML can be refered here: <http://www.yaml.org/spec/><br />
<br />
Two example spectacle YAML files are placed to examples/ directory in source<br />
code:<br />
<br />
* xfce4-session.yaml, a real world sample with most of the elements<br />
* general.yaml, a fake spectacle contains all the available elements with comments<br />
<br />
All available directives for spectacle are listed as the following:<br />
<br />
* Name: **string**<br />
<br />
* Summary: **string**<br />
<br />
* Version: **string**, version string<br />
<br />
* Release: **string**<br />
<br />
* Epoch: **string**, *optional*<br />
<br />
* Group: **string**<br />
<br />
* License: **string**<br />
<br />
* URL: **string**, *optional*<br />
<br />
* BuildArch: **string**, *optional*<br />
<br />
* ExclusiveArch: **string**, *optional*<br />
<br />
* Prefix: **string**, *optional*<br />
<br />
* LocaleName: **string**, *optional*<br />
<br />
* LocaleOptions: **string**, *optional*<br />
<br />
* Description: **text**, *optional*<br />
<br />
* Sources: **list** of **string**<br />
<br />
* SourcePrefix: **string**, *optional*, specify the prefix path in source package<br />
<br />
* ExtraSources: **list** of **string**, *optional*<br />
<br />
* SetupOptions: **string**, *optional*, the options string for %setup<br />
<br />
* Patches: **list** of **string**, all patches need to be in 'p1' level<br />
<br />
* Requires: **list** of **string**<br />
<br />
* RequiresPre: **list** of **string**<br />
<br />
* RequiresPreUn: **list** of **string**<br />
<br />
* RequiresPost: **list** of **string**<br />
<br />
* RequiresPostUn: **list** of **string**<br />
<br />
* PkgBR: **list** of **string**, packages required in building, or BuildRequires<br />
<br />
* PkgConfigBR: **list** of **string**, pkg-config requires in building<br />
<br />
* Provides: **list** of **string**<br />
<br />
* Conflicts: **list** of **string**<br />
<br />
* Obsoletes: **list** of **string**<br />
<br />
* BuildConflicts: **list** of **string**<br />
<br />
* Configure: **string**, *optional*, valid values: **autogen**, **configure**, **reconfigure**, **none**<br><br />
** If not specified, the default value "configure" will be used<br />
<br />
* ConfigOptions: **list**, *optional*, extra options for ``Configure``<br />
<br />
* Builder: **string**, *optional*, valid values: **make**, **single-make**, **python**, **perl**, **qmake**, **none**<br><br />
** If not specified, the deault value "make" will be used. If do not want a automatic builder, please use "none".<br />
<br />
* QMakeOptions: **list**, *optional*, extra options for **qmake** ``Builder``<br />
<br />
* Files: **list** of **string**, *optional*, content of ``%files`` for small packages<br />
<br />
* FilesInput: **string**, *optional*, extra input source for %files<br />
<br />
* NoFiles: **boolean**, *optional*, if to be set as True, means no %files section for this package and it cause no rpm generated<br />
<br />
* RunFdupes: **list** of **string**, paths under %{buildroot} to run ``%fdupes`` macro in %install<br />
<br />
* RpmLintIgnore: **list**, *optional*, list of skip items for ``rpmlint``<br />
<br />
* Check: **boolean**, whether need ``%check`` section in spec<br />
<br />
* SupportOtherDistros: **boolean**, whether need to check for other distros (besides MeeGo)<br />
<br />
* UseAsNeeded: **boolean**, whether export LD\_AS\_NEEDED=1 environ variable before building<br />
<br />
* NoAutoReq: **boolean**, whether add 'AutoReq: 0' to spec<br />
<br />
* NoAutoProv: **boolean**, whether add 'AutoProv: 0' to spec<br />
<br />
* NoSetup: **boolean**, whether to skip using ``%setup`` in ``%prep``<br />
<br />
* NoAutoLocale: **boolean**, whether to use ``%find_lang`` to search locale data when found 'intltool' in PkgBR<br />
<br />
* NoDesktop: **boolean**, whether to install the desktop files in package<br />
<br />
* UpdateDesktopDB: **boolean**, whether to run 'update-desktop-database' to flush cache when package (un)installation<br />
<br />
* NoIconCache: **boolean**, whether to run 'gtk-update-icon-cache' if icon files found in package<br />
<br />
* AutoDepend: **boolean**, for subpackages only, whether to add Require to main package automatically<br />
<br />
* AsWholeName: **boolean**, for subpackages only, whether to use **Name** as the whole package name<br />
<br />
* AutoSubPackages: **list** of **string**, mainly for '-devel'<br />
<br />
* SubPackages: **list** of **dict**, the **dict** item is the lower level directives for sub packages:<br />
<br />
* Name<br />
* Summary<br />
* Description, *optional*<br />
* Group, *optional*<br />
* License, *optional*<br />
* Requires, *optional*<br />
* etc.<br />
<br />
'''CAUTION''': The following cases of value string have special meaning in YAML syntax:<br />
* string with leading **``%``** charactor<br />
* string with leading **``*``** charactor<br />
* string contains **``:``** charactor and one or more spaces/tabs after **``:``**<br />
* string end with **``:``** charactor<br />
<br />
Then these string values need to be quoted by ``'``(single-quote) or ``"``<br />
(double-quote), and the choice of quote char should not conflict with the value<br />
string self.<br />
<br />
== Mandatory and valid keywords for all packages ==<br />
=== Mandatory keywords ===<br />
The following keywords are mandatory for main package:<br />
<br />
* Name<br />
* Summary<br />
* Description<br />
* Version<br />
* Group<br />
* License<br />
<br />
The following keywords are mandatory for sub-package:<br />
<br />
* Name<br />
* Summary<br />
* Description<br />
* Group<br />
<br />
=== Valid keywords for sub-packages ===<br />
For sub-packages, only a subset of keywords can be specified:<br />
<br />
* Name<br />
* Summary<br />
* Description<br />
* Group<br />
* License<br />
* Version<br />
* Release<br />
* Epoch<br />
* URL<br />
* BuildArch<br />
* Files<br />
* Prefix<br />
* Requires<br />
* RequiresPre<br />
* RequiresPreUn<br />
* RequiresPost<br />
* RequiresPostUn<br />
* Provides<br />
* Conflicts<br />
* Obsoletes<br />
* NoAutoReq<br />
* NoAutoProv<br />
* NoAutoReqProv<br />
* NoIconCache<br />
* FilesInput<br />
<br />
=== Keywords only for sub-packages ===<br />
The following keywords are only valid for sub-packages:<br />
<br />
* AsWholeName<br />
* AutoDepend<br />
<br />
== Namespace support for multi-architecture in several keywords ==<br />
For the following spectacle YAML keywords:<br />
<br />
* Requires<br />
* PkgBR<br />
* PkgConfigBR<br />
* Patches<br />
* ConfigOptions<br />
* QMakeOptions<br />
<br />
If one of the items need to be architecture specified, we can add arch prefix to<br />
it. The supported prefix and the corresponding architectures as the followings:<br />
<br />
* ``ix86:`` - x86 platform<br />
* ``arm:`` - arm platform<br />
* ``armv5:`` - armv5 platform, will expand to "armv5el armv5tel armv5tejl"<br />
* ``armv7:`` - armv7 platform, will expand to "armv7el armv7tel armv7l armv7hl armv7nhl"<br />
<br />
Here's some samples:<br />
<br />
Requires:<br />
- arm:pkg-need-in-arm-image<br />
- ix86:pkg-need-in-x86-image<br />
- normal-pkg<br />
ConfigOptions:<br />
- arm:--arm-specific-opt<br />
- ix86:--ix86-specific-opt<br />
- --common-opt<br />
<br />
== Customizations in spec ==<br />
Generated spec files by specify will have many placeholders for customizations,<br />
such as:<br />
<br />
# >> build pre<br />
# << build pre<br />
<br />
You can add any custom code between the markers, next time when you run<br />
``specify``, the text between the markers will be kept as is, all other sections<br />
relying on the meta data from the YAML file will be changed depending on the<br />
values in the YAML file.<br />
<br />
The following placeholders in spec can be customized:<br />
<br />
* Private Macros, used in this package's spec<br />
<br />
With placeholder:<br />
# >> macros<br />
# << macros<br />
<br />
* Extra setup scripts in the last of ``%prep``<br />
<br />
With placeholder:<br />
# >> setup<br />
# << setup<br />
<br />
* Pre-Build, scripts before package building<br />
<br />
With placeholder:<br />
# >> build pre<br />
# << build pre<br />
<br />
* Post-Build, scripts after package building<br />
<br />
With placeholder:<br />
# >> build post<br />
# << build post<br />
<br />
* Pre-Install, scripts before package installation<br />
<br />
With placeholder:<br />
# >> install pre<br />
# << install pre<br />
<br />
* Post-Install, scripts after package installation<br />
<br />
With placeholder:<br />
# >> install post<br />
# << install post<br />
<br />
* Files, files list in packaged rpm<br />
<br />
With placeholder:<br />
# >> files [sub-package]<br />
# << files [sub-package]<br />
NOTE**: "sub-packge" stands for the name of sub-package, and it is optional. If no sub-package name specified, it means the files of **main** package.<br />
NOTE**: If the file list is simple enough, you can use YAML *Files* keyword instead to record it.<br />
<br />
* Scriptlets for %check section<br />
<br />
With placeholder:<br />
# >> check<br />
# << check<br />
NOTE**: Only if YAML boolean *Check* is specifed as ``yes``, %check with placeholder lines will be generated in .spec.<br />
<br />
* Scriptlets for %pre section<br />
<br />
With placeholder:<br />
# >> pre<br />
# << pre<br />
NOTE**: The placeholder lines will NOT generated in spec by default. If you need customized %pre scripts, it need be added manually, and only once.<br />
<br />
* Scriptlets for %preun section<br />
<br />
With placeholder:<br />
# >> preun<br />
# << preun<br />
NOTE**: The placeholder lines will NOT generated in spec by default. If you need customized %preun scripts, it need be added manually, and only once.<br />
<br />
* Scriptlets for %post section<br />
<br />
With placeholder:<br />
# >> post<br />
# << post<br />
NOTE**: The placeholder lines will NOT generated in spec by default. If you need customized %post scripts, it need be added manually, and only once.<br />
<br />
* Scriptlets for %postun section<br />
<br />
With placeholder:<br />
# >> postun<br />
# << postun<br />
NOTE**: The placeholder lines will NOT generated in spec by default. If you need customized %postun scripts, it need be added manually, and only once.<br />
<br />
== Internal Implementation ==<br />
Spectacle uses cheetah templates to generate the spec file, based the metadata<br />
from YAML file. But the end users need not tackle it.<br />
<br />
== Tips ==<br />
To upgrade the pkg to a newer version, you can just edit the<br />
version string in spectacle YAML file, and when you run ``specify``, it<br />
will download the needed files for you automatically.<br />
<br />
For packages with locale data, *LocaleName* is needed. If package<br />
maintainers cannot confirm whether there are locale files, they can just<br />
do not use *LocaleName* at first, and whenever "unpackaged files" rpm<br />
packaging errors encountered, it means *LocaleName* should be added. And<br />
please do not use it for packages without locale data to keep them clean,<br />
though it will not block the building and packaging.<br />
<br />
When using spec2spectacle/ini2spectacle to generate spectacle, the following problems should be checked:<br />
* Remove duplicate Requires(include pre/post/preun/postun) which were added automatically based on the analysis of file list.<br />
* Review and clean up the reserved scripts in "build|install pre|post" sections in new generated spec file.<br />
<br />
User can use "series.conf" file to specify multiple patches under package directory. The "series.conf" can be used by ``quilt`` and the content can be updated to spec automatically when running ``specify``.<br />
<br />
When you use ``specify`` to update a .spec file, any %changelog section will be removed in total. This is because the [[Packaging/Guidelines|Packaging Guidelines]] require using *.changes files instead of an explicit %changelog section in your .spec. (And spectacle doesn't have any changelog support for the .yaml file.) Before rebuilding a package, OBS will add the .changes file to the end of the .spec. (So, if you're building packages without OBS/osc, then you will need to do this manually.)</div>Smoku