Name: putty Version: 0.74 Release: %mkrel 2 Summary: SSH, Telnet and Rlogin client License: MIT Group: Networking/Remote access URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/ Source0: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}-icons.tar.bz2 BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: halibut >= 1.1 BuildRequires: desktop-file-utils %description This is the Unix port of the popular Windows ssh client, PuTTY. It supports flexible terminal setup, mid-session reconfiguration using Ctrl-rightclick, multiple X11 authentication protocols, and various other interesting things not provided by ssh in an xterm. %prep %setup -q %setup -q -T -D -a2 %build export CFLAGS="%{optflags} -Wno-error" %configure perl -i -pE 's/(\s|^)-Werror(\s|$)/$1$2/g' `find . -name Makefile` %make_build %install install -d html install -pm 0644 doc/*.html html %make_install desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ %{SOURCE1} install -D -m 644 %{name}48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%name.png install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%name.png install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/%name.png install -D -m 644 %{name}16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%name.png %files %doc LICENCE README CHECKLST.txt html %{_bindir}/* %{_mandir}/man1/*.1* %{_datadir}/applications/* %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/putty.png