35 lines
711 B
RPMSpec
35 lines
711 B
RPMSpec
Name: linstor-client
|
|
Version: 1.14.0
|
|
Release: 0
|
|
Summary: Linstor SDS client utility
|
|
License: GPL-3.0-only
|
|
URL: https://github.com/LINBIT/linstor-client
|
|
Source: https://pkg.linbit.com//downloads/linstor/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python-linstor
|
|
|
|
Requires: python-linstor >= %{version}
|
|
|
|
%define __python %{__python3}
|
|
|
|
%description
|
|
User space client to ease DRBD9 resource management.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{python} setup.py build
|
|
|
|
%install
|
|
%{_python} setup.py install --single-version-externally-managed -O1 --root=%{buildroot} --prefix=%{_prefix} --record=INSTALLED_FILES
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f INSTALLED_FILES
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|