some cleanups
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/putty?expand=0&rev=21
This commit is contained in:
parent
772ddd573d
commit
8c1336f6a6
16
putty.spec
16
putty.spec
@ -53,9 +53,9 @@ make %{?_smp_mflags} -C icons cicons pngs
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
b="%buildroot"
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications/
|
mkdir -p "$b/%_datadir/applications/"
|
||||||
cat >%{buildroot}%{_datadir}/applications/%{name}.desktop <<EOF
|
cat >"$b/%_datadir/applications/%name.desktop" <<-EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=PuTTY SSH Client
|
Name=PuTTY SSH Client
|
||||||
GenericName=PuTTY
|
GenericName=PuTTY
|
||||||
@ -69,11 +69,11 @@ EOF
|
|||||||
|
|
||||||
%suse_update_desktop_file -n %name
|
%suse_update_desktop_file -n %name
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps/
|
mkdir -p "$b/%_datadir/pixmaps/"
|
||||||
install -m644 icons/xpmpterm.c %{buildroot}%{_datadir}/pixmaps/pterm.xpm
|
install -m644 icons/xpmpterm.c "$b/%_datadir/pixmaps/pterm.xpm"
|
||||||
install -m644 icons/xpmputty.c %{buildroot}%{_datadir}/pixmaps/putty.xpm
|
install -m644 icons/xpmputty.c "$b/%_datadir/pixmaps/putty.xpm"
|
||||||
install -m644 icons/pterm-32.png %{buildroot}%{_datadir}/pixmaps/pterm.png
|
install -m644 icons/pterm-32.png "$b/%_datadir/pixmaps/pterm.png"
|
||||||
install -m644 icons/putty-32.png %{buildroot}%{_datadir}/pixmaps/putty.png
|
install -m644 icons/putty-32.png "$b/%_datadir/pixmaps/putty.png"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
|
Loading…
Reference in New Issue
Block a user