Jan Engelhardt
2c117cc516
OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/putty?expand=0&rev=11
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package putty
|
|
#
|
|
# Copyright (c) 2013 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.63
|
|
Release: 0
|
|
Summary: GTK-based terminal emulator program
|
|
License: MIT
|
|
Group: System/X11/Utilities
|
|
Url: http://www.chiark.greenend.org.uk/~sgtatham/putty/
|
|
|
|
Source: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz
|
|
Source2: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz.RSA
|
|
Patch1: 0001-Revert-the-default-for-font-bolding-style.patch
|
|
Patch2: putty-03-config.diff
|
|
Patch3: putty-04-nodate.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%if 0%{?suse_version} >= 1230
|
|
BuildRequires: gpg-offline
|
|
%endif
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: krb5-devel
|
|
Conflicts: pssh
|
|
|
|
%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
|
|
cp %_sourcedir/%name-%version.tar.gz.RSA %_sourcedir/%name-%version.tar.gz.sig
|
|
%{?gpg_verify: %gpg_verify %_sourcedir/%name-%version.tar.gz.sig}
|
|
%setup -q
|
|
%patch -P 1 -P 2 -P 3 -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags};
|
|
|
|
%install
|
|
make install DESTDIR="%buildroot";
|
|
|
|
%check
|
|
make check
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc LICENCE
|
|
%_bindir/*
|
|
%doc %_mandir/man*/*
|
|
%doc doc/*.html
|
|
|
|
%changelog
|