mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
76 lines
1.9 KiB
RPMSpec
76 lines
1.9 KiB
RPMSpec
%define debug_package %nil
|
|
%global pypi_name qmk
|
|
%global _desc The QMK CLI (command line interface) makes building and working with QMK keyboards easier. We have provided a number of commands to simplify and streamline tasks such as obtaining and compiling the QMK firmware, creating keymaps, and more.
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.2.0
|
|
Release: 1%?dist
|
|
Summary: A program to help users work with QMK
|
|
License: MIT
|
|
URL: https://github.com/qmk/qmk_cli
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3-pip
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: git
|
|
|
|
Requires: python3
|
|
Requires: python3-platformdirs
|
|
Requires: python3-argcomplete
|
|
Requires: python3-colorama
|
|
Requires: python3-jsonschema
|
|
Requires: git
|
|
Requires: avr-gcc
|
|
Requires: arm-none-eabi-gcc
|
|
Requires: avr-libc
|
|
Requires: arm-none-eabi-binutils
|
|
Requires: arm-none-eabi-newlib
|
|
Requires: avr-binutils
|
|
Requires: dfu-programmer
|
|
Requires: dfu-util
|
|
Requires: avrdude
|
|
Requires: python3-hjson
|
|
Requires: python3-pygments
|
|
Requires: python3-hid
|
|
Requires: python3-pyusb
|
|
Requires: python3-pyserial
|
|
Requires: python3-pillow
|
|
|
|
Packager: Owen Zimmerman <owen@fyralabs.com>
|
|
|
|
%description
|
|
%_desc
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
Provides: qmk
|
|
Provides: qmk_cli
|
|
Provides: qmk-cli
|
|
Obsoletes: python3-qmk_cli <= 1.1.8
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
%description -n python3-%{pypi_name}
|
|
%_desc
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%version
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files qmk_cli
|
|
|
|
%files -n python3-%{pypi_name} -f %{pyproject_files}
|
|
%doc README.md SECURITY.md
|
|
%license LICENSE
|
|
%{_bindir}/qmk
|
|
|
|
%changelog
|
|
* Thu Sep 04 2025 Owen Zimmerman <owen@fyralabs.com>
|
|
- Initial commit
|