|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 3;
|
|
|
|
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
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.3-3
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.3-2
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.3-2
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
* Wed Jan 31 2024 José Expósito <jexposit@redhat.com> - 0.3-1
|
|
|
|
- python-xkbregistry v0.3
|
|
|
|
## END: Generated by rpmautospec
|