43 lines
894 B
RPMSpec
43 lines
894 B
RPMSpec
Name: linstor-client
|
|
Version: 1.14.0
|
|
Release: 1
|
|
Summary: Linstor SDS client utility
|
|
License: GPL-3.0-only
|
|
BuildArch: noarch
|
|
URL: https://github.com/LINBIT/linstor-client
|
|
Source: https://pkg.linbit.com//downloads/linstor/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: python3
|
|
BuildRequires: python3-setuptools
|
|
BuildRequires: python-linstor
|
|
|
|
Requires: python-linstor >= %{version}
|
|
Requires: python36
|
|
|
|
%define __python %{__python3}
|
|
%global debug_package %{nil}
|
|
|
|
%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=$RPM_BUILD_ROOT --record=INSTALLED_FILES
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -f INSTALLED_FILES
|
|
%defattr(-,root,root)
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Sun Aug 14 2022 Daniel Berteaud <dbd@ehtrace.com> 1.14.0-1
|
|
- new package built with tito
|
|
|