automatic version update by autodist [release 2021.12.04-1mamba;Tue Jan 04 2022]
This commit is contained in:
parent
49d42fdf2b
commit
2bfd90e8e3
@ -1,2 +1,4 @@
|
|||||||
# rtl88x2bu
|
# rtl88x2bu
|
||||||
|
|
||||||
|
Kernel module for Realtek rtl88x2bu WiFi chipset.
|
||||||
|
|
||||||
|
68
rtl88x2bu.spec
Normal file
68
rtl88x2bu.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
Name: rtl88x2bu
|
||||||
|
Version: 2021.12.04
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Kernel module for Realtek rtl88x2bu WiFi chipset
|
||||||
|
Group: System/Kernel and Hardware
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/RinCat/RTL88x2BU-Linux-Driver
|
||||||
|
Source: https://github.com/RinCat/RTL88x2BU-Linux-Driver.git/master/RTL88x2BU-Linux-Driver-%{version}.tar.bz2
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires(post): kernelheaders
|
||||||
|
Requires(post): dkms
|
||||||
|
Requires(post): bc
|
||||||
|
|
||||||
|
%description
|
||||||
|
Kernel module for Realtek rtl88x2bu WiFi chipset.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n RTL88x2BU-Linux-Driver-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version}
|
||||||
|
cp -a * %{buildroot}%{_prefix}/src/%{name}-%{version}
|
||||||
|
sed -i "s/@PKGVER@/%{version}/" %{buildroot}%{_prefix}/src/%{name}-%{version}/dkms.conf
|
||||||
|
|
||||||
|
%check
|
||||||
|
make
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
|
||||||
|
%preun
|
||||||
|
# erase
|
||||||
|
if [ $1 -eq 0 ]; then
|
||||||
|
dkms remove -q -m %{name} -v %{version} --all
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%post
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
dkms add -q -m %{name} -v %{version}
|
||||||
|
dkms install -q -m %{name} -v %{version} --force
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_prefix}/src/%{name}-%{version}
|
||||||
|
%{_prefix}/src/%{name}-%{version}/*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Jan 04 2022 Automatic Build System <autodist@mambasoft.it> 2021.12.04-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Jul 09 2021 Automatic Build System <autodist@mambasoft.it> 2021.05.26-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Jul 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.8.7.2.20210708git-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user