Gem to rpm converter 0.5.1
Sponsored Links
Gem to rpm converter 0.5.1 Ranking & Summary
File size:
0.009 MB
Platform:
Any Platform
License:
GPL (GNU General Public License)
Price:
Downloads:
844
Date added:
2007-07-19
Publisher:
David Lutterkort
Gem to rpm converter 0.5.1 description
Gem to rpm converter creates an RPM spec file from a Ruby gem. The project uses the gem metadata to fill out most of the information needed for building an RPM containing the gem.
Usage:
Run gem2rpm --help for options
At its simplest, download a gem (lets call that file GEM) and run
gem2rpm $GEM
This will print an rpm spec file based on the information contained in the gems spec file. In general, it is necessary to edit the generated spec file because the gem is missing some important information that is customarily provided in rpms, most notably the license and the changelog.
Rather than editing the generated specfile, edit the template from which the specfile is generated. This will make it easier to update the RPM when a new version of the Gem becomes available.
To support this process, it is recommended to first save the default template somewhere:
gem2rpm -T > rubygem-GEM.spec.template
Now, edit the template and then run gem2rpm to generate the spec file using the edited template:
gem2rpm -t rubygem-GEM.spec.template > rubygem-GEM.spec
With that, you can now build your RPM as ususal. When a new version of the gem becomes available, you should edit the saved template and rerun gem2rpm over it.
Template Details:
The template is a standard erb file; there are three main variables available in the template file:
format - The Gem::Format for the gem
spec - The Gem::Specification for the gem (the same as format.spec)
Conventions:
A typical source RPM for a gem should consist of three files: the gem file itself, the template for the spec file and the spec file. To ensure that the template will be included in the source RPM, it must be listed as one of the sources in the spec file.
The resulting rpms should follow the naming convention rubygem-$GEM where GEM is the name of the packaged gem. The default template also makes sure that the resulting package provides ruby($GEM), according to general packaging conventions for scripting languages
Usage:
Run gem2rpm --help for options
At its simplest, download a gem (lets call that file GEM) and run
gem2rpm $GEM
This will print an rpm spec file based on the information contained in the gems spec file. In general, it is necessary to edit the generated spec file because the gem is missing some important information that is customarily provided in rpms, most notably the license and the changelog.
Rather than editing the generated specfile, edit the template from which the specfile is generated. This will make it easier to update the RPM when a new version of the Gem becomes available.
To support this process, it is recommended to first save the default template somewhere:
gem2rpm -T > rubygem-GEM.spec.template
Now, edit the template and then run gem2rpm to generate the spec file using the edited template:
gem2rpm -t rubygem-GEM.spec.template > rubygem-GEM.spec
With that, you can now build your RPM as ususal. When a new version of the gem becomes available, you should edit the saved template and rerun gem2rpm over it.
Template Details:
The template is a standard erb file; there are three main variables available in the template file:
format - The Gem::Format for the gem
spec - The Gem::Specification for the gem (the same as format.spec)
Conventions:
A typical source RPM for a gem should consist of three files: the gem file itself, the template for the spec file and the spec file. To ensure that the template will be included in the source RPM, it must be listed as one of the sources in the spec file.
The resulting rpms should follow the naming convention rubygem-$GEM where GEM is the name of the packaged gem. The default template also makes sure that the resulting package provides ruby($GEM), according to general packaging conventions for scripting languages
Gem to rpm converter 0.5.1 Screenshot
Gem to rpm converter 0.5.1 Keywords
RPM
GEM
gem to rpm
rpm spec file
RPM converter
RPM spec
Ruby Gem
file
spec
converter
template
ruby
creates
Gem to rpm converter
Gem to rpm converter 0.5.1
Software Distribution
Bookmark Gem to rpm converter 0.5.1
Gem to rpm converter 0.5.1 Copyright
WareSeeker periodically updates pricing and software information of Gem to rpm converter 0.5.1 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Gem to rpm converter 0.5.1 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
BeanCounter enables stockmarket data analysis and performance evaluation. Free Download
RPM Package Maker is a frontend for other linux tools in order to help linux users to create RPM packages quickly and easily. Free Download
AudioFormat is a simple, unobtrusive audio format converter for your GNOME desktop. Free Download
Kopete RPM for openSUSE contains RPM packages for openSUSE 10.2, compiled with KDE 3.5.6. Free Download
Redline RPM Library is a pure Java library for manipulating RPM Package Manager packages. Free Download
Ruby ObjectGraph will output Graphviz dot files of your Ruby objects in memory. Free Download
Gem Drop X is a fast-paced puzzle game where its your job to clear the screen of gems before they squash you! Free Download
RPM::Constants is a Perl module with groups of RPM-defined symbols. Free Download
Latest Software
Popular Software
Favourite Software