On Wed, Aug 16, 2000 at 07:17:30AM -0400, Mike A. Harris wrote: [...] > The installation of binary application packages is for the > purpose of running software, documenting how to use that > software, and it's configuration files. it seems like you ignore the most important point from my post: something like 'README.redhat' doesn't exist and i needed for some packages. the spec would be a good start... for instance, did you know that squid is built whithout 'delay-pools'? which are parameters used in './configure' for php3, apache etc? [...] > I think I see the problem more properly now. You want the .spec > file from a particular .src.rpm package, and you don't want to > have to download that entire package. at last... > Or better yet, take all the .spec's and put them in one big > tarball to download, or heck - even an RPM. > > rpm -ivh specs-6.2.i386.rpm very good ideea! > > Now you just need someone out there that has all the srpm's to > make you an RPM containing them all... Hmm.. I have them > all.. ;o) I know how to extract them.... see attached file [...] > Should the specs .spec get included in the > specs spec directory for the specs rpm of specs? no, in a separate directory, like /usr/doc/rh-specs [...] > Really though... trust me... get Maximum RPM. believe me/us. i/we know how to make rpms. and brw, that book is obsoletes -- ___ <o-o> Viorel ANGHEL <[EMAIL PROTECTED]> [`-'] -"-"- In Linux We Trust.
#!/bin/sh # Viorel Anghel <vang @ auctionwatch.ro> DESTDIR=/tmp/SPECS tempfile=temp_get_specs.cpio if [ $# -ne 1 ] then echo " extract SPECS from all '*.src.rpm' (into $DESTDIR)" echo " require one argument: directory to scan" echo " for example: $0 /mnt/cdrom" echo " or: $0 ." exit 1 else # try to get an ABSOLUTE path name # we need that because we'll cd into $destdir and run 'find' from there sourcedir=`(cd $1 || exit 2 ; pwd)` fi mkdir -p $DESTDIR || exit 3 cd $DESTDIR || exit 4 # the argument list might be too long for 'for i in *.rpm' find $sourcedir -name '*.src.rpm' -print | while read file do echo $file rpm2cpio $file > $tempfile cpio --extract '*.spec' < $tempfile done rm $tempfile