/[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 1937143 - (show annotations) (download)
Mon Jan 30 22:52:22 2023 UTC (14 months, 2 weeks ago) by daviddavid
File size: 1509 byte(s)
- new version: 0.78, (fixes mga#28943)
- switch to cmake build system

1 Name: putty
2 Version: 0.78
3 Release: %mkrel 1
4 Summary: SSH, Telnet and Rlogin client
5 License: MIT
6 Group: Networking/Remote access
7 URL: https://www.chiark.greenend.org.uk/~sgtatham/putty/
8 Source0: https://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
10 Source2: %{name}-icons.tar.bz2
11 BuildRequires: cmake
12 BuildRequires: pkgconfig(gtk+-3.0)
13 BuildRequires: halibut >= 1.1
14 BuildRequires: desktop-file-utils
15
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 %prep
23 %setup -q
24 %setup -q -T -D -a2
25
26 %build
27 %cmake
28 %cmake_build
29
30 make -C %{_vpath_builddir}/doc
31
32 %install
33 %cmake_install
34
35 install -d html
36 install -pm 0644 doc/html/*.html html
37
38 desktop-file-install \
39 --dir %{buildroot}%{_datadir}/applications \
40 %{SOURCE1}
41
42 install -D -m 644 %{name}48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%name.png
43 install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%name.png
44 install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/%name.png
45 install -D -m 644 %{name}16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%name.png
46
47 %files
48 %doc README CHECKLST.txt html/
49 %license LICENCE
50 %{_bindir}/*
51 %{_mandir}/man1/*.1*
52 %{_datadir}/applications/*
53 %{_datadir}/icons/hicolor/*/apps/*.png
54 %{_datadir}/icons/putty.png

  ViewVC Help
Powered by ViewVC 1.1.30