Re: spec file for rpms

Tony Placilla <aplacilla@xxxxxxx>
Sr. UNIX Systems Administrator
The Sheridan Libraries
Johns Hopkins University

On Mon, Sep 22, 2008 at 2:03 PM, in message
<200809221403.50389.john@xxxxxxxxxxxxxxx>, John Aldrich
On Monday 22 September 2008, David Hláčik wrote:
Hi guys,

i am new at this.

I want to make a rpm from a program source. It does not contain rpm
file by default so i need to create one.

Is there any way to make creation of spec files easier? some tools
etc ...

David, I know it's not going to be much help, but there *are* tools
to take
tarball and create an RPM from that. It's very much specific to your

so it wouldn't help to make it work on another machine, but for the

of keeping your installs clean, etc, it's very useful. Unfortunately
it's been so long since I've done anything, I've long since forgotten
those utils are, so you'll have to hope someone out there has a
than I! :-)

One fairly good one is CheckInstall

it's available from Dag's repo or

yum info checkinstall

Available Packages
Name : checkinstall
Arch : i386
Version: 1.6.0
Release: 3.el5.rf
Size : 82 k
Repo : rpmforge
Summary: CheckInstall installations tracker
CheckInstall keeps track of all the files created or modified by your
installation script ("make install" "make install_modules", "setup",
etc), builds a standard binary package and installs it in your system
giving you the ability to uninstall it with your distribution's
standard package management utilities.

fedora-list mailing list
To unsubscribe:

Relevant Pages

  • Re: Anjuta2.2
    ... Uh, if you do checkinstall, then you don't need `make install` and the ... see if an "Official" rpm package will come out soon. ...
  • Re: [SLE] How do I build RPMs for SuSE?
    ... >>Only if you are unwilling or unable to understand rpm spec files and the ... >>libtool etc.) should you use a super cluge like checkinstall. ... >>package so that you don't install into the running system when you build ...
  • checkinstall type utility for binary distributions
    ... I've recently discovered the 'checkinstall' utility for creating an rpm (or ... deb) package from source distributed in a tarred format. ... but will operate on a binary package. ...
  • Re: Question about CheckInstall
    ... Does it work with Suse 8.2? ... Checkinstall produces packages for RPM, ... > (which uses RPM for package management), you set it to produce an RPM ...
  • Re: uninstall
    ... I recently purchased a book on RPM and how to ... :) thank you for your advice anyways. ... >>You might want to look at a program called CheckInstall. ... >package things correctly, if you plan to maintain a package for other ...