/[packages]/updates/8/putty/current/SPECS/putty.spec
ViewVC logotype

Annotation of /updates/8/putty/current/SPECS/putty.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 463793 - (hide annotations) (download)
Mon Aug 5 09:34:09 2013 UTC (10 years, 8 months ago) by oden
Original Path: cauldron/putty/current/SPECS/putty.spec
File size: 1784 byte(s)
- P1: security fix for CVE-2013-4852
1 sander85 116931 Name: putty
2 fwang 180339 Version: 0.62
3 oden 463793 Release: %mkrel 3
4 sander85 116931 Summary: SSH, Telnet and Rlogin client
5     License: MIT
6     Group: Networking/Remote access
7     URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/
8 sander85 123812 Source: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
9 sander85 116931 Source1: %{name}.desktop
10     Source2: %{name}-icons.tar.bz2
11     Patch0: putty-perms.patch
12 oden 463793 Patch1: putty-0.62-CVE-2013-4852.diff
13 sander85 116931
14 sander85 447302 BuildRequires: pkgconfig(gtk+-2.0)
15     BuildRequires: halibut
16 fwang 145576 BuildRequires: desktop-file-utils
17 sander85 116931
18     %description
19     This is the Unix port of the popular Windows ssh client, PuTTY. It
20     supports flexible terminal setup, mid-session reconfiguration using
21     Ctrl-rightclick, multiple X11 authentication protocols, and various
22     other interesting things not provided by ssh in an xterm.
23    
24    
25     %prep
26 sander85 123812 %setup -q
27     %setup -q -T -D -a2
28 sander85 116931 %patch0 -p1 -b .perms
29 oden 463793 %patch1 -p1 -b .CVE-2013-4852
30 sander85 116931
31     %build
32     ./mkfiles.pl
33     %make -C doc
34 sander85 123812
35 sander85 116931 pushd unix
36     sed -i -e "s/-O2 -Wall -Werror/%{optflags}/g" \
37     -e "s,/usr/local,%{_prefix},g" \
38     Makefile.gtk
39     ln -s Makefile.gtk Makefile
40     popd
41 fwang 145576 %make VER=-DSNAPSHOT=%{version} -C unix CC="gcc %ldflags"
42 sander85 116931
43    
44     %install
45     install -d html
46     install -pm 0644 doc/*.html html
47     %makeinstall INSTALL="install -p" -C unix
48    
49     desktop-file-install \
50     --dir $RPM_BUILD_ROOT%{_datadir}/applications \
51     %{SOURCE1}
52    
53     install -D -m 644 %{name}48.png %buildroot/%{_datadir}/icons/hicolor/48x48/apps/%name.png
54     install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/hicolor/32x32/apps/%name.png
55     install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/%name.png
56     install -D -m 644 %{name}16.png %buildroot/%{_datadir}/icons/hicolor/16x16/apps/%name.png
57    
58     %files
59     %doc LICENCE README CHECKLST.txt html
60     %{_bindir}/*
61     %{_mandir}/man1/*.1*
62     %{_datadir}/applications/*
63     %{_datadir}/icons/hicolor/*/apps/*.png
64     %{_datadir}/icons/putty.png

  ViewVC Help
Powered by ViewVC 1.1.30