commit be896e4b6f6c015175f63fe65eed89115677c426 Author: tigro Date: Mon Sep 4 17:05:10 2023 +0300 import python-gbinder-1.1.1-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b68c198 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gbinder-python-1.1.1.tar.gz diff --git a/.python-gbinder.metadata b/.python-gbinder.metadata new file mode 100644 index 0000000..88bcaad --- /dev/null +++ b/.python-gbinder.metadata @@ -0,0 +1 @@ +ff27fd44ee6e38e32602ba5283743b2acb6289dd SOURCES/gbinder-python-1.1.1.tar.gz diff --git a/SPECS/python-gbinder.spec b/SPECS/python-gbinder.spec new file mode 100644 index 0000000..534c826 --- /dev/null +++ b/SPECS/python-gbinder.spec @@ -0,0 +1,54 @@ +%global proj_name gbinder-python + +Name: python-gbinder +Version: 1.1.1 +Release: 2%{?dist} +Summary: Python bindings for libgbinder + +License: GPL-3.0-only +URL: https://github.com/erfanoabdi/%{proj_name} +Source: %{url}/archive/%{version}/%{proj_name}-%{version}.tar.gz + +%global libgbinder_version 1.1.20 +BuildRequires: python3-devel +BuildRequires: python3-Cython +BuildRequires: gcc +BuildRequires: pkgconfig(libgbinder) >= %{libgbinder_version} + +%global _description %{expand: +Cython extension module for libgbinder. +Provides IPC comunication over the /dev/binder protocol for python scripts.} + +%description %{_description} + +%package -n python3-gbinder +Summary: %{summary} +Requires: libgbinder >= %{libgbinder_version} + +%description -n python3-gbinder %{_description} + +%prep +%autosetup -p1 -n %{proj_name}-%{version} +sed -i "/^USE_CYTHON =/s/False/True/" setup.py + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files gbinder + +%files -n python3-gbinder -f %{pyproject_files} + +%changelog +* Mon Sep 04 2023 Arkady L. Shane - 1.1.1-2 +- Rebuilt for MSVSphere 9.2 + +* Fri Jan 06 2023 Alessandro Astone - 1.1.1-2 +- Re-enable s390x builds + +* Sun Oct 30 2022 Alessandro Astone - 1.1.1-1 +- Initial changelog