Name: putty Version: 0.62 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: %{name}.desktop Source2: %{name}.png Patch0: %{name}-%{version}-aix-gtk.patch Requires: glib >= 1.2.10 Requires: gtk+ >= 1.2.10 Requires: krb5-libs >= 1.8.3-1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: coreutils, patch BuildRequires: glib-devel >= 1.2.10 BuildRequires: gtk+-devel >= 1.2.10 BuildRequires: krb5-devel >= 1.8.3-1 %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 cd unix ln -s Makefile.gtk Makefile make cd .. %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} export PATH=/opt/freeware/bin:$PATH cd unix make 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 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Applications install -m 644 -D -p %{SOURCE2} $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 * 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