LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-10-2007, 04:37 PM   #1
yellowbkpk
LQ Newbie
 
Registered: Jun 2005
Posts: 5

Rep: Reputation: 0
Using rpmbuild to Install Precompiled Binaries?


Hello,

I have a nightly build that creates a jar file in directory /x/y/z.

I'd like to write an RPM spec file that takes that jar file, along with other miscellaneous files that support the jar file and bundles it into an RPM that installs the jar file and related files to /a/b/c on a target system.

I don't want RPM to do any compilation or handle source tarballs.

Any ideas out there? Thanks!
 
Old 12-10-2007, 05:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by yellowbkpk View Post
I'd like to write an RPM spec
Well, if you want to write it just post what you've got so far and we'll help you improve it.

If you haven't got anything yet post the steps and commands you perform to install the files manually including the locations of the source and destination files, access rights, user account it should be installed under, etc, etc, the works, then proceed to http://docs.fedoraproject.org/drafts...ting-rpms.html if you don't know much about RPM's or to http://docs.fedoraproject.org/drafts...n/ch09s02.html if you already have written .spec files before. Before you try to make and test a .spec file please read http://www.ibm.com/developerworks/library/l-rpm2/ if you think building RPM's as root account user is OK. If you fail, post your .spec file, preferably between BB code tags, and any output that may help us help you.

OK, there's a third option and that's asking your fellow LQ members to write a .spec for you, but then you should ask properly.
 
  


Reply



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
How to install a precompiled kernel lali.p Slackware 8 04-10-2007 04:57 PM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
Install precompiled kernel Lars79 Slackware 31 12-14-2004 04:09 PM
Just curious: why aren't there more precompiled binaries? infidel Linux - General 3 06-16-2004 05:38 AM
Slack precompiled binaries zeky Slackware 3 09-03-2002 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:54 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
Open Source Consulting | Domain Registration