Existing source distributions can be debianized easily using dh_make, but I failed to find similar tool for rpm packages. Are there any, or the only way is to write spec file manually
Debian has the information in several files in debian/
directory. On the other hand RPM package is made only by *.spec file.
If you run:
vim foo.spec
where foo.spec does not exist, vim should load generic template for spec file.
When you install rpmdevtools
package, then there is command:
rpmdev-newspec -m --type ruby
for list of available types see /etc/rpmdevtools where the templates reside.
And of course then there are lots of generator, which can create SRPM or spec file just from the name of the module:
pyp2rpm <some PyPI module>
gem2rpm <some rubygem module>
cpanspec <some CPAN module>
And probably some others.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.