forked from pquiring/javaforce
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjavaforce.spec
More file actions
executable file
·40 lines (29 loc) · 769 Bytes
/
Copy pathjavaforce.spec
File metadata and controls
executable file
·40 lines (29 loc) · 769 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Buildroot: /.
Name: javaforce
Version: 11.2.0
Release: 1
Summary: JavaForce Core Library
License: LGPL
Distribution: Fedora
Group: Applications/System
Requires: java-1.8.0-openjdk, jsch, jzlib, jcifs, fuse, fuse-libs, fuseiso, libcdio
%define _rpmdir ../
%define _unpackaged_files_terminate_build 0
%description
JavaForce Core Library
%post
#!/bin/sh
set -e
if [ $1 = "1" ]; then
update-alternatives --install /usr/bin/update-desktop-database update-desktop-database /usr/bin/jf-update-desktop-database 100
fi
%pre
#!/bin/sh
mkdir -p /usr/share/jhelp
%preun
#!/bin/sh
if [ $1 = "0" ]; then
update-alternatives --remove update-desktop-database /usr/bin/jf-update-desktop-database
fi
%files