From 8c1336f6a6228705abc398b9f5514720cd667344f9ab7010267e2088fa183507 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 13 May 2015 15:24:02 +0000 Subject: [PATCH] some cleanups OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/putty?expand=0&rev=21 --- putty.spec | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/putty.spec b/putty.spec index 752ebf0..11b72c4 100644 --- a/putty.spec +++ b/putty.spec @@ -53,27 +53,27 @@ make %{?_smp_mflags} -C icons cicons pngs %install %make_install - -mkdir -p %{buildroot}%{_datadir}/applications/ -cat >%{buildroot}%{_datadir}/applications/%{name}.desktop <"$b/%_datadir/applications/%name.desktop" <<-EOF + [Desktop Entry] + Name=PuTTY SSH Client + GenericName=PuTTY + Comment=Connect to an SSH server with PuTTY + Exec=putty + Icon=putty + Terminal=false + Type=Application + Categories=GTK;Network;RemoteAccess; EOF %suse_update_desktop_file -n %name -mkdir -p %{buildroot}%{_datadir}/pixmaps/ -install -m644 icons/xpmpterm.c %{buildroot}%{_datadir}/pixmaps/pterm.xpm -install -m644 icons/xpmputty.c %{buildroot}%{_datadir}/pixmaps/putty.xpm -install -m644 icons/pterm-32.png %{buildroot}%{_datadir}/pixmaps/pterm.png -install -m644 icons/putty-32.png %{buildroot}%{_datadir}/pixmaps/putty.png +mkdir -p "$b/%_datadir/pixmaps/" +install -m644 icons/xpmpterm.c "$b/%_datadir/pixmaps/pterm.xpm" +install -m644 icons/xpmputty.c "$b/%_datadir/pixmaps/putty.xpm" +install -m644 icons/pterm-32.png "$b/%_datadir/pixmaps/pterm.png" +install -m644 icons/putty-32.png "$b/%_datadir/pixmaps/putty.png" %check make check