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 |
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 \ |
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/* |