Re: Building RPMs from tarballs



Adrian Hosey wrote:
> What are you getting? Do you see the source tree get unpacked and
> compiled? Does it say "packaging blah blah..." towards the end? If so
> you probably got some RPMS somewhere.

The source tree does get unpacked and compiled (which is one reason it
takes me so long to try suggestions :^) ).  Here is the final output
from 'rpm -bb gnome-core.spec' --

(... lots of compiling output ...)
mkdir /var/tmp/gnome-core-root/usr/share/idl
/usr/bin/install -c -m 644 ./gnome-panel.idl
var/tmp/gnome-core-root/usr/share/idl/gnome-panel.idl
/usr/bin/install -c -m 644 ./help-browser.idl
/var/tmp/gnome-core-root/usr/share/idl/help-browser.idl
make[2]: Leaving directory
`/usr/src/redhat/BUILD/gnome-core-0.99.5.1/idl'
make[1]: Leaving directory
`/usr/src/redhat/BUILD/gnome-core-0.99.5.1/idl'
make[1]: Entering directory `/usr/src/redhat/BUILD/gnome-core-0.99.5.1'
make[2]: Entering directory `/usr/src/redhat/BUILD/gnome-core-0.99.5.1'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-core-0.99.5.1'
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnome-core-0.99.5.1'
+ exit 0
Processing files: gnome-core
File not found: /var/tmp/gnome-core-root/usr/share/locale/*/*/*
Executing: %doc
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd gnome-core-0.99.5.1
+ DOCDIR=/var/tmp/gnome-core-root/usr/doc/gnome-core-0.99.5.1
+ export DOCDIR
+ rm -rf /var/tmp/gnome-core-root/usr/doc/gnome-core-0.99.5.1
+ /bin/mkdir -p /var/tmp/gnome-core-root/usr/doc/gnome-core-0.99.5.1
+ cp -pr AUTHORS COPYING ChangeLog NEWS README
/var/tmp/gnome-core-root/usr/doc/gnome-core-0.99.5.1
+ exit 0
Prereqs: /sbin/install-info /sbin/ldconfig
Requires: xscreensaver gnome-libs ORBit
Processing files: gnome-core-devel
Finding provides...
Finding requires...
Prereqs: /sbin/install-info
Requires: gnome-core
#

No RPM file is created under /usr/src/redhat/RPMS --

$ ls /usr/src/redhat/RPMS/*   
/usr/src/redhat/RPMS/i386:

/usr/src/redhat/RPMS/noarch:
$ 

> Usually they go in /usr/src/redhat/RPMS/<archdir> unless you tell it
> otherwise. Also, the _RPM_ does not get installed on your system from
> a "-ba" even though the _software_ does get installed. This is an
> important distinction.

???  So, there's a 'make install' as part of the process?

I was hoping to bundle an RPM for a 'rpm -Uvh' of a package already
on my system (I have gnome-core-0.99.3.2-2 already installed).  Is this
the way to go?


Zach



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]