Results 1 to 2 of 2

Thread: How to build a source rpm?

  1. #1

    Default How to build a source rpm?

    Being in my last high school year I wrote a software in Java for Linux. It is a GUI for Btrfs called TimeTraveler. I want to package it in a source rpm. I read some pages on the web but I don't manage the tasks to good. I was wondering if someone could help me with the issue of packaging it for me or teach me how to do it. What should I write to the .spec file? Being written in Java all I have are some Java packages that I want to archive in a jar file and copy the jar file along with a icon and a .desktop file that's it. But again I don't know how to do that.
    The code: https://github.com/stoiandan/TimeTraveler



    I have for now a binary debian package If you want to take a look at the software I have a video on vimeo: https://vimeo.com/119344057

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,661
    Blog Entries
    15

    Default Re: How to build a source rpm?

    On Sat 14 Feb 2015 11:46:01 AM CST, danielmihaistoian wrote:


    Being in my last high school year I wrote a software in Java for Linux.
    It is a GUI for Btrfs called TimeTraveler. I want to package it in a
    source rpm. I read some pages on the web but I don't manage the tasks to
    good. I was wondering if someone could help me with the issue of
    packaging it for me or teach me how to do it. What should I write to the
    ..spec file? Being written in Java all I have are some Java packages that
    I want to archive in a jar file and copy the jar file along with a icon
    and a .desktop file that's it. But again I don't know how to do that.
    The code: https://github.com/stoiandan/TimeTraveler



    I have for now a binary debian package If you want to take a look at
    the software I have a video on vimeo: https://vimeo.com/119344057


    Hi
    I'm guessing you use ant to compile?

    Here is an example;
    https://build.opensuse.org/package/v....spec?expand=1

    In your github project you would need to add the desktop file or build
    on the fly in the spec file with a macro (BuildRequires
    update-desktop-files and);
    https://en.opensuse.org/openSUSE:Pac...e_desktop_file

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.36-38-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


Tags for this Thread

Posting Permissions

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