50 lines
1.2 KiB
RPMSpec
50 lines
1.2 KiB
RPMSpec
%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 <eabdullin@almalinux.org> - 1.4.0-1
|
|
- Initial release
|