Name: putty Version: 0.70 Release: 1 Summary: SSH, Telnet and Rlogin client License: MIT Group: Applications/Internet URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/ Source0: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz Source1: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz.gpg Source3: %{name}.desktop Source4: %{name}.png Patch0: %{name}-%{version}-aix-gtk.patch Requires: glib >= 1.2.10-3 Requires: gtk+ >= 1.2.10-6 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: coreutils, make, patch BuildRequires: glib-devel >= 1.2.10-3 BuildRequires: gtk+-devel >= 1.2.10-6 %description PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. %prep %setup -q export PATH=/opt/freeware/bin:$PATH %patch0 -p0 %build export LDFLAGS="-L/opt/freeware/lib -Wl,-bmaxdata:0x80000000 -Wl,-brtl" cd unix ln -s Makefile.gtk Makefile gmake cd .. %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} export PATH=/opt/freeware/bin:$PATH cd unix gmake DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd .. mkdir -p ${RPM_BUILD_ROOT}/etc/X11/applnk/Applications install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}/etc/X11/applnk/Applications install -m 644 -D -p %{SOURCE4} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/putty.png %files %defattr(-,root,system) %doc LICENCE %{_bindir}/* %{_mandir}/man1/* %{_datadir}/pixmaps/%{name}.png %config /etc/X11/applnk/Applications/%{name}.desktop %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %changelog * Tue Jul 18 2017 Michael Perzl - 0.70-1 - updated to version 0.70 * Tue May 02 2017 Michael Perzl - 0.69-1 - updated to version 0.69 * Thu Mar 09 2017 Michael Perzl - 0.68-1 - updated to version 0.68 * Tue Nov 29 2016 Michael Perzl - 0.67-2 - removed wrong dependency on krb5-libs * Fri Mar 11 2016 Michael Perzl - 0.67-1 - updated to version 0.67 * Fri Dec 25 2015 Michael Perzl - 0.66-1 - updated to version 0.66 * Wed Jul 29 2015 Michael Perzl - 0.65-1 - updated to version 0.65 * Mon Mar 02 2015 Michael Perzl - 0.64-1 - updated to version 0.64 * Wed Aug 07 2013 Michael Perzl - 0.63-1 - updated to version 0.63 * Mon Dec 12 2011 Michael Perzl - 0.62-1 - updated to version 0.62 * Thu Jul 14 2011 Michael Perzl - 0.61-1 - updated to version 0.61 * Tue Aug 14 2007 Michael Perzl - 0.60-1 - updated to version 0.60 * Fri Dec 30 2005 Michael Perzl - 0.58-1 - first version for AIX V5.1 and higher