LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-21-2011, 03:43 PM   #1
thebombzen
Member
 
Registered: Dec 2010
Location: Noneya Business
Distribution: Linux Mint
Posts: 56

Rep: Reputation: 5
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?
 
Old 01-21-2011, 04:04 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
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!

Last edited by xeleema; 01-21-2011 at 04:05 PM.
 
Old 02-19-2014, 08:28 PM   #3
dadealeus
LQ Newbie
 
Registered: Jan 2014
Posts: 6

Rep: Reputation: Disabled
Simple RPM Building Tool

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

https://github.com/genereese/togo
 
  


Reply

Tags
fedora, rpm, rpmbuild


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to create simple html from text file the_mulletator Programming 5 10-01-2009 05:23 PM
how to create a directory in RPM SPEC file? anadem Linux - Software 7 12-02-2008 06:40 PM
Simple quick one - how to set a variable from a text file... stardotstar Programming 21 07-23-2006 05:47 AM
very quick/simple rpm question thugbot3oo5 Linux - Newbie 13 03-03-2004 02:31 PM
How can I create an RPM file mayankjohri Linux - Software 1 04-16-2002 09:13 AM


All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration