Sisyphus repository
Last update: 13 october 2019 | SRPMs: 17515 | Visits: 15263063
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.60
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.DSA
Source3: putty.desktop
Source4: %name.watch

Patch0: putty-0.59-alt-gcc4.patch
Patch1: putty-0.59-alt-makefile.patch
Patch2: putty-0.59-alt-release.patch
Packager: Eugene Ostapets <eostapets at altlinux.org>

# Automatically added by buildreq on Sun Jan 28 2007

BuildRequires: gtk+-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 -q -n %name-%version
%setup -q -T -D -a1 -n %name-%version
%patch0 -p1
#%%patch1 -p1
%patch2 -p1

%build
cd unix
# no $DISPLAY at buildtime
%configure --disable-gtktest
# they ignore CFLAGS; maybe forgot to re-define RELEASE?
# both remedied by patches
#add_optflags -Wno-unused -DRELEASE=%version
%make_build

mkdir -p %buildroot{%_bindir,%_man1dir}
make install DESTDIR=%buildroot prefix=%prefix mandir=%_mandir

# icon

install -D -m 644 ../putty48.png %buildroot%_liconsdir/%name.png
install -D -m 644 ../putty32.png %buildroot%_iconsdir/%name.png
install -D -m 644 ../putty16.png %buildroot%_miconsdir/%name.png

install -pD -m644 %SOURCE3 %buildroot%_desktopdir/%name.desktop

%post
%update_menus

%postun
%clean_menus

%files
%doc LICENCE README
%_bindir/*
%_man1dir/*
%_desktopdir/*
%_miconsdir/*.png
%_iconsdir/*.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