%global pypi_name videodev2 Name: python-%{pypi_name} Version: 0.0.4 Release: 1%{?dist} Summary: Python ctypes bindings for the Video4Linux2 (V4L2) API License: BSD-3-Clause URL: https://pypi.org/project/videodev2/ Source0: %{pypi_source %{pypi_name}} BuildArch: noarch BuildRequires: python3-devel %description Pure-Python ctypes bindings for the V4L2 API, used by picamera2. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} Pure-Python ctypes bindings for the V4L2 API, used by picamera2. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -L videodev2 %files -n python3-%{pypi_name} -f %{pyproject_files} %changelog * Mon Jun 29 2026 Morgan Hough - 0.0.4-1 - Initial package for the OpenFlexure-on-Fedora (v3/picamera2) stack.