Re: Program to produce spec files

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

 



Paul Smith wrote:
Dear All

I am trying to learn how to build a rpm from the tarball without
checkinstall, and I am wondering whether there is already a program to
produce a tentative spec file to be afterwards changed and corrected
by the packager. Maybe a program like the one that I describe here
would increase the productivity of packager. Is there such a program?

Thanks in advance,

Paul


Many times I just use the template at http://www.rpm.org/howto/thefight/ and go from there. It has worked for pretty much every RPM I've ever had to build.

To find out what the list of files is, I usually do the standard dance of:

./configure --prefix=/usr
make
make install DESTDIR /var/tmp/foo

then I do

cd /var/tmp/foo
find . -type f | sed "s/^\.//" >> /path/to/specfile

Go back and move the files into the right section of the spec file you are creating and then go to town.

Thomas


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux