Re: building rpm from tar.gz od bz2

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

 



On Wed, 31 Mar 2004 15:40:40 +0200
Michal Zeravik <michalz@xxxxxxxxxxx> wrote:

> Hi to all,
> 
> I red in rpmbuild manual It's possible to build
> binary package from tar archive.
> All I need is to pass right arguments to ./configure script,
> make and build rpm package.
> Does exist any simple way to do it without spec file?
> For example build rpm after make.

Not really -- unless the developer provided such a rule on the app's
Makefile. However, AFAICS providing the spec file would be the easiest
way.

If you tarball has a spec file, you can build binary (and source) RPMs
directly from the tarball with the -ta parameter:

rpm -ta tarball

spec files for trivial cases are not hard to write, check Matthias
Saou's excellent docs at http://freshrpms.net/docs/fight/. Also, don't
forget to check the mandatory reference MaximumRPM
[http://www.rpm.org/max-rpm/]

HTH

Andre

-- 
Andre Oliveira da Costa



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

  Powered by Linux