File putty.spec of Package putty

#
# spec file for package putty
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           putty
Version:        0.62
Release:        0
Summary:        GTK-based terminal emulator program
License:        MIT
Group:          System/X11/Utilities
Url:            http://www.chiark.greenend.org.uk/~sgtatham/putty/

Source:         %name-%version.tar.bz2
Patch1:         putty-01-werror.diff
Patch2:         putty-02-remove-gtk1.diff
Patch3:         putty-03-config.diff
Patch4:		putty-04-nodate.diff
Patch5:		putty-05-glib-deprecated.diff
Patch6:		putty-06-gtk2-indivhdr.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gtk2-devel
BuildRequires:  krb5-devel

%description
PuTTY is a terminal emulator application which can act as a client
for the SSH, Telnet, rlogin, and raw TCP computing protocols and as a
serial console client.

%prep
%setup -q
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -p1

%build
pushd unix/;
autoreconf -fi;
%configure
make %{?_smp_mflags};
popd;

%install
pushd unix/;
make install DESTDIR="%buildroot";
popd;

%files
%defattr(-,root,root)
%_bindir/*
%doc %_mandir/man*/*

%changelog
openSUSE Build Service is sponsored by