%define name linstor-client %define version 1.0.15 %define release 1 Summary: DRBD distributed resource management utility Name: %{name} Version: %{version} Release: %{release} Source0: https://www.linbit.com/downloads/linstor/%{name}-%{version}.tar.gz License: GPLv3 Group: System Environment/Daemons BuildArch: noarch Vendor: LINBIT HA-Solutions GmbH Packager: LINSTOR Team Requires: python-linstor >= 1.0.15 Url: https://www.linbit.com BuildRequires: python3 python3-setuptools %description This client program communicates to controller node which manages the resources %prep %setup -n %{name}-%{version} -n %{name}-%{version} %build python3 setup.py build %install python3 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)