Add ovirt-dependencies

(cherry picked from commit c954305708c30c0ae6b7eba32fed6b3cd28b77b6)
This commit is contained in:
shenhy123 2021-09-01 16:07:37 +08:00 committed by openeuler-sync-bot
parent 0332ec58e8
commit a25b38f478
2 changed files with 50 additions and 0 deletions

Binary file not shown.

50
ovirt-dependencies.spec Normal file
View File

@ -0,0 +1,50 @@
%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