I have a binary Java run.jar
file, a bash script run.sh
which executes run.jar
via java -jar
.
- In my environment (
~/rpmbuild/
), where do I have to put those two files? Where do I have to put the source file? (I guess I should compress the source as.tar.gz
)
How can I write the spec file to:
- Make directory
~/bin/my-package
; - Copy
run.jar
andrun.sh
to above directory;
That's all I want. Would you please help me a little?
Thanks for your time.
P.S: I went through this how-to. Unfortunately I'm newbie in this, I couldn't find the solution.