Sponsored Content
Full Discussion: Help needed to build an RPM?
Top Forums UNIX for Advanced & Expert Users Help needed to build an RPM? Post 302148237 by platso on Friday 30th of November 2007 10:06:27 AM
Old 11-30-2007
Help needed to build an RPM?

I use Fedora Core 6.

->Our application has a Binary file and few .SO files.
So i would like to build an RPM FILE for this with
.SPEC file.

->Even i need to set some Envirnoment variables.


Can any one give me the steps to Build an RPM?(A bit more clearly please as I am very new to Linux)
 

10 More Discussions You Might Find Interesting

1. HP-UX

Urgent Help needed for Installing RPM on HP-UX

I am working on a HP-UX PARISC 64 architecture. I am trying to install RPM but without success. Has any body successfully installed RPM on the above architecture. I couldnt find a compatible depot file. I tried to compile the source code for rpm-4.0 package. All the dependencies are... (3 Replies)
Discussion started by: sjcekk
3 Replies

2. Red Hat

rpm needed

Dear all i want to install oracle10g on Red Hat Advance Server 3 the following are the required rpm for oracle software compat-db-4.0.14-5.1 compat-gcc-7.3-2.96.128 compat-libstdc++-7.3-2.96.128 compat-gcc-c++-7.3-2.96.128 compat-libstdc++-devel-7.3-2.96.128 setarch-1.3-1 ... (0 Replies)
Discussion started by: maooah
0 Replies

3. 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

4. UNIX for Advanced & Expert Users

Recompile openssh and build an rpm

I am needing to recompile openssh to hide the ssh banner which I found I can do in the version.h. I know.. I know, but its a requirement of some dumb security company so the company I work for can get their blessing. Anyway. I am going to upgrade in the process and have downloaded the source... (2 Replies)
Discussion started by: creedog
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. Linux

rpm build errors pls help

i am trying to create rpm pacakage from hello world source code. after running rpmbuild -bs test.spec file i am successfully getting test-1-1.src.rpm package inside the /usr/src/redhat/SRPMS But after running rpmbuild -ba test.spec i am not getting test-1-1.i386.rpm binary package ... (1 Reply)
Discussion started by: anand121
1 Replies

7. Shell Programming and Scripting

build rpm with SPEC file for packaging .jar and some .sh files..

Good day people, Hereby wish to have your advise for below: I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system. My current scenario: i trigger... (1 Reply)
Discussion started by: cielle
1 Replies

8. Red Hat

Build Rpm package

Hi Everybody, I would like to know how to build an RPM package. Could you please let me know how to do it with the procedure. Regards, Mastan (1 Reply)
Discussion started by: mastansaheb
1 Replies

9. 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

10. Red Hat

RPM Install error: libc.so.6 is needed by

I have an application rpm which when installed is failing to get installed with error error: Failed dependencies: libc.so.6 is needed by testSam-4.7.x86_64 libc.so.6(GLIBC_2.0) is needed by testSam-4.7.x86_64 libc.so.6(GLIBC_2.1) is needed by testSam-4.7.x86_64 ... (1 Reply)
Discussion started by: rupeshkp728
1 Replies
GLOBUS-SPEC-CREATOR(1)					User Contributed Perl Documentation				    GLOBUS-SPEC-CREATOR(1)

NAME
globus-spec-creator - Generate an RPM spec file from a GPT source package description SYNOPSIS
globus-spec-creator [options] [patches ...] Options: -gptfile filename The package's GPT source package description file (mandatory) -setupfile filename The corresponding setup package's GPT source package description file (default: none) -release releasenumber The RPM release number (default: 1) -directory directory The package's source directory in the toolkit installer -toolkitversion versionnumber Globus toolkit version (default: 5.2.1) -email emailaddress The packagers e-mail address (default: username@hostname) -nodoc Disable the generation of the doc RPM -help Show help Arguments: Each additional argument will be added as a patch in the generated specfile. EXAMPLE
globus-spec-creator -g globus_common-10.2/pkgdata/pkg_data_src.gpt.in -s globus_common_setup-2.6/pkgdata/pkg_data_src.gpt.in -r 3 -d common/source SEE ALSO
See http://fedoraproject.org/wiki/PackagingDrafts/Globus for additional information and examples. AUTHOR
Mattias Ellert <mattias.ellert@fysast.uu.se> perl v5.14.2 2012-05-02 GLOBUS-SPEC-CREATOR(1)
All times are GMT -4. The time now is 10:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy