commit fc39aefb3e1d1ca9153411401ab2b8e0b839a116 Author: eabdullin Date: Thu Jul 10 17:59:17 2025 +0300 Initial release diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cb50f9e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/0.1.6.tar.gz diff --git a/.python-immudb_wrapper.metadata b/.python-immudb_wrapper.metadata new file mode 100644 index 0000000..3bfee42 --- /dev/null +++ b/.python-immudb_wrapper.metadata @@ -0,0 +1 @@ +58d374f6ecc00f7e168272eb5571f30155c4d0ee SOURCES/0.1.6.tar.gz diff --git a/SPECS/immudb_wrapper.spec b/SPECS/immudb_wrapper.spec new file mode 100644 index 0000000..9ff91d6 --- /dev/null +++ b/SPECS/immudb_wrapper.spec @@ -0,0 +1,49 @@ +%global modname immudb_wrapper + +Name: python-%{modname} +Version: 0.1.6 +Release: 1%{?dist} +Summary: AlmaLinux immudb wrapper for Python + +License: Apache-2.0 +URL: https://github.com/AlmaLinux/immudb-wrapper +Source0: https://github.com/AlmaLinux/immudb-wrapper/archive/refs/tags/%{version}.tar.gz + +BuildArch: noarch +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: pyproject-rpm-macros + +%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 + +%description +%{summary}. + +%prep +%autosetup -n %{modname}-%{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 - 0.1.6-1 +- Initial release