Sync from SUSE:SLFO:Main nvidia-settings revision 0cddefe48786952b11f8dc2303343ce1

This commit is contained in:
Adrian Schröter 2025-03-13 18:24:36 +01:00
parent 6f8e828c3d
commit fafaae9408
4 changed files with 66 additions and 15 deletions

BIN
nvidia-settings-560.35.03.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
nvidia-settings-570.124.04.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,49 @@
-------------------------------------------------------------------
Tue Feb 25 21:35:37 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- update to release 570.124.04 (boo#1237585)
-------------------------------------------------------------------
Mon Feb 24 23:24:24 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- update to release 570.124.02
-------------------------------------------------------------------
Wed Feb 12 13:01:46 UTC 2025 - Callum Farmer <gmbr3@opensuse.org>
- Move XDG autostart to distconfdir
- No longer mark XDG autostart as a config file
- Let RPM/OBS handle gzip manpage compression
-------------------------------------------------------------------
Tue Jan 28 03:39:35 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- update to release 570.86.16
--> https://github.com/NVIDIA/nvidia-settings/commit/e55a7ed
-------------------------------------------------------------------
Fri Dec 6 16:42:34 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- found the official tarball of 565.77; do the update for real
-------------------------------------------------------------------
Fri Dec 6 16:28:00 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- fake update to 565.77 due to lack of new release/any changes on
github; driver package will need it ...
-------------------------------------------------------------------
Thu Nov 14 10:04:42 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- fixed URL in specfile and made 'osc service runall download_files'
happy
-------------------------------------------------------------------
Wed Nov 6 15:25:47 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
- update to release 565.57.01
--> https://github.com/NVIDIA/nvidia-settings/commit/394e8a71c8330331da340c12be7267e85830bfe7
-------------------------------------------------------------------
Thu Oct 24 13:48:08 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package nvidia-settings
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,17 @@
#
%if %{undefined _distconfdir}
%define _distconfdir %{_sysconfdir}
%endif
Name: nvidia-settings
Version: 560.35.03
Version: 570.124.04
Release: 0
Summary: Configure the NVIDIA graphics driver
License: GPL-2.0-only
URL: http://www.nvidia.com/object/unix.html
Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2
URL: https://github.com/NVIDIA/nvidia-settings
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}-load.desktop
Source2: nvidia-libXNVCtrl.rpmlintrc
Patch0: %{name}-desktop.patch
@ -99,7 +102,8 @@ export LDFLAGS="%{?__global_ldflags}"
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \
PREFIX=%{_prefix} \
XNVCTRL_LDFLAGS="-L%{_libdir}"
XNVCTRL_LDFLAGS="-L%{_libdir}" \
MANPAGE_GZIP=0
%install
# Install libXNVCtrl headers
@ -111,7 +115,8 @@ cp -af src/libXNVCtrl/*.h %{buildroot}%{_includedir}/NVCtrl/
DEBUG=1 \
NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE=1 \
PREFIX=%{_prefix}
PREFIX=%{_prefix} \
MANPAGE_GZIP=0
# Install desktop file
mkdir -p %{buildroot}%{_datadir}/{applications,pixmaps}
@ -119,11 +124,11 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications/ doc/%{name}.des
cp doc/%{name}.png %{buildroot}%{_datadir}/pixmaps/
# Install autostart file to load settings at login
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-load.desktop
install -p -D -m 644 %{SOURCE1} %{buildroot}%{_distconfdir}/xdg/autostart/%{name}-load.desktop
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-load.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_distconfdir}/xdg/autostart/%{name}-load.desktop
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400
%ldconfig_scriptlets
@ -141,8 +146,8 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/%{name}-load.desk
%{_datadir}/pixmaps/%{name}.png
%{_libdir}/libnvidia-gtk3.so.%{version}
%{_libdir}/libnvidia-wayland-client.so.%{version}
%{_mandir}/man1/%{name}.*
%config %{_sysconfdir}/xdg/autostart/%{name}-load.desktop
%{_mandir}/man1/%{name}.*%{?ext_man}
%{_distconfdir}/xdg/autostart/%{name}-load.desktop
%files -n nvidia-libXNVCtrl
%license COPYING