2024-05-28 00:17:33 +02:00
|
|
|
Name: nvidia-settings
|
2024-08-29 10:45:45 +02:00
|
|
|
Version: 560.35.03
|
2024-05-28 00:17:33 +02:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: NVIDIA driver control panel
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-06-08 10:54:36 +02:00
|
|
|
URL: https://www.nvidia.com/en-us/drivers/unix/
|
2024-05-28 00:17:33 +02:00
|
|
|
Source: https://github.com/NVIDIA/nvidia-settings.git/%{version}/nvidia-settings-%{version}.tar.bz2
|
|
|
|
Patch0: nvidia-settings-555.42.02-libxnvctrl_so.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXxf86vm-devel
|
|
|
|
BuildRequires: libat-spi2-core-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libwayland-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
NVIDIA driver control panel.
|
|
|
|
|
|
|
|
%package -n libxnvctrl
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: NVIDIA XNVCtrl shared library
|
|
|
|
|
|
|
|
%description -n libxnvctrl
|
|
|
|
This package contains shared libraries for libXNVCtrl.
|
|
|
|
|
|
|
|
%package -n libxnvctrl-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for libxnvctrl
|
|
|
|
Requires: libxnvctrl = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libxnvctrl-devel
|
|
|
|
This package contains libraries and header files for developing applications that use libXNVCtrl.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch 0 -p1 -b .libxnvctrl_so
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
DO_STRIP=
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{buildroot}%{_libdir} \
|
|
|
|
DO_STRIP=
|
|
|
|
|
|
|
|
install -D -m644 doc/nvidia-settings.desktop %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
|
|
|
|
install -D -m644 doc/nvidia-settings.png %{buildroot}%{_datadir}/pixmaps/nvidia-settings.png
|
|
|
|
sed \
|
|
|
|
-e 's:__UTILS_PATH__:/usr/bin:' \
|
|
|
|
-e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' \
|
|
|
|
-e 's/__NVIDIA_SETTINGS_DESKTOP_CATEGORIES__/Settings;HardwareSettings;/' \
|
|
|
|
-e 's/Icon=.*/Icon=nvidia-settings/' \
|
|
|
|
-i %{buildroot}%{_datadir}/applications/nvidia-settings.desktop
|
|
|
|
|
|
|
|
install -D -m0644 src/libXNVCtrl/*.h -t %{buildroot}%{_includedir}/NVCtrl
|
|
|
|
cp -Pr src/_out/Linux_*/libXNVCtrl.* -t %{buildroot}%{_libdir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n libxnvctrl -p /sbin/ldconfig
|
|
|
|
%postun -n libxnvctrl -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/nvidia-settings
|
|
|
|
%{_libdir}/libnvidia-gtk2.so.*
|
|
|
|
%{_libdir}/libnvidia-gtk3.so.*
|
|
|
|
%{_libdir}/libnvidia-wayland-client.so.*
|
|
|
|
%{_mandir}/man1/nvidia-settings.1*
|
|
|
|
%{_datadir}/applications/nvidia-settings.desktop
|
|
|
|
%{_datadir}/pixmaps/nvidia-settings.png
|
|
|
|
|
|
|
|
%files -n libxnvctrl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libXNVCtrl.so.*
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files -n libxnvctrl-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/NVCtrl
|
|
|
|
%{_includedir}/NVCtrl/*.h
|
|
|
|
%{_libdir}/libXNVCtrl.a
|
|
|
|
%{_libdir}/libXNVCtrl.so
|
|
|
|
|
|
|
|
%changelog
|
2024-08-29 10:45:45 +02:00
|
|
|
* Fri Aug 23 2024 Automatic Build System <autodist@openmamba.org> 560.35.03-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Aug 09 2024 Automatic Build System <autodist@openmamba.org> 560.31.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jul 26 2024 Automatic Build System <autodist@openmamba.org> 560.28.03-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-07-03 11:01:54 +02:00
|
|
|
* Tue Jul 02 2024 Automatic Build System <autodist@openmamba.org> 555.58.02-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-30 21:26:12 +02:00
|
|
|
* Sat Jun 29 2024 Automatic Build System <autodist@openmamba.org> 555.58-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-08 10:54:36 +02:00
|
|
|
* Fri Jun 07 2024 Automatic Build System <autodist@openmamba.org> 555.52.04-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-05-28 00:17:33 +02:00
|
|
|
* Mon May 27 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 555.42.02-1mamba
|
|
|
|
- package created using the webbuild interface
|