%global commit 4f99388d491cd5c1155c0df88316bd22aae40d8c %global commitdate 20240405 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: v4l2loopback Summary: Utils for V4L2 loopback devices Version: 0.13.1^%{commitdate}g%{shortcommit} Release: 1%{?dist} License: GPLv2+ URL: https://github.com/umlaeute/v4l2loopback Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source1: modprobe-d-98-v4l2loopback.conf Source2: modules-load-d-v4l2loopback.conf BuildRequires: gcc BuildRequires: make BuildRequires: help2man BuildRequires: systemd-rpm-macros # For kmod package Provides: %{name}-kmod-common = %{version}-%{release} Requires: %{name}-kmod >= %{version} # For compatibility with older name Provides: %{name}-utils = %{version}-%{release} Obsoletes: %{name}-utils < 0.12.5-2 %description This allows you to create "virtual video devices". Normal (v4l2) applications will read these devices as if they were ordinary video devices, but the video will not be read from e.g. a capture card but instead it is generated by another application. This package contains the utilties for %{name}. %prep %autosetup -p1 -n %{name}-%{commit} %build # Nothing to build %install make V=1 %{?_smp_mflags} install-utils DESTDIR=%{buildroot} PREFIX=%{_prefix} make V=1 %{?_smp_mflags} install-man DESTDIR=%{buildroot} PREFIX=%{_prefix} install -D -m 0644 %{SOURCE1} %{buildroot}%{_modprobedir}/98-v4l2loopback.conf install -D -m 0644 %{SOURCE2} %{buildroot}%{_modulesloaddir}/v4l2loopback.conf %files %doc README.md AUTHORS NEWS %license COPYING %attr(0755,root,root) %{_bindir}/v4l2loopback-ctl %attr(0644,root,root) %{_mandir}/man1/v4l2loopback-ctl.1* %{_modprobedir}/98-v4l2loopback.conf %{_modulesloaddir}/v4l2loopback.conf %changelog * Tue May 09 2023 Kate Hsuan - 0.12.7-20230503g2c9b670-1 - Updated to commit 2c9b67072b15d903fecde67c7f269abeafee4c25 * Mon Mar 06 2023 Kate Hsuan - 0.12.7-20230220ga669686-1 - Updated to commit a66968647843f57448b59cf98d0318f1e98e072c * Mon Aug 08 2022 RPM Fusion Release Engineering - 0.12.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg 5.1 * Fri Aug 05 2022 Leigh Scott - 0.12.7-1 - Update to 0.12.7 * Wed Feb 09 2022 RPM Fusion Release Engineering - 0.12.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 03 2021 RPM Fusion Release Engineering - 0.12.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Feb 27 2021 Nicolas Chauvet - 0.12.5-3 - Fix v4l2loopback-kmod deps * Mon Feb 15 2021 Nicolas Chauvet - 0.12.5-2 - Rename to v4l2loopback * Sat Dec 26 2020 Neal Gompa - 0.12.5-1 - Initial packaging