]> git.pld-linux.org Git - packages/nvidia-settings.git/commitdiff
- add .desktop file from xorg-driver-video-nvidia package auto/th/nvidia-settings-195_36_31-2
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 13 Mar 2011 19:15:07 +0000 (19:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nvidia-settings.desktop -> 1.1
    nvidia-settings.png -> 1.1
    nvidia-settings.spec -> 1.20

nvidia-settings.desktop [new file with mode: 0644]
nvidia-settings.png [new file with mode: 0644]
nvidia-settings.spec

diff --git a/nvidia-settings.desktop b/nvidia-settings.desktop
new file mode 100644 (file)
index 0000000..eab9af0
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=nVidia X Server Settings
+Name[pl]=Ustawienia X serwera nVidii
+Comment=Configure nVidia X Server Settings
+Comment[pl]=Konfiguracja ustawień X serwera NVndii
+Exec=nvidia-settings
+Icon=nvidia-settings
+Categories=Settings;HardwareSettings;
diff --git a/nvidia-settings.png b/nvidia-settings.png
new file mode 100644 (file)
index 0000000..b506d99
Binary files /dev/null and b/nvidia-settings.png differ
index 334c88f01962960fe8b319cb9a225c62ea169310..e81e0e5247d82ecc76f7450a0195a1855666c24e 100644 (file)
@@ -7,12 +7,14 @@ Summary:      Tool for configuring the NVIDIA driver
 Summary(pl.UTF-8):     Narzędzie do konfigurowania sterownika NVIDIA
 Name:          nvidia-settings
 Version:       195.36.31
-Release:       1
+Release:       2
 License:       GPL
 Group:         X11
 Source0:       ftp://download.nvidia.com/XFree86/nvidia-settings/%{name}-%{version}.tar.gz
 # Source0-md5: 30782edbe54e99f678cb73e08cd67470
 Patch0:                %{name}-xlibs.patch
+Source1:       %{name}.desktop
+Source2:       %{name}.png
 URL:           ftp://download.nvidia.com/XFree86/nvidia-settings/
 BuildRequires: OpenGL-devel
 BuildRequires: xorg-lib-libX11-devel
@@ -98,9 +100,11 @@ cd ../..
 %install
 rm -rf $RPM_BUILD_ROOT
 %if %{with nvidia_settings}
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install nvidia-settings $RPM_BUILD_ROOT%{_bindir}
-install doc/nvidia-settings.1 $RPM_BUILD_ROOT%{_mandir}/man1/nvidia-settings.1
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
+install -p nvidia-settings $RPM_BUILD_ROOT%{_bindir}
+cp -p doc/nvidia-settings.1 $RPM_BUILD_ROOT%{_mandir}/man1/nvidia-settings.1
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
 %endif
 
 %if %{with libXNVCtrl}
@@ -118,8 +122,10 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with nvidia_settings}
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/%{name}
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/nvidia-settings
+%{_mandir}/man1/nvidia-settings.1*
+%{_desktopdir}/nvidia-settings.desktop
+%{_pixmapsdir}/nvidia-settings.png
 %endif
 
 %if %{with libXNVCtrl}
This page took 0.037469 seconds and 4 git commands to generate.