ALT repositories
Last updated at Tue, 02 Nov 2021 03:17:00 +0000 | SRPMs: 18242
en ru
SRPMs in branches
hide window
  • 3.8.7-alt1.330319.1
  • 3.8.7-alt1.328858.1
  • 3.4.2.1-alt2.264738.0.M80P.1
  • 3.4.2.1-alt2.328849.0.c9f
Group :: System/Kernel and hardware
Source RPM: kernel-modules-e1000e-std-def
Raw spec file

%define module_name e1000e
%define module_version 3.4.2.1
%define module_release alt2
%define flavour std-def
%define karch x86_64 i586

%setup_kernel_module %flavour

%define module_dir /lib/modules/%kversion-%flavour-%krelease/misc

Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release.%kcode.%kbuildrelease

Summary: E1000E Driver for e1000 Intel(R) Ethernet adapter
License: GPLv2
Group: System/Kernel and hardware
Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>
URL: https://sourceforge.net/projects/e1000
Patch: e1000e-rename.patch

ExclusiveOS: Linux
BuildRequires(pre):
rpm-build-kernel
BuildRequires(pre):
kernel-headers-modules-std-def
BuildRequires: kernel-headers-modules-%flavour = %kepoch%kversion-%krelease
BuildRequires: kernel-source-%module_name = %module_version
%if 0%{?!_without_check:%{?!_disable_check:1}}
BuildRequires(pre):
kernel-image-%flavour = %kepoch%kversion-%krelease
%else
%def_without check
%endif

Requires: dmsetup
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

PreReq: kernel-image-%flavour = %kepoch%kversion-%krelease
ExclusiveArch: %karch

%description
Linux kernel drivers for e1000 Intel(R) Ethernet adapter.
To learn more about Intel Ethernet visit http://communities.intel.com/community/tech/wired

%prep
rm -rf kernel-source-%module_name-%module_version
tar xf %kernel_src/kernel-source-%module_name-%module_version.tar*
%setup -D -T -n kernel-source-%module_name-%module_version
%patch

%build
cd src
%make_build CFLAGS_EXTRA=-DCONFIG_E1000E_SEPARATE_TX_HANDLER \
KSRC=%_usrsrc/linux-%kversion-%flavour-%krelease \
KBUILD=%_usrsrc/linux-%kversion-%flavour \
M=$(pwd)

%install
install -d %buildroot/%module_dir
install -m644 -D src/%module_name-ext.ko %buildroot/%module_dir/
install -d %buildroot/etc/modprobe.d
echo "blacklist e1000e" > %buildroot/etc/modprobe.d/blacklist-e1000e.conf

%files
%module_dir/*
/etc/modprobe.d/*

%changelog
* %(date "+%%a %%b %%d %%Y") %{?package_signer:%package_signer}%{!?package_signer:%packager} %version-%release
- Build for kernel-image-%flavour-%kversion-%krelease.
 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.