Find the answer to your Linux question:
Results 1 to 2 of 2
Is there a way to build RPM after the ./configure script or the make process?...
  1. #1
    Just Joined!
    Join Date
    Sep 2006
    Location
    Hyderabad, Pakistan
    Posts
    5

    Building RPM

    Is there a way to build RPM after the ./configure script or the make process?

  2. #2
    Just Joined!
    Join Date
    May 2009
    Posts
    6
    Yes.

    I am assuming you are using rpmbuild with SPEC files.

    I tar up the directory where the make install put stuff. I list that as one of my source files, and I put it in src/SOURCES, of course.

    I run %setup in %prep as normal.

    I have nothing in %build. It's already built!

    In %install, I copy everything from $RPM_BUILD_DIR to $RPM_BUILD_ROOT.

    Fill out %files as normal.

    That should be enough to get you started.

Posting Permissions

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