%define orig_name akvcam %define debug_package %{nil} Summary: Virtual camera driver for Linux Name: akvcam Version: 1.2.6 Release: 1%{?dist} License: GPLv2 Group: System Environment/Kernel URL: https://github.com/webcamoid/akvcam Source0: %{orig_name}-%{version}.tar.gz Source1: config.ini Source2: akvcam.modules Provides: %{name}-kmod-common = %{version} Requires: %{name}-kmod >= %{version} BuildRequires: systemd %description akvcam is a fully compliant V4L2 virtual camera driver for Linux. %prep %setup -q -n %{orig_name}-%{version} %build # Nothing to do here... %install # sample config file install -m644 -D %{SOURCE1} %{buildroot}/%{_sysconfdir}/akvcam/config.ini # systemd module autoinsert rule install -m644 -D %{SOURCE2} %{buildroot}/%{_sysconfdir}/modules-load.d/akvcam.conf %files %defattr(-, root, root, -) %doc ChangeLog COPYING README.md %config(noreplace) %{_sysconfdir}/akvcam/config.ini %{_sysconfdir}/modules-load.d/akvcam.conf %changelog * Thu Apr 25 2024 Rok Mandeljc - 1.2.6-1 - Initial packaging attempt