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

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux