Sisyphus repository
Last update: 13 october 2019 | SRPMs: 17515 | Visits: 15263605
en ru br
ALT Linux repos
S:0.73-alt1
5.0: 0.60-alt1
4.1: 0.60-alt1
4.0: 0.59-alt1

Group :: Networking/Remote access
RPM: putty

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: putty
Version: 0.70
Release: alt1

Summary: Free SSH, Telnet and Rlogin client
License: MIT
Group: Networking/Remote access

Url: http://www.chiark.greenend.org.uk/~sgtatham/putty/
Source0: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz
Source1: %name-icons.tar.bz2
Source2: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz.gpg
Source3: putty.desktop
Source4: %name.watch
Packager: Michael Shigorin <mike at altlinux.org>

BuildRequires: libgtk+2-devel

%description
This is the Unix port of the popular Windows ssh client, PuTTY. It
supports flexible terminal setup, mid-session reconfiguration using
Ctrl-rightclick, multiple X11 authentication protocols, and various
other interesting things not provided by ssh in an xterm.

%prep
%setup
%setup -T -D -a1 -n %name-%version
sed -i 's|g_strncasecmp|g_ascii_strncasecmp|g' unix/gtkfont.c
sed -i 's|g_strcasecmp|g_ascii_strcasecmp|g' unix/gtkfont.c

%build
cd unix
# no $DISPLAY at buildtime. Define RELEASE/SNAPSHOT/SVN_REV here.
%configure --disable-gtktest CFLAGS="-Wall -Werror -Wstrict-aliasing -Wno-unused -DRELEASE=%version"
%make_build

mkdir -p %buildroot{%_bindir,%_man1dir}
%makeinstall_std prefix=%prefix mandir=%_mandir

# icon

install -pDm644 ../putty48.png %buildroot%_liconsdir/%name.png
install -pDm644 ../putty32.png %buildroot%_niconsdir/%name.png
install -pDm644 ../putty16.png %buildroot%_miconsdir/%name.png

install -pDm644 %SOURCE3 %buildroot%_desktopdir/%name.desktop

%files
%doc LICENCE README
%_bindir/*
%_man1dir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin