/[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 180339 - (hide annotations) (download)
Sat Dec 10 15:24:58 2011 UTC (12 years, 4 months ago) by fwang
Original Path: cauldron/putty/current/SPECS/putty.spec
File size: 1692 byte(s)
new version 0.62
1 sander85 116931 Name: putty
2 fwang 180339 Version: 0.62
3     Release: %mkrel 1
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    
13     BuildRequires: gtk2-devel halibut
14 fwang 145576 BuildRequires: desktop-file-utils
15 sander85 116931
16     %description
17     This is the Unix port of the popular Windows ssh client, PuTTY. It
18     supports flexible terminal setup, mid-session reconfiguration using
19     Ctrl-rightclick, multiple X11 authentication protocols, and various
20     other interesting things not provided by ssh in an xterm.
21    
22    
23     %prep
24 sander85 123812 %setup -q
25     %setup -q -T -D -a2
26 sander85 116931 %patch0 -p1 -b .perms
27    
28    
29     %build
30     ./mkfiles.pl
31     %make -C doc
32 sander85 123812
33 sander85 116931 pushd unix
34     sed -i -e "s/-O2 -Wall -Werror/%{optflags}/g" \
35     -e "s,/usr/local,%{_prefix},g" \
36     Makefile.gtk
37     ln -s Makefile.gtk Makefile
38     popd
39 fwang 145576 %make VER=-DSNAPSHOT=%{version} -C unix CC="gcc %ldflags"
40 sander85 116931
41    
42     %install
43     install -d html
44     install -pm 0644 doc/*.html html
45     %makeinstall INSTALL="install -p" -C unix
46    
47     desktop-file-install \
48     --dir $RPM_BUILD_ROOT%{_datadir}/applications \
49     %{SOURCE1}
50    
51     install -D -m 644 %{name}48.png %buildroot/%{_datadir}/icons/hicolor/48x48/apps/%name.png
52     install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/hicolor/32x32/apps/%name.png
53     install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/%name.png
54     install -D -m 644 %{name}16.png %buildroot/%{_datadir}/icons/hicolor/16x16/apps/%name.png
55    
56     %files
57     %doc LICENCE README CHECKLST.txt html
58     %{_bindir}/*
59     %{_mandir}/man1/*.1*
60     %{_datadir}/applications/*
61     %{_datadir}/icons/hicolor/*/apps/*.png
62     %{_datadir}/icons/putty.png

  ViewVC Help
Powered by ViewVC 1.1.30