2024-02-26 00:05:48 +01:00
|
|
|
Name: v4l2loopback-dkms
|
2024-05-25 10:50:11 +02:00
|
|
|
Version: 0.13.2
|
2024-02-26 00:05:48 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A kernel module to create V4L2 loopback devices
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/umlaeute/v4l2loopback
|
|
|
|
Source: https://github.com/umlaeute/v4l2loopback.git/v%{version}/v4l2loopback-%{version}.tar.bz2
|
|
|
|
Patch0: v4l2loopback-dkms-0.12.7-kernel-5.18.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-03-27 14:47:40 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-02-26 00:05:48 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post):dkms
|
|
|
|
|
|
|
|
%description
|
|
|
|
A kernel module to create V4L2 loopback devices.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n v4l2loopback-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
make DESTDIR=%{buildroot} PREFIX=%{_prefix} install-utils install-man
|
|
|
|
|
|
|
|
install -D -m0644 v4l2loopback.c v4l2loopback_formats.h dkms.conf Makefile \
|
|
|
|
-t %{buildroot}%{_prefix}/src/v4l2loopback-%{version}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%preun
|
|
|
|
dkms remove -q -m v4l2loopback -v %{version} --all
|
|
|
|
:
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
dkms add -q -m v4l2loopback -v %{version}
|
|
|
|
dkms install -q -m v4l2loopback -v %{version} --force
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/v4l2loopback-ctl
|
|
|
|
%dir %{_prefix}/src/v4l2loopback-%{version}
|
|
|
|
%{_prefix}/src/v4l2loopback-%{version}/*
|
|
|
|
%{_mandir}/man1/v4l2loopback-ctl.1*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%changelog
|
2024-05-25 10:50:11 +02:00
|
|
|
* Sat May 25 2024 Automatic Build System <autodist@openmamba.org> 0.13.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-27 14:47:40 +01:00
|
|
|
* Tue Mar 26 2024 Automatic Build System <autodist@openmamba.org> 0.13.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-26 00:05:48 +01:00
|
|
|
* Sat Feb 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.7-1mamba
|
|
|
|
- package created using the webbuild interface
|