File putty.spec of Package putty

#
# Spec file for package putty
#
# Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#


Name:           putty
Version:        0.62
Release:        0
License:        GPL
Summary:        A free implementation of Telnet and SSH along with an xterm terminal emulator
Url:            http://www.chiark.greenend.org.uk/~sgtatham/putty
Group:          Productivity/Networking/Diagnostic
Source:         %{name}-%{version}.tar.bz2
Patch:          g_strcasecmp.patch
BuildRequires:  gtk2-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an
xterm terminal emulator. It is written and maintained primarily by Simon Tatham.

Author:
--------
    Simon Tatham

%prep
%setup -q -n %{name}-%{version}
%patch


%build
pushd unix
    %configure
    %{__make} -f Makefile.gtk
popd

%install
pushd unix
    %makeinstall
popd


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root)
%{_bindir}/plink
%{_bindir}/pscp
%{_bindir}/psftp
%{_bindir}/pterm
%{_bindir}/putty
%{_bindir}/puttygen
%{_bindir}/puttytel
%{_mandir}/man1/plink.1.gz
%{_mandir}/man1/pscp.1.gz
%{_mandir}/man1/psftp.1.gz
%{_mandir}/man1/pterm.1.gz
%{_mandir}/man1/putty.1.gz
%{_mandir}/man1/puttygen.1.gz
%{_mandir}/man1/puttytel.1.gz