Группа :: Сети/Удалённый доступ
Пакет: putty
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: putty
Version: 0.60
Release: alt3
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
Patch3: putty-0.60-alt-gcc44-stub.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Mon May 25 2009
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 -n %name-%version
%setup -T -D -a1 -n %name-%version
%patch0 -p1
#patch1 -p1
%patch2 -p1
%patch3 -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%_niconsdir/%name.png
install -D -m 644 ../putty16.png %buildroot%_miconsdir/%name.png
install -pD -m644 %SOURCE3 %buildroot%_desktopdir/%name.desktop
%files
%doc LICENCE README
%_bindir/*
%_man1dir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.60
Release: alt3
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
Patch3: putty-0.60-alt-gcc44-stub.patch
Packager: Michael Shigorin <mike at altlinux.org>
# Automatically added by buildreq on Mon May 25 2009
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 -n %name-%version
%setup -T -D -a1 -n %name-%version
%patch0 -p1
#patch1 -p1
%patch2 -p1
%patch3 -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%_niconsdir/%name.png
install -D -m 644 ../putty16.png %buildroot%_miconsdir/%name.png
install -pD -m644 %SOURCE3 %buildroot%_desktopdir/%name.desktop
%files
%doc LICENCE README
%_bindir/*
%_man1dir/*
%_desktopdir/*
%_miconsdir/*.png
%_niconsdir/*.png
%_liconsdir/*.png
%changelog
…
Полный changelog можно просмотреть здесь