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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1093630 - (show annotations) (download)
Sun Mar 19 19:19:52 2017 UTC (7 years, 1 month ago) by shlomif
Original Path: cauldron/putty/current/SPECS/putty.spec
File size: 1670 byte(s)
- New upstream version 0.68 with fixes ( MGA#20525 ).

1 Name: putty
2 Version: 0.68
3 Release: %mkrel 1
4 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 Source: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 Source2: %{name}-icons.tar.bz2
11 BuildRequires: pkgconfig(gtk+-2.0)
12 BuildRequires: halibut >= 1.1
13 BuildRequires: desktop-file-utils
14
15 %description
16 This is the Unix port of the popular Windows ssh client, PuTTY. It
17 supports flexible terminal setup, mid-session reconfiguration using
18 Ctrl-rightclick, multiple X11 authentication protocols, and various
19 other interesting things not provided by ssh in an xterm.
20
21 %prep
22 %setup -q
23 %setup -q -T -D -a2
24
25 %build
26 ./mkfiles.pl
27 %make -C doc
28
29 pushd unix
30 sed -i -e "s/-O2 -Wall -Werror/%{optflags}/g" \
31 -e "s,/usr/local,%{_prefix},g" \
32 Makefile.gtk
33 ln -s Makefile.gtk Makefile
34 popd
35 %make VER=-DSNAPSHOT=%{version} -C unix CC="gcc %ldflags"
36
37 %install
38 install -d html
39 install -pm 0644 doc/*.html html
40 %makeinstall INSTALL="install -p" -C unix
41
42 desktop-file-install \
43 --dir $RPM_BUILD_ROOT%{_datadir}/applications \
44 %{SOURCE1}
45
46 install -D -m 644 %{name}48.png %buildroot/%{_datadir}/icons/hicolor/48x48/apps/%name.png
47 install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/hicolor/32x32/apps/%name.png
48 install -D -m 644 %{name}32.png %buildroot/%{_datadir}/icons/%name.png
49 install -D -m 644 %{name}16.png %buildroot/%{_datadir}/icons/hicolor/16x16/apps/%name.png
50
51 %files
52 %doc LICENCE README CHECKLST.txt html
53 %{_bindir}/*
54 %{_mandir}/man1/*.1*
55 %{_datadir}/applications/*
56 %{_datadir}/icons/hicolor/*/apps/*.png
57 %{_datadir}/icons/putty.png

  ViewVC Help
Powered by ViewVC 1.1.30