A spec file is simply a configuration script for building the binary into an rpm.
on late RH systems you do like rpmbuild -ba specfile (i think those are the correct flags.) After you put the tarballgz file in /usr/src/redhat/SOURCES and the spec file in /usr/src/redhat/SPECS In the /usr/src/redhat/RPMS directory you should see your rpm which you can then install. You can edit the spec file and add/delete whatever flags you needs to pass to the configure script if you need to adjust those.. Sean On Tue, 24 Jun 2003, Dave Mason wrote: > Hi, > I just noticed the redhat directory and the spec file inside. What's a > spec file? I checked the FAQ and doc directory but didnt see anything. > I'm guessing it's input to some other tool which could be useful in a > production environment? > > Dave > > Oliver Graf wrote: > > >On Mon, Jun 23, 2003 at 01:23:36PM -0700, Alex Chen wrote: > > > > > >>> If I just run ./configure and make, I am not doing anything special. > >>> > >>> I think most people will just do that. > >> > >> > > > >And the other side around: attached is my spec file. it kills ldap, > >cause I don't need it. And it lists very little deps (rpm will try > >hard to find a few, but they won't be redhat/mandrake/suse compliant, > >I think. > > > >As you can see, this is simply the mandrake freeradius 0.8.1 spec file > >tuned to my needs. > > > >Oliver. > > > > > > > > > > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
