Mageia Bugzilla – Attachment 11668 Details for
Bug 26701
v4l2loopback (video for linux 2) kernel module, NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file I used to build a dkms package for my own use
dkms-v4l2loopback.spec (text/x-matlab), 1.49 KB, created by
Christian Lohmaier
on 2020-05-29 12:29:51 CEST
(
hide
)
Description:
spec file I used to build a dkms package for my own use
Filename:
MIME Type:
Creator:
Christian Lohmaier
Created:
2020-05-29 12:29:51 CEST
Size:
1.49 KB
patch
obsolete
>%global modulename v4l2loopback > >Name: dkms-%{modulename} >Summary: kernel module to create a v4l2 loopback interface >Group: System/Kernel and hardware >Version: 0.12.5 >Release: %mkrel 0 >License: GPLv2 >URL: https://github.com/umlaeute/v4l2loopback >Source0: https://github.com/umlaeute/v4l2loopback/archive/v%{version}/v4l2loopback-%{version}.tar.gz >BuildArch: noarch >Requires: dkms >Requires(post): dkms >Requires(preun):dkms > >%description >this module 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. > >%prep >%setup -q -n %{modulename}-%{version} >sed -i 's/^PACKAGE_VERSION.*/PACKAGE_VERSION="%{version}-%{release}"/' dkms.conf > >%install >install -d %{buildroot}%{_usrsrc}/%{modulename}-%{version}-%{release} >cp -r * %{buildroot}%{_usrsrc}/%{modulename}-%{version}-%{release}/ > >%post >dkms add -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade && >dkms build -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade && >dkms install -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade --force >true > >%preun >dkms remove -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade --all >true > >%files >%doc AUTHORS ChangeLog COPYING NEWS README.md TODO >%{_usrsrc}/%{modulename}-%{version}-%{release} > >%changelog >* Fri May 22 2020 Christian Lohmaier 0.12.5.0mga7 >- initial spec for the module, omitting the utility
%global modulename v4l2loopback Name: dkms-%{modulename} Summary: kernel module to create a v4l2 loopback interface Group: System/Kernel and hardware Version: 0.12.5 Release: %mkrel 0 License: GPLv2 URL: https://github.com/umlaeute/v4l2loopback Source0: https://github.com/umlaeute/v4l2loopback/archive/v%{version}/v4l2loopback-%{version}.tar.gz BuildArch: noarch Requires: dkms Requires(post): dkms Requires(preun):dkms %description this module 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. %prep %setup -q -n %{modulename}-%{version} sed -i 's/^PACKAGE_VERSION.*/PACKAGE_VERSION="%{version}-%{release}"/' dkms.conf %install install -d %{buildroot}%{_usrsrc}/%{modulename}-%{version}-%{release} cp -r * %{buildroot}%{_usrsrc}/%{modulename}-%{version}-%{release}/ %post dkms add -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade && dkms build -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade && dkms install -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade --force true %preun dkms remove -m %{modulename} -v %{version}-%{release} --rpm_safe_upgrade --all true %files %doc AUTHORS ChangeLog COPYING NEWS README.md TODO %{_usrsrc}/%{modulename}-%{version}-%{release} %changelog * Fri May 22 2020 Christian Lohmaier 0.12.5.0mga7 - initial spec for the module, omitting the utility
View Attachment As Raw
Actions:
View
Attachments on
bug 26701
: 11668