commit 5510557c8c7af3a4b73b54d459b56c9872811c94 Author: eabdullin Date: Mon May 12 17:13:32 2025 +0300 Initial release diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5bdee2f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/immudb-py-1.4.0.tar.gz diff --git a/.python-immudb.metadata b/.python-immudb.metadata new file mode 100644 index 0000000..1550a45 --- /dev/null +++ b/.python-immudb.metadata @@ -0,0 +1 @@ +50d7e07e019faa952275c5faf7aed06962e1d8eb SOURCES/immudb-py-1.4.0.tar.gz diff --git a/SPECS/immudb.spec b/SPECS/immudb.spec new file mode 100644 index 0000000..37c277c --- /dev/null +++ b/SPECS/immudb.spec @@ -0,0 +1,49 @@ +%global modname immudb + +Name: python-%{modname} +Version: 1.4.0 +Release: 1%{?dist} +Summary: Immudb client for Python + +License: Apache-2.0 +URL: https://github.com/codenotary/immudb-py +Source0: https://github.com/codenotary/immudb-py/archive/v%{immudb_version}/immudb-py-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: pyproject-rpm-macros + +%description +%{summary}. + +%package -n python%{python3_pkgversion}-%{modname} +Summary: %{summary} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} +Requires: python3-immudb = 1.4.0 + +%description -n python%{python3_pkgversion}-%{modname} +%{summary}. +Python %{python3_pkgversion} version. + +%generate_buildrequires +%pyproject_buildrequires + +%prep +%autosetup -n immudb-py-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{modname} + +%files -n python3-%{modname} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Mon May 12 2025 Eduard Abdullin - 1.4.0-1 +- Initial release