LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-29-2003, 05:36 PM   #1
nearfar
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
Question building rpm


Hi,

I want to change a software package to an rpm. I have written an installation script for this package, that basically un-tars the files, and copies them to different directories (without compiling the source code.) I was wondering if I can just transfrom my installation script to the rpm spec, without actually following the rpm spec conventions. This is the first time i'm builing an rpm, and i'm lost.... any inputs would be greatly apprecited.
 
Old 12-29-2003, 09:21 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, SolydK 2013
Posts: 7,434

Rep: Reputation: 134Reputation: 134
"I want to change a software package to an rpm."

checkinstall does what you want to do:

http://asic-linux.com.mx/~izto/checkinstall/

With checkinstall you unpack a tarball, cd to the proper directory, and then do:
./configure
make
checkinstall

and checkinstall will create a rpm package for you in the /usr/src tree.

If you want to chug onward and finish your script then take a look at the checkinstall source code to learn what to do.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 12-29-2003 at 09:23 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building RPM via src.Rpm ivanatora Linux - Newbie 2 02-20-2006 04:29 PM
regarding building RPM hinetvenkat Linux - Networking 2 08-29-2005 08:42 AM
Help with compiling/building RPM leisure Linux - Software 2 05-08-2005 11:18 PM
need help building rpm Hockeyfan Linux - Software 3 11-20-2004 05:15 AM
building rpm saleem Programming 1 11-12-2001 05:42 AM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
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