Initial commit

This commit is contained in:
Daniel Berteaud 2022-08-14 22:40:32 +02:00
parent 288549bc56
commit 783e07d59a
3 changed files with 38 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

BIN
python-linstor-1.14.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

34
python-linstor.spec Normal file
View File

@ -0,0 +1,34 @@
Summary: Linstor python api
Name: python-linstor
Version: 1.14.0
Release: 0
Source0: https://www.linbit.com/downloads/linstor/%{name}-%{version}.tar.gz
License: GPLv3
BuildArch: noarch
Vendor: LINBIT HA-Solutions GmbH
Packager: Daniel Berteaud <dbd@ehtrace.com>
Url: https://www.linbit.com
BuildRequires: python3
BuildRequires: python3-setuptools
%description
Python linstor api interface
%prep
%setup -n %{name}-%{version}
%build
%{__make} PYTHON=python3 gensrc
%{py_build}
%install
%{py_install} --single-version-externally-managed -O1 --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%changelog