Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37753025
en ru br
ALT Linux repos
S:535.104.05-alt1

Group :: System/Configuration/Hardware
RPM: nvidia-modprobe

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: nvidia-modprobe
Version: 535.86.05
Release: alt1

Group: System/Configuration/Hardware
Summary: Helper to load kernel module and create device files
Url: ftp://download.nvidia.com/XFree86/nvidia-modprobe/
License: GPL-2.0-or-later

Source: %name-%version.tar
Patch1: alt-cflags.patch

BuildRequires: glibc-devel

%description
The nvidia-modprobe utility is used by user-space NVIDIA driver components
to make sure the NVIDIA kernel module is loaded and that the NVIDIA
character device files are present.  These facilities are normally provided
by Linux distribution configuration systems such as udev.  When possible,
it is recommended to  use  your  Linux distribution's  native  mechanisms
for  managing kernel module loading and device file creation.  This utility
is provided as a fallback to work out-of-the-box in a distribution-independent way.

%prep
%setup -q
%patch1 -p1 -b .flags

%build
%make_build NV_VERBOSE=1 OUTPUTDIR=BUILD STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1 PREFIX=%prefix CC=gcc LOCAL_CFLAGS="%optflags"
cp -ar BUILD/nvidia-modprobe.unstripped BUILD/nvidia-modprobe

%install
make install NV_VERBOSE=1 OUTPUTDIR=BUILD STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1 PREFIX=%buildroot/%prefix bindir=%buildroot/%_bindir mandir=%buildroot/%_man1dir
#install -m 0755 nvidia-modprobe %buildroot/%_bindir

%files
%doc COPYING
%_bindir/%name
%_man1dir/%name.*


%changelog

Full changelog you can see here

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