commit 448d7b3d7daf0494b657c066e1b2a9d4b0a68682
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 5 08:07:33 2017 +0200
Initial import
.gitignore | 1 +
nvidia-modprobe.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a3c935e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+nvidia-modprobe-*.tar.gz
diff --git a/nvidia-modprobe.spec b/nvidia-modprobe.spec
new file mode 100644
index 0000000..b220ccf
--- /dev/null
+++ b/nvidia-modprobe.spec
@@ -0,0 +1,51 @@
+Name: nvidia-modprobe
+Version: 384.47
+Release: 1%{?dist}
+Summary: Load the NVIDIA kernel module and create NVIDIA character device files
+
+License: MIT and GPLv2+
+URL:
https://github.com/NVIDIA/nvidia-modprobe
+Source0: %{url}/archive/%{version}/nvidia-modprobe-%{version}.tar.gz
+ExclusiveArch: x86_64 i686 armv7hl
+
+BuildRequires: m4
+
+
+%description
+Load the NVIDIA kernel module and create NVIDIA character device files.
+
+
+%prep
+%setup -q
+
+
+%build
+export CFLAGS="%{optflags}"
+export LDFLAGS="%{?__global_ldflags}"
+%make_build NV_VERBOSE=1 PREFIX=%{_prefix} STRIP_CMD=true NV_KEEP_UNSTRIPPED_BINARIES=1
+(cd _out/Linux_*/ ; cp nvidia-modprobe.unstripped nvidia-modprobe ; cd -)
+
+
+%install
+%make_install NV_VERBOSE=1 PREFIX=%{_prefix} STRIP_CMD=true
NV_KEEP_UNSTRIPPED_BINARIES=1
+
+#Fix perm
+chmod -x %{buildroot}%{_mandir}/man1/nvidia-modprobe.1.*
+
+
+%files
+%license COPYING
+%attr(4755,root,root) %{_bindir}/nvidia-modprobe
+%{_mandir}/man1/nvidia-modprobe.1.*
+
+
+%changelog
+* Wed Jul 05 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 384.47-1
+- Update to 384.47
+
+* Wed May 17 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 381.22-1
+- Update to 381.22
+
+* Thu Jun 27 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 319.32-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..8269881 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c866d967f0d2e336db33b0a00a8bc32c nvidia-modprobe-384.47.tar.gz