%define gittag %(echo %version | cut -d+ -f2 | cut -d. -f2) Name: rtl8192eu Version: 5.11.2.1+20241026git.ac84245 Release: 1mamba 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 URL: https://github.com/jeremyb31/rtl8192eu-linux-driver Source: https://github.com/clnhub/rtl8192eu-linux.git/master@%{gittag}/rtl8192eu-linux-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END %description rtl8192eu chipset for wireless adapters (D-Link DWA-131 rev E1 included!). %prep %setup -q -n %{name}-linux-%{version} %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 * Sat Oct 26 2024 Silvan Calarco 5.11.2.1+20241026git.ac84245-1mamba - update to 5.11.2.1+20241026git.ac84245 * Fri Dec 23 2022 Silvan Calarco 5.11.2.1-1mamba - update to 5.11.2.1 * Sun Apr 18 2021 Silvan Calarco 5.2.19.1.20210418git-1mamba - update to 5.2.19.1.20210418git * Thu Apr 18 2019 Silvan Calarco 0.20190418git-2mamba - blacklist rtl8xxxu in modprobe file * Thu Apr 18 2019 Silvan Calarco 0.20190418git-1mamba - package created using the webbuild interface