Source RPM issue


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Source RPM issue
# 1  
Old 08-27-2008
Source RPM issue

Hi,
I have created one soruce rpm by using some help file on net. when i installed the rpm with command "rpm -i xxx.rpm", by default it got installed under "/usr/src/redhat/SOURCES/. I want to install these source file under /application/myapps/.
Also i want some guidence to improve the source RPM.
SPEC file :
#
Summary: A app that rocks!
Name: ew_client
Version: 1.0
Release: 303
Copyright: Symantec
Group: Applications/Internet
Source: ftp://xx.com/pub/goeveryware/ew_client.tar.gz
URL: http://www.xx.com/goeveryware/index.html
Distribution: RHCE Distribution
Vendor: Copr.
Packager: Rajesh Kumar <rajeshkumar.raj06@gmail.com>
%description
This RPM
%prep
rm -rf $RPM_BUILD_DIR/myapps
zcat $RPM_SOURCE_DIR/ew_client.tar.gz | tar -xvf -
%build

%install

%files
/usr/src/redhat/BUILD



Need help in urgent...

Raj
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Issue while creating RPM

I am trying to create an RPM that basically creates a JBOss container. At the end it copies folders and files in a particular directory structure. /root/rpmbuild/SOURCES # tree cac-1.0 cac-1.0 └── opt └── msdp └── ca └── iam_cac ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies

2. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

dears i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message . P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm error: failed dependencies: m4 is needed by autoconf-2.63-1 P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies

3. Red Hat

Issue with rpm package

Hello I have Storage foundation 6.0 version to install in redhat 6.0, so while trying to install one of the application it say to install some dependencies packages so when i try to install the dependencies again it ask for the dependencies so its a lengthy process i say. so now can i get the... (1 Reply)
Discussion started by: cyrus.ranjith
1 Replies

4. AIX

Issue with installing rpm in AIX 6.1

I am trying to install an rpm : libiconv-1.14-1.aix5.1.ppc.rpm which is a dependency to install GIT. While I gave the command I got the foll message: root:user-> $ rpm -i -v libiconv-1.14-1.aix5.1.ppc.rpm libiconv-1.14-1 ar: Cannot open or remove a file containing a running program.... (2 Replies)
Discussion started by: gaugeta
2 Replies

5. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

How to make RPM not write to RPM database if RPM fails to deploy? IE I create an rpm spec file that contains the following if then exit 1 fi My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies

6. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

7. Linux

Converting source rpm to binary rpm

Hi, I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm. so I tried this rpm --rebuild somethin.src.rpm But I am gettin '--rebuild:Invalid option' as output Is there another way to rebuild source rpm.? Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies

8. UNIX for Advanced & Expert Users

Does anybody know Kernel-2.4.33 source rpm URL??

Hi Everybody, I want to download the kernel-2.4.33 source rpm.Does anybody know from where should i download?? As in kernel.org there are .gz or .bz2 versions of kernel packages are available. Any help is welcome. Thanks, Sriram (2 Replies)
Discussion started by: sriram.ec
2 Replies

9. Linux

Source Of Rpm's

Hi every one...i am new to linux and have a problem with rpm's. Do we have any facility to chk out the source code of rpm's.If yes plz specify the location so that i can explore a few... secondly can i know where we can get the source code of standard shell commands like sleep,ls,top....etc.I... (4 Replies)
Discussion started by: bssandilya
4 Replies

10. Programming

compile rpm-4.0 source

Hello Unix experts, I downloaded rpm-4.0 source from ftp.redhat.com and tried to make it. There are something I could not understand. - Makefile.in and Makefile.am instead of Makefile - file INSTALL doesn't show clearly the steps of compiling What are these 2 files, Makefile.in and... (2 Replies)
Discussion started by: eddie
2 Replies
Login or Register to Ask a Question
MAKEDELTARPM(8) 					      System Manager's Manual						   MAKEDELTARPM(8)

NAME
makedeltarpm - create a deltarpm from two rpms SYNOPSIS
makedeltarpm [-v] [-V version] [-z compression] [-s seqfile] [-r] [-u] oldrpm newrpm deltarpm makedeltarpm [-v] [-V version] [-z compression] [-s seqfile] [-u] -p oldrpmprint oldpatchrpm oldrpm newrpm deltarpm DESCRIPTION
makedeltarpm creates a deltarpm from two rpms. The deltarpm can later be used to recreate the new rpm from either filesystem data or the old rpm. Use the -v option to make makedeltarpm more verbose about its work (use it twice to make it even more verbose). If you want to create a smaller and faster to combine "rpm-only" deltarpm which does not work with filesystem data, specify the -r option. makedeltarpm normally produces a V3 format deltarpm, use the -V option to specify a different version if desired. The -z option can be used to specify a different compression method, the default is to use the same compression method as used in the new rpm. The -s option makes makedeltarpm write out the sequence id to the specified file seqfile. If you also use patch rpms you should use the -p option to specify the rpm-print of oldrpm and the created patch rpm. This option tells makedeltarpm to exclude the files that were not included in the patch rpm but are not byteswise identical to the ones in oldrpm. makedeltarpm can also create an "identity" deltarpm by adding the -u switch. In this case only one rpm has to be specified. An identity deltarpm can be useful to just replace the signature header of a rpm or to reconstruct a rpm from the filesystem. SEE ALSO
applydeltarpm(8) combinedeltarpm(8) AUTHOR
Michael Schroeder <mls@suse.de> Feb 2005 MAKEDELTARPM(8)