LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Quick easy way to create a simple rpm file (https://www.linuxquestions.org/questions/linux-software-2/quick-easy-way-to-create-a-simple-rpm-file-857854/)

thebombzen 01-21-2011 02:43 PM

Quick easy way to create a simple rpm file
 
Hello, I have a built piece of software that I wrote with a whopping 3 files included total. I want to package this inside an rpm. I don't need complex stuff like postinstall scripts, dependencies, subpackages, or any of that stuff. I just want a simple rpm with the 3 files, a package identifier, and a summary. I am not planning on posting this rpm on a repo such as fedora or rpmfusion. How can I do this?

xeleema 01-21-2011 03:04 PM

Greetingz!

I recently had the same question myself, and found out that (of all people) IBM has a pretty good guide.
They use wget and it's man page as an example, so it's pretty straight-forward.

The only problem with RPM (or any packaging system like SlackWare or Solaris); in order to just package two or three files, it takes a *lot* more work than something like this;
Code:

scp ./directory unixguy@hostname:/path/to/copy
Happy Packaging!

dadealeus 02-19-2014 07:28 PM

Simple RPM Building Tool
 
Old question, but new software that will do exactly what you're looking for:

https://github.com/genereese/togo


All times are GMT -5. The time now is 05:42 PM.