Find the answer to your Linux question:
Results 1 to 6 of 6
Hi everybody, I developed a small application using Java. I want to distribute it as a RPM or a binary package. How to create our own RPM / binary package...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Location
    Bangalore, India
    Posts
    20

    How to create RPM / binary packages


    Hi everybody,
    I developed a small application using Java. I want to distribute it as a RPM or a binary package. How to create our own RPM / binary package

  2. #2
    Just Joined!
    Join Date
    Jan 2005
    Location
    Bangalore India
    Posts
    28

    Re: How to create RPM / binary packages

    Well you cantry googing and find something about the RPM Build System or how to create RPMS. It easy. U will have to create a spec file for that.

    JUst google

    Quote Originally Posted by Senthilkumar Rajendran
    Hi everybody,
    I developed a small application using Java. I want to distribute it as a RPM or a binary package. How to create our own RPM / binary package

  3. #3
    Linux User Game master pro's Avatar
    Join Date
    Sep 2005
    Location
    Tasmania, australia
    Posts
    274

  4. #4
    Just Joined!
    Join Date
    Sep 2004
    Posts
    18
    get some src.rpm file
    install it
    chdir to /usr/src/redhat/SPECS dir
    rename spec and edit it
    put your sources in /usr/src/redhat/SOURCES dir

    and... rpmbuild -ba --target (for example) i686 [your_app_name].spec
    you will get
    /usr/src/redhat/RPMS/i686/[your_app_name]-[release].i686.rpm and
    /usr/src/redhat/SRPMS/[your_app_name]-[release].src.rpm

  5. #5
    Just Joined!
    Join Date
    Sep 2005
    Location
    Bangalore, India
    Posts
    20
    Hi ,

    Thank you for your replies.

  6. #6
    Just Joined!
    Join Date
    Oct 2008
    Posts
    1
    This should be helpful: Hanumant’s Java Workshop

Posting Permissions

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