ovirt-dependencies/ovirt-dependencies.spec
shenhy123 a25b38f478 Add ovirt-dependencies
(cherry picked from commit c954305708c30c0ae6b7eba32fed6b3cd28b77b6)
2021-09-08 10:58:34 +08:00

51 lines
1.1 KiB
RPMSpec

%global __jar_repack 0
Summary: oVirt 3rd party dependencies
Name: ovirt-dependencies
Version: 4.4.2
Release: 1
License: ASL 2.0
URL: http://www.ovirt.org
Source: ovirt-dependencies-4.4.2-1.tar.gz
BuildArch: noarch
BuildRequires: tar
BuildRequires: unzip
BuildRequires: curl
BuildRequires: make
Provides: bundled(gwt-servlet) = 2.9.0
Provides: bundled(spring-aop) = 5.0.4
Provides: bundled(spring-beans) = 5.0.4
Provides: bundled(spring-context) = 5.0.4
Provides: bundled(spring-core) = 5.0.4
Provides: bundled(spring-expression) = 5.0.4
Provides: bundled(spring-instrument) = 5.0.4
Provides: bundled(spring-jdbc) = 5.0.4
Provides: bundled(spring-test) = 5.0.4
Provides: bundled(spring-tx) = 5.0.4
%description
oVirt 3rd party dependencies
%prep
%setup -q -n %{name}-4.4.2
%build
make OFFLINE=1 %{?_smp_mflags}
%install
rm -rf "%{buildroot}"
make %{?_smp_mflags} OFFLINE=1 install DESTDIR="%{buildroot}" JAVADIR="%{_javadir}"
%files
%license COPYING
%license COPYING.csv
%doc ChangeLog
%{_javadir}/%{name}/
%changelog
* Wed Sep 1 2021 shenhongyi <shenhongyi2@huawei.com> - 4.4.2-1
- Package init