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

  ViewVC Help
Powered by ViewVC 1.1.30