]>
Commit | Line | Data |
---|---|---|
8594399f JB |
1 | # |
2 | # Conditional build: | |
5985f375 | 3 | %bcond_without nvidia_settings # build the main package |
b27b2c83 | 4 | %bcond_without libXNVCtrl # build libXNVCtrl for http://websvn.kde.org/trunk/kdenonbeta/nvidia/ |
8594399f | 5 | # |
6f31a50d ER |
6 | %define _buildid 20061219 |
7 | %define _rel 1 | |
b27b2c83 ER |
8 | Summary: Tool for configuring the NVIDIA driver |
9 | Name: nvidia-settings | |
10 | Version: 1.0 | |
5985f375 | 11 | Release: 0.%{_buildid}.%{_rel} |
b27b2c83 ER |
12 | License: GPL |
13 | Group: X11 | |
b27b2c83 | 14 | Source0: ftp://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.gz |
6f31a50d | 15 | # Source0-md5: 414a838f01093ceb0ae8535c35e21eac |
84ced5dd | 16 | Patch0: libXNVCtrl-shared.patch |
b27b2c83 | 17 | Patch1: %{name}-xlibs.patch |
8594399f | 18 | URL: ftp://download.nvidia.com/XFree86/nvidia-settings/ |
4a9d0e43 | 19 | BuildRequires: XFree86-devel |
b27b2c83 | 20 | %if %{with nvidia_settings} |
4a9d0e43 | 21 | BuildRequires: gtk+2-devel |
728ab98a | 22 | BuildRequires: m4 |
4a9d0e43 | 23 | BuildRequires: pkgconfig |
b27b2c83 | 24 | %endif |
5985f375 | 25 | Requires: libXNVCtrl = %{version}-%{release} |
b27b2c83 ER |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The `nvidia-settings` utility is a tool for configuring the NVIDIA | |
30 | Linux graphics driver. It operates by communicating with the NVIDIA X | |
31 | driver, querying and updating state as appropriate. This communication | |
32 | is done with the NV-CONTROL X extension. | |
33 | ||
34 | Values such as brightness and gamma, XVideo attributes, temperature, | |
35 | and OpenGL settings can be queried and configured via nvidia-settings. | |
36 | ||
37 | When nvidia-settings starts, it reads the current settings from its | |
38 | configuration file and sends those settings to the X server. Then, it | |
39 | displays a graphical user interface (GUI) interface for configuring | |
40 | the current settings. When nvidia-settings exits, it queries the | |
41 | current settings from the X server and saves them to the configuration | |
42 | file. | |
43 | ||
8594399f JB |
44 | %description -l pl |
45 |