Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again
nvidia-settings
nvidia-settings.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nvidia-settings.spec of Package nvidia-settings
# # spec file for package nvidia-settings (Version 260.19.36) # # # Copyright (c) 2010 Malcolm J Lewis <malcolmlewis@opensuse.org> # # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: nvidia-settings Version: 260.19.44 Release: 1 License: GPL Summary: Configuration Tool for nVidia GPUs Url: http://www.nvidia.com/object/unix.html Group: Hardware/Other Source: ftp://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-%{version}.tar.bz2 Source1: nvidia-settings.desktop Source2: %{name}-%{version}-rpmlintrc # PATCH-FIX-OPENSUSE nvidia-settings-optflags.patch malcolmlewis@opensuse.org -- Add rpm opt flags to build Patch1: nvidia-settings-optflags.patch BuildRequires: Mesa BuildRequires: Mesa-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make %if 0%{?suse_version} >= 1130 BuildRequires: pkgconfig(gtk+-2.0) %else BuildRequires: gtk2-devel %endif BuildRequires: update-desktop-files BuildRequires: xorg-x11-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The nvidia-settings utility is a tool for configuring the NVIDIA Linux graphics driver. It operates by communicating with the NVIDIA X driver, querying and updating state as appropriate. This communication is done with the NV-CONTROL X extension. Values such as brightness and gamma, XVideo attributes, temperature, and OpenGL settings can be queried and configured via nvidia-settings. When nvidia-settings starts, it reads the current settings from its configuration file and sends those settings to the X server. Then, it displays a graphical user interface (GUI) interface for configuring the current settings. When nvidia-settings exits, it queries the current settings from the X server and saves them to the configuration file. %package -n libXNVCtrl Summary: NVidia Control Library Group: Development/Libraries/C and C++ %description -n libXNVCtrl Library for configuring the NVIDIA Linux graphics driver. It operates by communicating with the NVIDIA X driver, querying and updating state as appropriate. This communication is done with the NV-CONTROL X extension. %prep %setup -q -n "nvidia-settings-%{version}" %patch1 %build SUBS="src/libXNVCtrl ." for d in $SUBS; do make -C "$d" clean done for d in $SUBS; do make %{?jobs:-j%{jobs}} \ CC="gcc" \ X11R6_DIR="%{_prefix}" \ X11_LIB_DIRS="-L%{_libdir}" \ X11_INC_DIRS="-I%{_includedir}" \ STRIP=touch \ INSTALL="install" \ NV_VERBOSE=1 \ OPTFLAGS="%{optflags} -fPIC" \ -C "$d" done %install install -d "%{buildroot}%{_bindir}" make \ STRIP=touch \ INSTALL="install" \ bindir="%{buildroot}%{_bindir}" \ mandir="%{buildroot}%{_mandir}/man1" \ install rm -f \ "%{buildroot}%{_bindir}"/*.h \ "%{buildroot}%{_bindir}"/*.mk for g in "%{buildroot}%{_mandir}"/man*/*.gz; do gzip -d "$g" done chmod 0644 "%{buildroot}%{_mandir}"/man*/*.* install -d "%{buildroot}%{_libdir}" install -m0644 src/libXNVCtrl/libXNVCtrl.a "%{buildroot}%{_libdir}/" install -d "%{buildroot}%{_includedir}/NVCtrl" install -m0644 src/libXNVCtrl/*.h "%{buildroot}%{_includedir}/NVCtrl/" install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %suse_update_desktop_file -r "%{name}" System HardwareSettings %clean %{?buildroot:rm -rf %{buildroot}} %files %defattr(-,root,root) %doc COPYING doc/*.txt %{_bindir}/nvidia-settings %{_datadir}/applications/%{name}.desktop %doc %{_mandir}/man1/nvidia-settings.1%{ext_man} %files -n libXNVCtrl %defattr(-,root,root) %{_includedir}/NVCtrl %{_libdir}/libXNVCtrl.a %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor