12-16-2010
Where are you putting that code ? In the "preinstall" section ?
Also instead of the above script, you could just define that dir in the spec file and get the rpm to create it. If its created by another package (rpm -qf /dir), then name that package in the "requires" list in the spec file.
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. Shell Programming and Scripting
Hi everyone
I have just joined a software developing team. I am new to unix. Basically
we are developing a product, the problem is when the end user will install this package we would like to install the datbase associated with our product using RPM.
Can it be done?
how secure it is?
and... (0 Replies)
Discussion started by: atul.saxena
0 Replies
4. UNIX for Dummies Questions & Answers
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 (1 Reply)
Discussion started by: kjannu
1 Replies
5. 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
6. 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
7. 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
8. Programming
Hello,
I want to read a rpm database through my program in c ,I searched for it and found there is one library openly available that is rpmlib thorugh which we can access rpm databse but I want to use it from windows is it possible to read one rpm database from windows,I want to read the... (4 Replies)
Discussion started by: pradiptart
4 Replies
9. AIX
Hello,
I was trying to install python on aix and it was taking too long and I closed the terminal.
Now when i issue the command rpm -qa instead of getting all the rpms installed I'm getting the following error.
root:stud -> $ rpm -qa
cannot get shared lock on database
rpmQuery: rpmdbOpen()... (2 Replies)
Discussion started by: gaugeta
2 Replies
10. 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
TAP2RPM(1) TAP2RPM(1)
NAME
tap2rpm - create RPM packages which wrap .tap files
SYNOPSIS
tap2rpm [options]
DESCRIPTION
Create a set of RPM/SRPM packages in the current directory
-u, --unsigned
do not sign the RPM package
-t, --tapfile <tapfile>
Build the application around the given .tap (default twistd.tap)
-y, --type <type>
The configuration has the given type . Allowable types are tap, source, xml and python. The first three types are mktap(1) output
formats, while the last one is a manual building of application (see twistd(1), the -y option).
-p, --protocol <protocol>
The name of the protocol this will be used to serve. This is intended as a part of the description. Default is the name of the tap-
file, minus any extensions.
-d, --rpmfile <rpmfile>
The name of the RPM package. Default is 'twisted-'+protocol.
-V, --set-version <version>
The version of the RPM package. The default is 1.0
-e, --description <description>
The one-line description. Default is uninteresting.
-l, --long_description <long_description>
A multi-line description. Default is explanation about this being an automatic package created from tap2rpm.
-m, --maintainer <maintainer>
The maintainer, as "Name Lastname <email address>". This will go in the meta-files, as well as be used as the id to sign the pack-
age.
--version
Output version information and exit.
AUTHOR
tap2rpm was written by Sean Reifschneider based on tap2deb by Moshe Zadka. This man page is heavily based on the tap2deb man page by Moshe
Zadka.
REPORTING BUGS
To report a bug, visit http://twistedmatrix.com/bugs/
COPYRIGHT
Copyright (C) 2000-2008 Twisted Matrix Laboratories.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
mktap(1)
July 2001 TAP2RPM(1)