commit f5c1b3007d81efc0f5a83c86e67158d89d5c71c3 Author: MSVSphere Packaging Team Date: Fri Oct 25 18:56:00 2024 +0300 import python-xkbregistry-0.3-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..150a520 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/xkbregistry-0.3.tar.gz diff --git a/.python-xkbregistry.metadata b/.python-xkbregistry.metadata new file mode 100644 index 0000000..3579759 --- /dev/null +++ b/.python-xkbregistry.metadata @@ -0,0 +1 @@ +824994f72b655bbcaf19a7da5b98f52d856baf40 SOURCES/xkbregistry-0.3.tar.gz diff --git a/SPECS/python-xkbregistry.spec b/SPECS/python-xkbregistry.spec new file mode 100644 index 0000000..dc881ad --- /dev/null +++ b/SPECS/python-xkbregistry.spec @@ -0,0 +1,72 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.1) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +Name: python-xkbregistry +Version: 0.3 +Release: %autorelease +Summary: Bindings for libxkbregistry using cffi + +License: MIT +URL: https://github.com/sde1000/python-xkbregistry +Source: %{pypi_source xkbregistry} + +BuildRequires: python3-devel +BuildRequires: gcc +BuildRequires: libxkbcommon-devel + +Requires: libxkbcommon + + +%global _description %{expand: +Python bindings for libxkbregistry using cffi.} + + +%description %_description + +%package -n python3-xkbregistry +Summary: %{summary} + +%description -n python3-xkbregistry %_description + + +%prep +%autosetup -n xkbregistry-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires + + +%build +%pyproject_wheel +%python3 xkbregistry/ffi_build.py + + +%install +%pyproject_install +%pyproject_save_files xkbregistry + + +%check +%pyproject_check_import -t +%{py3_test_envvars} %{python3} -m unittest + + +%files -n python3-xkbregistry -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +## START: Generated by rpmautospec +* Mon Jun 24 2024 Troy Dawson - 0.3-2 +- Bump release for June 2024 mass rebuild + +* Wed Jan 31 2024 José Expósito - 0.3-1 +- python-xkbregistry v0.3 +## END: Generated by rpmautospec