Sisyphus repository
Last update: 24 october 2020 | SRPMs: 17689 | Visits: 19474258
en ru br
ALT Linux repos

Group :: System/Kernel and hardware
RPM: kernel-modules-rtl8723de-un-def

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define IF_ver_gt() %if "%(rpmvercmp '%1' '%2')" > "0"
%define IF_ver_gteq() %if "%(rpmvercmp '%1' '%2')" >= "0"
%define IF_ver_lt() %if "%(rpmvercmp '%2' '%1')" > "0"
%define IF_ver_lteq() %if "%(rpmvercmp '%2' '%1')" >= "0"

%define module_name rtl8723de
%define module_version
%define module_release alt15

%define flavour un-def
%define karch %ix86 x86_64 aarch64 ppc64le
BuildRequires(pre): rpm-build-kernel
BuildRequires(pre): kernel-headers-modules-un-def

%setup_kernel_module %flavour

%define norm_version %kversion

%define module_dir /lib/modules/%kversion-%flavour-%krelease/net/wireless/realtek/rtlwifi/%module_name

Name: kernel-modules-%module_name-%flavour
Group: System/Kernel and hardware
Summary: Module for Realtek RTL8723DE
Version: %module_version
Release: %module_release.%kcode.%kbuildrelease
License: GPLv2

Packager: Kernel Maintainer Team <kernel at>

ExclusiveOS: Linux
ExclusiveArch: %ix86 x86_64

PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease
Provides: kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release

BuildRequires(pre): rpm-build-kernel
BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
%define k_mod_src_suffix %nil
%IF_ver_lt %kversion 5.0
%define k_mod_src_suffix -4.15up
%IF_ver_lt %kversion 4.15
%define k_mod_src_suffix -4.11up
%IF_ver_lteq %kversion 4.10
%define k_mod_src_suffix -4.10down
BuildRequires: kernel-source-%module_name%k_mod_src_suffix = %module_version

These packages contain Realtek RTL8723DE module.

rm -rf kernel-source-%module_name-%module_version
tar xvf %kernel_src/kernel-source-%module_name-%module_version.tar.bz2
%setup -D -T -n kernel-source-%module_name-%module_version

. %_usrsrc/linux-%kversion-%flavour/
make \
   ARCH=%base_arch \
   KSRC=%_usrsrc/linux-%kversion-%flavour \
   M=${PWD} \
   modules \
#    -C %_usrsrc/linux-%kversion-%flavour \

[ -f rtl8723de/rtl8723de.ko ] && KMOD_FILE=rtl8723de/rtl8723de.ko
install -D -m 644 $KMOD_FILE %buildroot/%module_dir/rtl8723de.ko



Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin