The infrastructure team has to package various scripts and applications for our target distributions: openSuse and Debian.
When 'standard' modules and libraries are used they should be packaged for deployment
Should be done in an openSuse VM.
Tools:
zypper in rubygem-gem2rpm rake ruby-bundler meld dbus-1-x11
Create an OBS project targeting devel:languages:ruby:extensions eg:
<project name="home:lbt:ruby">
<title>ruby</title>
<description>Packages intended for d:l:r:e
</description>
<person role="maintainer" userid="lbt"/>
<person role="bugowner" userid="lbt"/>
<repository name="devel_languages_ruby_extensions_devel_languages_ruby_openSUSE_11.2">
<path project="devel:languages:ruby:extensions" repository="devel_languages_ruby_openSUSE_11.2"/>
<arch>x86_64</arch>
<arch>i586</arch>
</repository>
<repository name="devel_languages_ruby_extensions_devel_languages_ruby_openSUSE_11.3">
<path project="devel:languages:ruby:extensions" repository="devel_languages_ruby_openSUSE_11.3"/>
<arch>x86_64</arch>
<arch>i586</arch>
</repository>
</project>
Use this script to fetch and prepare a gem package
Note that some validation is done and changes to the gems may be needed.
The gem can be manipulated by using:
gem unpack TheGem.gem # edit data and change version gem build TheGem.gemspec