From 755e642658a333f44a955c679ed57b5dfae27b86 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 14 Aug 2022 23:19:26 +0200 Subject: [PATCH] Initial commit --- .gitattributes | 1 + .tito/releasers.conf | 1 + .tito/tito.props | 5 +++-- linstor-client-1.14.0.tar.gz | 3 +++ linstor-client.spec | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 42 insertions(+), 2 deletions(-) create mode 100644 .gitattributes create mode 120000 .tito/releasers.conf create mode 100644 linstor-client-1.14.0.tar.gz create mode 100644 linstor-client.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.tito/releasers.conf b/.tito/releasers.conf new file mode 120000 index 0000000..867c32f --- /dev/null +++ b/.tito/releasers.conf @@ -0,0 +1 @@ +../../tito_libs/releasers.conf \ No newline at end of file diff --git a/.tito/tito.props b/.tito/tito.props index eab3f19..4c3685b 100644 --- a/.tito/tito.props +++ b/.tito/tito.props @@ -1,5 +1,6 @@ [buildconfig] -builder = tito.builder.Builder -tagger = tito.tagger.VersionTagger +builder = dbd.builder.GitLfsBuilder +tagger = tito.tagger.ReleaseTagger changelog_do_not_remove_cherrypick = 0 changelog_format = %s (%ae) +lib_dir = ../tito_libs diff --git a/linstor-client-1.14.0.tar.gz b/linstor-client-1.14.0.tar.gz new file mode 100644 index 0000000..ec2cb44 --- /dev/null +++ b/linstor-client-1.14.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ebcf02a77d70561ec59ca46932038e819d43765a16089ad89a4868c4465dee32 +size 132762 diff --git a/linstor-client.spec b/linstor-client.spec new file mode 100644 index 0000000..222a05e --- /dev/null +++ b/linstor-client.spec @@ -0,0 +1,34 @@ +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