forked from dogtagpki/idm-console-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathidm-console-framework.spec
More file actions
executable file
·91 lines (71 loc) · 3.14 KB
/
Copy pathidm-console-framework.spec
File metadata and controls
executable file
·91 lines (71 loc) · 3.14 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
################################################################################
Name: idm-console-framework
################################################################################
Summary: Identity Management Console Framework
URL: http://www.dogtagpki.org/
License: LGPLv2
BuildArch: noarch
Version: 1.2.0
Release: 1%{?_timestamp}%{?_commit_id}%{?dist}
# global _phase -a1
# To create a tarball from a version tag:
# $ git archive \
# --format=tar.gz \
# --prefix idm-console-framework-<version>/ \
# -o idm-console-framework-<version>.tar.gz \
# <version tag>
Source: https://github.com/dogtagpki/idm-console-framework/archive/v%{version}%{?_phase}/idm-console-framework-%{version}%{?_phase}.tar.gz
# To create a patch for all changes since a version tag:
# $ git format-patch \
# --stdout \
# <version tag> \
# > idm-console-framework-VERSION-RELEASE.patch
# Patch: idm-console-framework-VERSION-RELEASE.patch
################################################################################
# Build Dependencies
################################################################################
# autosetup
BuildRequires: git
BuildRequires: java-devel >= 1.8.0
BuildRequires: ant >= 1.6.2
BuildRequires: jss >= 4.5.0-1
BuildRequires: ldapjdk >= 4.20.0
################################################################################
# Runtime Dependencies
################################################################################
# Urge use of OpenJDK for runtime
Requires: java >= 1.8.0
Requires: jss >= 4.5.0-1
Requires: ldapjdk >= 4.20.0
%description
A Java Management Console framework used for remote server management.
################################################################################
%prep
################################################################################
%autosetup -n idm-console-framework-%{version}%{?_phase} -p 1 -S git
################################################################################
%build
################################################################################
%{ant} \
-Dlib.dir=%{_libdir} \
-Dbuilt.dir=`pwd`/built \
-Dclassdest=%{_javadir}
################################################################################
%install
################################################################################
install -d $RPM_BUILD_ROOT%{_javadir}
install -m644 built/release/jars/idm-console-* $RPM_BUILD_ROOT%{_javadir}
################################################################################
%files
################################################################################
%doc LICENSE
%{_javadir}/idm-console-base.jar
%{_javadir}/idm-console-mcc.jar
%{_javadir}/idm-console-mcc_en.jar
%{_javadir}/idm-console-nmclf.jar
%{_javadir}/idm-console-nmclf_en.jar
################################################################################
%changelog
* Thu Aug 09 2018 Dogtag PKI Team <pki-team@redhat.com> 1.2.0-0
- To list changes in <branch> since <tag>:
$ git log --pretty=oneline --abbrev-commit --no-decorate <tag>..<branch>