mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-26 13:28:27 +00:00
b81a95d71e
* feat: Split NVIDIA into current and legacy branches (#8402)
* feat: Split NVIDIA into current and legacy branches
* cleanup: Module variant no longer applicable
* fix: Some sources and anda.hcl files I missed
* fix: More
* chore: Bump release on packages that had changed dependencies
* chore: Bump release on all non-legacy packages
* fix: Oops
* More cleanup for kernel/kernel open changes
* cleanup: Weird line
* fix: Missed that
(cherry picked from commit 853f4a5829)
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
* fix: Yeet i386
---------
Signed-off-by: GildedRoach <GildedRoach@users.noreply.github.com>
48 lines
1.1 KiB
RPMSpec
48 lines
1.1 KiB
RPMSpec
Name: nvidia-modprobe
|
|
Version: 580.119.02
|
|
Release: 2%?dist
|
|
Summary: NVIDIA kernel module loader
|
|
Epoch: 3
|
|
License: GPLv2+
|
|
URL: http://www.nvidia.com/object/unix.html
|
|
ExclusiveArch: x86_64 aarch64
|
|
|
|
Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-man-page-permissions.patch
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: m4
|
|
|
|
%description
|
|
This utility is used by user-space NVIDIA driver components to make sure the
|
|
NVIDIA kernel modules are loaded and that the NVIDIA character device files are
|
|
present.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
# Remove additional CFLAGS added when enabling DEBUG
|
|
sed -i '/+= -O0 -g/d' utils.mk
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
export LDFLAGS="%{?__global_ldflags}"
|
|
make %{?_smp_mflags} \
|
|
DEBUG=1 \
|
|
NV_VERBOSE=1 \
|
|
PREFIX=%{_prefix} \
|
|
STRIP_CMD=true
|
|
|
|
%install
|
|
%make_install \
|
|
NV_VERBOSE=1 \
|
|
PREFIX=%{_prefix} \
|
|
STRIP_CMD=true
|
|
|
|
%files
|
|
%license COPYING
|
|
%attr(4755, root, root) %{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
%changelog
|
|
%autochangelog
|