Generating rpm spec from autoconf/automake packages for Fedora

Didier Casse didierbe at sps.nus.edu.sg
Wed Jun 16 06:46:31 UTC 2004


Dear All,
         I am trying to convert some autonconf/automake packages or
libraries to rpms. Well to generate the spec, fitting
the

-------------
./configure
make
make install
-------------

is straightforward! But the autoconf packages install lots of files around
the system.

So the problem lies in dealing with the part:

%files
%defattr(-,root,root)
%{_bindir}/
%{_libdir}/lib*
%doc AUTHORS
%doc COPYING
%doc README


where we have to specify all the files that have been installed. Since the
autoconf/automake packages have not been made by me, I do not know which
files are being installed and I have to do everytime  a "make install" to
watch which files are being installed!

Now is there a way to convert all these autoconf/automake packages
directly to rpms or is there a systematic/automated system to know which
files are being installed and fit directly in the specs?

Now bear in mind that there are several of these packages and it would be
tedious compiling and looking at one by one to know which files is being
installed and the name of the files and location can change anytime. These
packages weren't created by me so I have no control over them! Thanks for
any kind help.

With kind regards,

Didier.

---
PhD student.

Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: didierbe at sps dot nus dot edu dot sg

Web: http://ssls.nus.edu.sg







More information about the fedora-devel-list mailing list