52 lines
1.3 KiB
RPMSpec
52 lines
1.3 KiB
RPMSpec
%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-setuptools
|
|
BuildRequires: pyproject-rpm-macros
|
|
|
|
%package -n python%{python3_pkgversion}-%{modname}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
|
BuildRequires: python3-GitPython >= 3.1.20
|
|
BuildRequires: python3-immudb >= 1.4.0
|
|
Requires: python3-GitPython >= 3.1.20
|
|
Requires: python3-immudb >= 1.4.0
|
|
|
|
%description -n python%{python3_pkgversion}-%{modname}
|
|
%{summary}.
|
|
Python %{python3_pkgversion} version.
|
|
|
|
%description
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -n immudb-wrapper-%{version}
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%files -n python3-%{modname}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{python3_sitelib}/%{modname}.py*
|
|
%{python3_sitelib}/__pycache__/*
|
|
%{python3_sitelib}/%{modname}-%{version}-py%{python3_version}.egg-info
|
|
|
|
|
|
%changelog
|
|
* Mon May 12 2025 Eduard Abdullin <eabdullin@almalinux.org> - 0.1.6-1
|
|
- Initial release
|