LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-22-2014, 12:57 PM   #1
tahaz
LQ Newbie
 
Registered: May 2012
Posts: 14

Rep: Reputation: Disabled
building simple rpm


Hello linux experts

currently i have a task to copy some file, scripts around to a certain directory. currently i have those files, scripts in tar ball and i have to scp it to number of servers and untar them. i am not very experienced with rpm and would like some steps on how to build a rpm to copy some files to a certain directory.

Note: there are few binaries files in the tar ball but i need to build a noarch rpm.

thanks
 
Old 09-22-2014, 04:24 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Example, a simple spec file with a file list :
Code:
Summary:   None
Name:      
Version:   1.1.1
Release:   1
License:   GPL
Group:     None          
Packager:  Jerry Donut <jerry@donut.com>
BuildArchitectures: noarch
BuildRoot:

%description
No description

%files
/usr/local/bin/file
Fill in the "Name" and your file list, and do $ rpmbuild -bb file.spec

My rpmbuild environment http://www.linuxquestions.org/questi...1-a-766486/#13

-
 
Old 09-24-2014, 09:48 PM   #3
tahaz
LQ Newbie
 
Registered: May 2012
Posts: 14

Original Poster
Rep: Reputation: Disabled
thanks @knudfl for help
 
  


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
Require help for building rpm from .src.rpm during uncompressing tar.xz file Santoshkb Linux - General 4 09-16-2013 02:15 AM
configure path for dependent rpm packages for building source rpm package embeddedlinuxforall Linux - Newbie 1 03-01-2013 11:39 AM
error in building rpm of open ldap from source using rpm package manager Infotechie Linux - Software 2 05-02-2012 01:10 AM
Help building an .rpm from a .src.rpm ssenuta Linux - Software 6 04-10-2006 10:36 PM
Building RPM via src.Rpm ivanatora Linux - Newbie 2 02-20-2006 04:29 PM

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

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

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