06-23-2006
How to Write RPM
Hi All,
Could anyone here tell me abt RPM?
How to use this? I want to write it for making a build ?
also tell me how to write installation file?
Thanks,
Kammy
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an application for linux writen by me. and before use it, I have to install it. I 've writen a shell program to install it. Now how can I turn it to the *.rpm ? Is this can done by shell command rpm? How to do it?
thanks (1 Reply)
Discussion started by: murataht
1 Replies
2. Linux
Hey,
I've a problem installing a package. rpm -ivh brings the errors:
libjvm.so is needed by
libverify.so is needed by
But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them.
I have also... (2 Replies)
Discussion started by: mod
2 Replies
3. Linux
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
4. SuSE
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
5. Shell Programming and Scripting
I need to find all the files that have group Read or Write permission or files that have user write permission.
This is what I have so far:
find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}'
It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies
6. Shell Programming and Scripting
It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from:
/home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'.
I can't get the awk syntax right:
awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies
7. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
8. Shell Programming and Scripting
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
9. AIX
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. Shell Programming and Scripting
Hi All,
I need the answer of below question?
1) How to write multiple cronjobs in shellscript? Is there any way or we cant write in shellscript...
Regards,
Priyanka (2 Replies)
Discussion started by: pspriyanka
2 Replies
LEARN ABOUT DEBIAN
gpt-pkg
GPT-PKG(8) User Contributed Perl Documentation GPT-PKG(8)
NAME
gpt-pkg - Creates flavored binary packages out of an installation
SYNOPSIS
gpt-pkg [options] packages
Options:
-verbose Print copious output
-help Print usage
-man Print man page.
-version Print GPT version.
-native Create native pkgs as well as GPT pkgs (RPMs only).
-all Archive everything in the package directory..
-installdir=PATH Override $GLOBUS_LOCATION
-pkgdir=PATH Directory to put the packages
-rpmprefix=PATH Absolute path encoded in the RPM.
-buildnumber=NUMBER Build number used for pgm_static packages
-rpmlicense=LABEL License Label added to the RPM header
[packages] List of packages to be archived
DESCRIPTION
gpt-pkg Creates binary packages from an installation. The installation needs to contain GPT packaging data files. An installation is
created by running gpt-build on a collection of source packages or bundles.
FILES IN PGM PACKAGES
Installed files such as executables that are found in pgm and ptm_static packages will overwrite one another when multiple flavors of the
same package are built by gpt-build. To preserve multiple flavors of these files, gpt-build copies them into flavored subdirectories. For
example, the program $GLOBUS_LOCATION/bin/foo will be copied into the location $GLOBUS_LOCATION/bin/gcc32/shared if it was built with
dynamically with the gcc32 flavor. gpt-pkg retrieves these files and copies them back to their proper location before packaging them.
Thus gpt-pkg will also overwrite these files as it archives the different flavors of a pgm package.
OPTIONS
-installdir
Specify the directory in which the installed files currently live. If this argument is not supplied, the value of the environment
variable GLOBUS_LOCATION is used instead.
-all Packages all of the binaries in an installation.
-native Creates a package in the native packaging format. Currently only rpm is supported.
-rpmprefix=<path_to_installation>
This should be set to the path to your GLOBUS_LOCATION. GPT will use a value of "/usr/grid" if this option is not specified.
-rpmlicense=<label>
Provides an alternate copyright label for the rpms. The default is whatever GPT was configured with.
-verbose
Prints out all of the build messages.
-log=FILE
Appends all of the build messages to FILE. This option also sets -verbose.
-help Print a brief help message and exits.
-man Prints the manual page and exits.
-version
Prints the version of GPT and exits.
pgm and pgm_static packages
gpt-build copies the files for these packages in a flavored location because different flavors of these types of packages will conflict
with each other. gpt-pkg restores these files when it packages pgm and pgm_static types.
SEE ALSO
gpt-bundle(8) gpt-install(8) gpt-build(8)
AUTHOR
Michael Bletzinger <mbletzin.ncsa.uiuc.edu> and Eric Blau <blau.mcs.anl.gov>
perl v5.14.2 2012-04-30 GPT-PKG(8)