Results 1 to 3 of 3

Thread: Step by step HOWTO build an rpm

  1. #1
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Step by step HOWTO build an rpm

    Hello building experts

    I am quite familiar with compiling applications from source. I have done so a few times for an application named j-chkmail which I found here: Index of /download

    This is a milter working with postfix or sendmail (in my case sendmail). It provides greylisting and a bunch of other nice features. As I have this running on different servers I would like to build an rpm for this application.

    So far I have read (and reread ...) the SUSE Build Tutorial. Found it quite confusing for someone who is new to this. I have installed 'osc' and 'build'. I understand that my first step would be to build locally. Are you willing to talk me through this process?

  2. #2

    Default Re: Step by step HOWTO build an rpm

    One of the starting points can be here:

    Maximum RPM

    There are lots of tutorials found with


    Building RPMs - google search


    Taking a look at the specs (extracted from src.rpms) of well known packager's work is another good way of learning.

  3. #3

    Default Re: Step by step HOWTO build an rpm

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I'm sure somebody who has finished everything completely can help you more
    but once you build locally I believe the only thing left is to complete
    the spec file. I've done most of that and had OBS work mostly but the
    part I have not completed (lack of time) is specifying in the spec file
    the files that need to be bundled in the RPM. If you can figure that part
    out feel free to steal the other data from my own repository on the OBS
    server. It's fairly simplistic but that's the part missing. SPEC files
    govern the creation of the RPM so they need to specify which files make it
    to the RPM after the build is complete (binaries, libraries, configuration
    files, etc.).

    Good luck.





    vodoo wrote:
    > Hello building experts
    >
    > I am quite familiar with compiling applications from source. I have
    > done so a few times for an application named j-chkmail which I found
    > here: 'Index of /download' (http://www.j-chkmail.org/download/)
    >
    > This is a milter working with postfix or sendmail (in my case
    > sendmail). It provides greylisting and a bunch of other nice features.
    > As I have this running on different servers I would like to build an rpm
    > for this application.
    >
    > So far I have read (and reread ...) the SUSE Build Tutorial. Found it
    > quite confusing for someone who is new to this. I have installed 'osc'
    > and 'build'. I understand that my first step would be to build locally.
    > Are you willing to talk me through this process?
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJKvOt1AAoJEF+XTK08PnB5nFEQAJWxTzbtIrO5/cefekJyyhKw
    rOiiorOV4ozCqW1zWCG9PHympEeedZW9qM0i4QgaU3uzRenPP59O7SpOBEBGUVEa
    vm68s0HSheH/iDyEDdy7yWBMncyO7/1KXEJyC3Hu4D1yi2N7j4L/EbfWZ6e26+1e
    HhKjVOreTdGgCQ6qxOPGlbCxqmVgl2zLlOVAMrt3LbIlYyvruTBYLnXF6QspNYoU
    dX6JwFENH66Yl1oFymHSdEYEERTjMFmapOESNjM7rhRK84rz1kJS3KrEH7lsVYru
    F6GgQEIe7N+HkFhUipW7q+UhCQ6We9irEiiyaEPQTLDz3MBa24afdzAxVwyf4zyY
    DL3+xjB2ANkWdGaxUYGSFgiGSZYcBKX037rzxDQJFDaSoQ+EU9oqY1HDV1m8KfZs
    +3YNkFyCpZpDiaXuNei7kW89tD9SMHI3/M0avkjsC2P71Aynr36Qf6DQzVdfNSIl
    FzCo2h/twfEZZW+SMFEIK2nk4OHZC0dzoPzi1a3SDCpwamiv1TPDJaftB61CNv6B
    9K7GZ4BgXwSd2o6fuOmGhVmEC/zOpm3VDkRSnssbS+ixE+Oa0uKOdKWTLyOwghA/
    RGZl7nyddBJpitatjLQx7zIwXptqfUWTn3sU2njxwggjr+89uJlkO9Hwnmd2aSg4
    7Fb5hPfmM69QaffWVZZs
    =Wpxp
    -----END PGP SIGNATURE-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •