-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathovirt-engine-extension-aaa-misc.spec.in
99 lines (72 loc) · 2.6 KB
/
ovirt-engine-extension-aaa-misc.spec.in
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
92
93
94
95
96
97
98
99
%global make_common_opts \\\
PREFIX=%{_prefix} \\\
SYSCONF_DIR=%{_sysconfdir} \\\
DATAROOT_DIR=%{_datadir} \\\
DESTDIR=%{buildroot} \\\
PACKAGE_VERSION=%{version} \\\
PACKAGE_DISPLAY_NAME=%{name}-%{version}-@RELEASE@ \\\
%{nil}
Name: ovirt-engine-extension-aaa-misc
Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: oVirt Engine AAA Misc Extension
Group: %{ovirt_product_group}
License: ASL 2.0
URL: http://www.ovirt.org
Source: %{name}-%{version}.tar.gz
# We need to disable automatic generation of "Requires: java-headless >= 1:11"
# by xmvn, becase JDK 11 doesn't provide java-headless artifact, but it
# provides java-11-headless.
AutoReq: no
BuildArch: noarch
BuildRequires: java-11-openjdk-devel
BuildRequires: make
BuildRequires: maven-local
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(javax.servlet:javax.servlet-api)
BuildRequires: mvn(org.ovirt.engine.api:ovirt-engine-extensions-api)
BuildRequires: mvn(org.slf4j:slf4j-api)
# Required because of old xmvn version in COPR
BuildRequires: maven
Requires: java-11-openjdk-headless >= 1:11.0.0
Requires: javapackages-filesystem
Requires: ovirt-engine-extensions-api
Requires: slf4j
%description
This package contains miscelaneous oVirt Engine AAA Extensions to provide
features necessary for example to Kerberos or OpenID Connect integrations.
%prep
%setup -c -q
%build
# Necessary to override the default for xmvn, which is JDK 8
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
make %{make_common_opts} generate-files
%mvn_build -j
%install
make %{make_common_opts} install
%mvn_install
%files -f .mfiles
%dir %{_javadir}/%{name}
%dir %{_datadir}/%{name}
%doc README*
%{_datadir}/%{name}/modules/
%{_sysconfdir}/ovirt-engine/engine.conf.d/50-ovirt-engine-extension-aaa-misc.conf
%changelog
* Thu Apr 07 2022 Martin Perina <[email protected]> 1.1.1-1
- Allow mapping to transform to upper case or lower case
* Fri Feb 28 2020 Martin Perina <[email protected]> 1.1.0-1
- Moved java classes under org.ovirt.engine.extension.aaa.misc package
- Require OpenJDK 11
- Use maven to build the project
* Wed Jun 26 2019 Martin Perina <[email protected]> 1.0.3-1
- Fix FC29 and remove support for EL6
* Fri Nov 23 2018 Martin Perina <[email protected]> 1.0.2-1
- Add AuthzExtension to get information from headers
- Fixed Fedora packaging
- Switched to oVirt STDCIv2
* Tue May 24 2016 Martin Perina <[email protected]> 1.0.1-1
- Fixed various build issues
- Fixed documentation typos and issues
* Mon Dec 1 2014 Alon Bar-Lev <[email protected]> 1.0.0-1
- Initial.