From 70bf61d4737f03b7979b76228401d44b2b7a30ea88383129c6ea117dabf8a54b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 28 May 2022 20:08:09 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/putty?expand=0&rev=73 --- putty.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/putty.spec b/putty.spec index 33a14eb..e44c905 100644 --- a/putty.spec +++ b/putty.spec @@ -52,12 +52,13 @@ openssh, and "putty" is the program that combines both in one. %autosetup -p1 %build +make -C icons cicons pngs +# # from defs.h: """PuTTY is a security project, so assertions are # important""" (-DNDEBUG injected by optflags not allowed) # %cmake -DCMAKE_C_FLAGS:STRING="%optflags -UNDEBUG" %cmake_build -#make_build -C icons cicons pngs %install %cmake_install @@ -78,12 +79,14 @@ EOF %suse_update_desktop_file -n %name mkdir -p "$b/%_datadir/pixmaps/" -install -m644 unix/pterm-xpm.c "$b/%_datadir/pixmaps/pterm.xpm" -install -m644 unix/putty-xpm.c "$b/%_datadir/pixmaps/putty.xpm" +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" %files %license LICENCE -%doc doc/*.html +%doc doc/*.but %_mandir/man*/* %_bindir/* %_datadir/applications/%name.desktop