Comments (11)
Exactly. I already generate .deb files without the help of any debian tools. rpm's internal format is some serious bullshit, but I made headway a few weeks ago (see lib/rpm/ in the fpm source tree).
from fpm.
It does not handle most metadata yet (significantly package requirements), but if all you want is to put files in an rpm, you may consider rpmpack (tar2rpm), written in golang without calling rpmbuild.
https://github.com/google/rpmpack
from fpm.
+1. It would be awesome for people to be able to build all sorts of packages in one go, on the same box.
from fpm.
Or at least document that it requires rpmbuild :-) The docs don't appear to mention external dependencies at all...
(but +1 for being able to build rpm and deb on anything!)
from fpm.
Any update on this?
from fpm.
Not yet, I haven't had energy yet to implement the 'write an rpm file' library in Ruby.
from fpm.
Is this something I can help with? I have some spare cycles that I can give.
If you have any notes or something I can give it a whirl.
from fpm.
The ruby library I wrote "arr-pm" implements reading an RPM. It needs write support (which should include setting any property in the rpm, adding files, signing, etc)
http://github.com/jordansissel/ruby-arr-pm
from fpm.
This is the one thing keeping me from using fpm for rpm creation. Adding the pure ruby capability of writing rpm files would be exactly in line with the first bit of the README.
- If fpm is not helping you make packages easily, then there is a bug in fpm.
- If you are having a bad time with fpm, then there is a bug in fpm.
Should this issue be labeled with bug
?
from fpm.
@kevinkjt2000 I don't make much strong use of github issue labels in this project. If it comforts you, I can add a bug label.
This is the one thing keeping me from using fpm for rpm creation
Can you describe your situation more? What about rpmbuild prevents you from using it?
from fpm.
Can you describe your situation more? What about rpmbuild prevents you from using it?
Sure thing 😄
rpmbuild isn't available on some systems without going through pains to install it manually.
from fpm.
Related Issues (20)
- Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
- add custom metadata in pcakage
- URGENT : BUG - Dependency Confusion Vulnerability leads to RCE(Remote Code Execution) HOT 4
- python: pkg_resources is deprecated HOT 4
- python: stop using `setup.py` as a CLI tool HOT 3
- fpm -t rpm error when workdir contains a + in name.
- "gem install fpm" is not sufficient to have fpm correctly installed HOT 1
- How is this configuration item(config-files) used
- --deb-dist option does not set the distribution
- fpm install fails on RHEL8 Ruby 2.5.0 due to dotenv HOT 10
- Buildroot when building .deb? HOT 3
- How to get RPM to place all files from a local folder inside a specific folder when installed (without including the local folder itself) HOT 1
- fpm output as JSON instead ruby hash?
- too long unix socket path (120bytes given but 108bytes max)
- Any tips for compiling a binary executable of fpm on arm64? HOT 2
- PEP517 Support HOT 1
- Private vulnerability reporting HOT 2
- Sign apk packages
- "--fpm-options-file" fails with "undefined method `extract_value' for nil:NilClass" HOT 1
- When making a deb package is there a way to include files under /debian/test for autopkgtest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpm.