ALT repositories
Last updated at Tue, 02 Nov 2021 03:17:00 +0000 | SRPMs: 18242
en ru
SRPMs in branches
hide window
  • 5.1.1.8-alt15.267131.0.M80C.1
  • 5.1.1.8-alt10.267225.0.M80P.1
Group :: System/Kernel and hardware
Source RPM: kernel-modules-rtl8723de-un-def
Raw spec file

%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 5.1.1.8
%define module_release alt10

%define flavour un-def
%define karch %ix86 x86_64
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
Url: https://github.com/smlinux/rtl8723de
License: GPLv2

Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>

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 4.15
%define k_mod_src_suffix -4.11up
%endif
%IF_ver_lteq %kversion 4.10
%define k_mod_src_suffix -4.10down
%endif
BuildRequires: kernel-source-%module_name%k_mod_src_suffix = %module_version

%description
These packages contain Realtek RTL8723DE module.

%prep
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

%build
. %_usrsrc/linux-%kversion-%flavour/gcc_version.inc
make ARCH=%base_arch CROSS_COMPILE= KSRC=%_usrsrc/linux-%kversion-%flavour modules

%install
install -D -m 644 8723de.ko %buildroot/%module_dir/rtl8723de.ko

%files
%module_dir

%changelog
* %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
- Build for kernel-image-%flavour-%kversion-%krelease.

* Wed Sep 12 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt10
- fix git inheritance

* Tue Sep 11 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt9
- fix to build

* Tue Sep 11 2018 Sergey V Turchin <zerg at altlinux dot org> 5.1.1.8-alt8
- build only on x86

* Tue Sep 11 2018 Sergey V Turchin <zerg at altlinux dot org> 5.1.1.8-alt7
- define karch

* Tue Sep 11 2018 Sergey V Turchin <zerg at altlinux dot org> 5.1.1.8-alt6
- fix provides

* Tue Jan 09 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt5
- use other sources branch for old kernels

* Tue Jan 09 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt4
- fix build requires

* Tue Jan 09 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt3
- fix build requires

* Tue Jan 09 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt2
- fix build requires

* Tue Jan 09 2018 Sergey V Turchin <zerg at altlinux.org> 5.1.1.8-alt1
- initial build
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.