From 8624c533a43485c168d48711e510c415ba5f6f93 Mon Sep 17 00:00:00 2001 From: Jonny Heggheim Date: Nov 06 2020 19:43:25 +0000 Subject: Initial import (#1895108). --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ed9955 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/b2sdk-1.2.0.tar.gz diff --git a/python-b2sdk.spec b/python-b2sdk.spec new file mode 100644 index 0000000..fd408dd --- /dev/null +++ b/python-b2sdk.spec @@ -0,0 +1,50 @@ +%global srcname b2sdk + +Name: python-%{srcname} +Version: 1.2.0 +Release: 1%{?dist} +Summary: Backblaze B2 SDK + +License: MIT +URL: https://github.com/Backblaze/b2-sdk-python +Source0: %{pypi_source} +BuildArch: noarch + + +%global _description %{expand: +Python library and a few handy utilities for easy access to all of the +capabilities of B2 Cloud Storage. + +B2 command-line tool is an example of how it can be used to provide command-line +access to the B2 service, but there are many possible applications (including +FUSE filesystems, storage backend drivers for backup applications etc).} + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %_description + +%prep +%setup -q -n %{srcname}-%{version} +rm -rf %{srcname}.egg-info + +%build +%py3_build + +%install +%py3_install + + +%files -n python3-%{srcname} +%doc README.md +%license LICENSE +%{python3_sitelib}/%{srcname}-*.egg-info/ +%{python3_sitelib}/%{srcname}/ + +%changelog +* Thu Nov 05 2020 Jonny Heggheim - 0.1.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..d35c92f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (b2sdk-1.2.0.tar.gz) = 05273de5d83a62afe33873ddd66f22005bcfbd559314d43a5662981e024f18063eeee078d00b42b407aeda331083c826c4c6fc4e06cad280b280de8cb66423d2