2024-10-26 17:31:23 +02:00
|
|
|
%define gittag %(echo %version | cut -d+ -f2 | cut -d. -f2)
|
2024-01-05 17:31:34 +01:00
|
|
|
Name: rtl8192eu
|
2024-10-26 17:31:23 +02:00
|
|
|
Version: 5.11.2.1+20241026git.ac84245
|
2024-01-05 17:31:34 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 17:31:34 +01:00
|
|
|
Summary: rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!)
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/jeremyb31/rtl8192eu-linux-driver
|
2024-10-26 17:31:23 +02:00
|
|
|
Source: https://github.com/clnhub/rtl8192eu-linux.git/master@%{gittag}/rtl8192eu-linux-%{version}.tar.bz2
|
2024-01-05 17:31:34 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!).
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 17:31:34 +01:00
|
|
|
%setup -q -n %{name}-linux-%{version}
|
2024-01-05 17:31:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%check
|
|
|
|
%make
|
|
|
|
:
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -d -m0755 %{buildroot}%{_prefix}/src/%{name}-%{version}
|
|
|
|
cp -a * %{buildroot}%{_prefix}/src/%{name}-%{version}
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_modprobedir}
|
|
|
|
cat > %{buildroot}%{_modprobedir}/%{name}.conf << _EOF
|
|
|
|
blacklist rtl8xxxu
|
|
|
|
_EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%preun
|
|
|
|
dkms remove -q -m %{name} -v %{version} --all --rpm_safe_upgrade
|
|
|
|
:
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
if [ $1 -ge 1 ]; then
|
|
|
|
# clean any legacy alternatives symlink
|
|
|
|
dkms remove -q -m %{name} -v %{version} --all --rpm_safe_upgrade
|
|
|
|
dkms add -q -m %{name} -v %{version}
|
|
|
|
dkms install -q -m %{name} -v %{version}
|
|
|
|
fi
|
|
|
|
:
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_modprobedir}/%{name}.conf
|
|
|
|
%dir %{_prefix}/src/rtl8192eu-%{version}
|
|
|
|
%{_prefix}/src/rtl8192eu-%{version}/*
|
|
|
|
|
|
|
|
%changelog
|
2024-10-26 17:31:23 +02:00
|
|
|
* Sat Oct 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.2.1+20241026git.ac84245-1mamba
|
|
|
|
- update to 5.11.2.1+20241026git.ac84245
|
|
|
|
|
2024-01-05 17:31:34 +01:00
|
|
|
* Fri Dec 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.2.1-1mamba
|
|
|
|
- update to 5.11.2.1
|
|
|
|
|
2024-01-05 17:31:34 +01:00
|
|
|
* Sun Apr 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.19.1.20210418git-1mamba
|
|
|
|
- update to 5.2.19.1.20210418git
|
|
|
|
|
2024-01-05 17:31:34 +01:00
|
|
|
* Thu Apr 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20190418git-2mamba
|
|
|
|
- blacklist rtl8xxxu in modprobe file
|
|
|
|
|
|
|
|
* Thu Apr 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.20190418git-1mamba
|
|
|
|
- package created using the webbuild interface
|