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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1937142 by umeabot, Wed Feb 24 21:33:17 2021 UTC revision 1937143 by daviddavid, Mon Jan 30 22:52:22 2023 UTC
# Line 1  Line 1 
1  Name:           putty  Name:           putty
2  Version:        0.74  Version:        0.78
3  Release:        %mkrel 2  Release:        %mkrel 1
4  Summary:        SSH, Telnet and Rlogin client  Summary:        SSH, Telnet and Rlogin client
5  License:        MIT  License:        MIT
6  Group:          Networking/Remote access  Group:          Networking/Remote access
7  URL:            http://www.chiark.greenend.org.uk/~sgtatham/putty/  URL:            https://www.chiark.greenend.org.uk/~sgtatham/putty/
8  Source0:        http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz  Source0:        https://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz
9  Source1:        %{name}.desktop  Source1:        %{name}.desktop
10  Source2:        %{name}-icons.tar.bz2  Source2:        %{name}-icons.tar.bz2
11    BuildRequires:  cmake
12  BuildRequires:  pkgconfig(gtk+-3.0)  BuildRequires:  pkgconfig(gtk+-3.0)
13  BuildRequires:  halibut >= 1.1  BuildRequires:  halibut >= 1.1
14  BuildRequires:  desktop-file-utils  BuildRequires:  desktop-file-utils
# Line 23  other interesting things not provided by Line 24  other interesting things not provided by
24  %setup -q -T -D -a2  %setup -q -T -D -a2
25    
26  %build  %build
27  export CFLAGS="%{optflags} -Wno-error"  %cmake
28  %configure  %cmake_build
29  perl -i -pE 's/(\s|^)-Werror(\s|$)/$1$2/g' `find . -name Makefile`  
30  %make_build  make -C %{_vpath_builddir}/doc
31    
32  %install  %install
33  install -d  html  %cmake_install
34  install -pm 0644 doc/*.html html  
35  %make_install  install -d html
36    install -pm 0644 doc/html/*.html html
37    
38  desktop-file-install \  desktop-file-install \
39    --dir %{buildroot}%{_datadir}/applications \    --dir %{buildroot}%{_datadir}/applications \
# Line 43  install -D -m 644 %{name}32.png %{buildr Line 45  install -D -m 644 %{name}32.png %{buildr
45  install -D -m 644 %{name}16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%name.png  install -D -m 644 %{name}16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%name.png
46    
47  %files  %files
48  %doc LICENCE README CHECKLST.txt html  %doc README CHECKLST.txt html/
49    %license LICENCE
50  %{_bindir}/*  %{_bindir}/*
51  %{_mandir}/man1/*.1*  %{_mandir}/man1/*.1*
52  %{_datadir}/applications/*  %{_datadir}/applications/*

Legend:
Removed from v.1937142  
changed lines
  Added in v.1937143

  ViewVC Help
Powered by ViewVC 1.1.28