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
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/view_file/home:malcolmlewis:Miscellanous/cambozola/cambozola.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:Packaging_Conventions_RPM_Macros#.25suse_update_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!