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


Packaging/Ruby

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
Line 11: Line 11:
 
  gem fetch <mygemname>
 
  gem fetch <mygemname>
  
 +
When the gem is downloaded you can create .spec file with following cmd
  
 +
/usr/share/gems/bin/gem2rpm <mygemname-version>.gem > rubygem-<mygemname>.spec
 +
 +
Next add new entry to .changes file and upload the new packaging.
  
 
...
 
...
  
 
[[Category:Packaging]]
 
[[Category:Packaging]]

Revision as of 12:42, 9 July 2012

Draft

Ruby is used mainly for Testing and Tools in Mer and thus it is going to Mer:Tools project in community OBS. As ruby consists of numerous different gems, a packages that contain ruby libraries or applications, there is need for consistent policy how we should package them.

First start by installing Mer SDK. After that is done login to the SDK and install rubygem-gem2rpm

sudo zypper install rubygem-gem2rpm

After that is done you need to fetch the gem you want to package.

gem fetch <mygemname>

When the gem is downloaded you can create .spec file with following cmd

/usr/share/gems/bin/gem2rpm <mygemname-version>.gem > rubygem-<mygemname>.spec

Next add new entry to .changes file and upload the new packaging.

...

Personal tools