/[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 1603638 - (hide annotations) (download)
Thu Jul 9 12:33:24 2020 UTC (3 years, 8 months ago) by ovitters
Original Path: cauldron/putty/current/SPECS/putty.spec
File size: 1547 byte(s)
drop Mageia specific category from desktop file (mga#2449)
1 sander85 116931 Name: putty
2 daviddavid 1600769 Version: 0.74
3 ovitters 1603638 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 daviddavid 1600769 Source0: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
9 sander85 116931 Source1: %{name}.desktop
10     Source2: %{name}-icons.tar.bz2
11 shlomif 1108386 BuildRequires: pkgconfig(gtk+-3.0)
12 gw666 988774 BuildRequires: halibut >= 1.1
13 fwang 145576 BuildRequires: desktop-file-utils
14 sander85 116931
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 sander85 123812 %setup -q
23     %setup -q -T -D -a2
24 sander85 116931
25     %build
26 daviddavid 1225683 export CFLAGS="%{optflags} -Wno-error"
27 wally 1480316 %configure
28 shlomif 1428454 perl -i -pE 's/(\s|^)-Werror(\s|$)/$1$2/g' `find . -name Makefile`
29 shlomif 1108386 %make_build
30 sander85 123812
31 sander85 116931 %install
32     install -d html
33     install -pm 0644 doc/*.html html
34 shlomif 1108386 %make_install
35 sander85 116931
36     desktop-file-install \
37 daviddavid 1448546 --dir %{buildroot}%{_datadir}/applications \
38 sander85 116931 %{SOURCE1}
39    
40 daviddavid 1448546 install -D -m 644 %{name}48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%name.png
41     install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%name.png
42     install -D -m 644 %{name}32.png %{buildroot}%{_datadir}/icons/%name.png
43     install -D -m 644 %{name}16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%name.png
44 sander85 116931
45     %files
46     %doc LICENCE README CHECKLST.txt html
47     %{_bindir}/*
48     %{_mandir}/man1/*.1*
49     %{_datadir}/applications/*
50     %{_datadir}/icons/hicolor/*/apps/*.png
51     %{_datadir}/icons/putty.png

  ViewVC Help
Powered by ViewVC 1.1.30