forked from pool/putty
This commit is contained in:
parent
cc6d35ddcf
commit
70bf61d473
11
putty.spec
11
putty.spec
@ -52,12 +52,13 @@ openssh, and "putty" is the program that combines both in one.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
make -C icons cicons pngs
|
||||||
|
#
|
||||||
# from defs.h: """PuTTY is a security project, so assertions are
|
# from defs.h: """PuTTY is a security project, so assertions are
|
||||||
# important""" (-DNDEBUG injected by optflags not allowed)
|
# important""" (-DNDEBUG injected by optflags not allowed)
|
||||||
#
|
#
|
||||||
%cmake -DCMAKE_C_FLAGS:STRING="%optflags -UNDEBUG"
|
%cmake -DCMAKE_C_FLAGS:STRING="%optflags -UNDEBUG"
|
||||||
%cmake_build
|
%cmake_build
|
||||||
#make_build -C icons cicons pngs
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@ -78,12 +79,14 @@ EOF
|
|||||||
%suse_update_desktop_file -n %name
|
%suse_update_desktop_file -n %name
|
||||||
|
|
||||||
mkdir -p "$b/%_datadir/pixmaps/"
|
mkdir -p "$b/%_datadir/pixmaps/"
|
||||||
install -m644 unix/pterm-xpm.c "$b/%_datadir/pixmaps/pterm.xpm"
|
install -m644 icons/xpmpterm.c "$b/%_datadir/pixmaps/pterm.xpm"
|
||||||
install -m644 unix/putty-xpm.c "$b/%_datadir/pixmaps/putty.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
|
%files
|
||||||
%license LICENCE
|
%license LICENCE
|
||||||
%doc doc/*.html
|
%doc doc/*.but
|
||||||
%_mandir/man*/*
|
%_mandir/man*/*
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_datadir/applications/%name.desktop
|
%_datadir/applications/%name.desktop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user