Packaging templates for zypper based Linux distros to build NVIDIA driver packages.
The main branch contains this README. The .spec, .sh, and etc. files can be found in the appropriate gfxG04 and gfxG05 branches.
This repo contains the .spec file used to build the following RPM packages:
note: upgrading between gfxG0[0-9] flavors requires uninstall
- openSUSE 15 or SLES 15: gfxG05
- nvidia-computeG05-${version}-${rel}.${arch}.rpm
- nvidia-gfxG05-kmp-azure-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-gfxG05-kmp-default-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-glG05-${version}-${rel}.${arch}.rpm
- x11-video-nvidiaG05-${version}-${rel}.${arch}.rpmnote: Azure package only builds on
SLES
- openSUSE 12 or SLES 12: gfxG04
- nvidia-computeG04-${version}-${rel}.${arch}.rpm
- nvidia-gfxG04-kmp-default-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-glG04-${version}-${rel}.${arch}.rpm
- x11-video-nvidiaG04-${version}-${rel}.${arch}.rpmSupported branches: gfxG04 & gfxG05
git clone -b ${branch} https://github.com/NVIDIA/zypper-packaging-nvidia-driver
> ex: git clone -b gfxG05 https://github.com/NVIDIA/zypper-packaging-nvidia-driver# Basics
zypper install gcc-c++ module-init-tools pkgconfig
# gfxG05
zypper install kernel-source kernel-syms kernel-syms-azure
# gfxG04
zypper install bison flex kernel-source kernel-syms
# X.org utilities
zypper install xorg-x11-devel
# Misc
zypper install doxygen graphviz texlive update-desktop-files
# Packaging
zypper install rpm-build- fabricmanager
- libnvidia-nscq
- X11:Drivers:Video
See CONTRIBUTING.md