From 95e9b9936d62fe0c969e0ab8d4a3209fa35df190 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:36:40 +0100 Subject: [PATCH] update to 0.77 [release 0.77-1mamba;Tue Jul 05 2022] --- putty.spec | 51 +++++++++++++++++++++++++++++---------------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/putty.spec b/putty.spec index 997a52a..69d224d 100644 --- a/putty.spec +++ b/putty.spec @@ -1,46 +1,48 @@ Name: putty -Version: 0.76 +Version: 0.77 Release: 1mamba Summary: A free implementation of Telnet and SSH with GTK GUI Group: Graphical Desktop/Applications/Networking Vendor: openmamba Distribution: openmamba -Packager: Aleph0 +Packager: Silvan Calarco URL: https://www.chiark.greenend.org.uk/~sgtatham/putty/ -Source0: http://the.earth.li/~sgtatham/putty/latest/putty-%{version}.tar.gz +Source0: https://the.earth.li/~sgtatham/putty/%{version}/putty-%{version}.tar.gz Source1: putty.desktop Source2: putty.png Patch0: putty-0.62-glibc-2.16.patch License: MIT -BuildRequires: libgtk1-devel +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXext-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk3-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libpango-devel +## AUTOBUILDREQ-END %description PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator. +%debug_package + %prep %setup -q #%patch0 -p1 %build -cd unix -%configure -%make VER=-DRELEASE=%{version} +%cmake -d build -##%{__sed} -i -e "/.*sbcsdat.c/d" manifest -#./mkfiles.pl -#sed -i -e "s/-O2 -Wall -Werror/$RPM_OPT_FLAGS/g" \ -# -e "s,/usr/local,%{_prefix},g" \ -# unix/Makefile.gtk -#ln -s Makefile.gtk unix/Makefile - -#% make -C unix -f Makefile.gtk VER=-DRELEASE=%{version} +%make %install -[ "%{buildroot}" != / ] && rm -rf %{buildroot} -install -d %{buildroot}/{%{_bindir},%{_mandir}/man1} - -%makeinstall -C unix -f Makefile.gtk \ - prefix=%{_prefix} mandir=%{_mandir} +%makeinstall -C build install -D -m 0644 %{S:1} \ %{buildroot}%{_datadir}/applications/%{name}.desktop @@ -53,19 +55,24 @@ install -D -m 0644 %{S:2} \ %files %defattr(-,root,root) %{_bindir}/pageant +%{_bindir}/psusan %{_bindir}/plink %{_bindir}/pscp %{_bindir}/psftp %{_bindir}/pterm %{_bindir}/putty %{_bindir}/puttygen -%{_bindir}/puttytel +#%{_bindir}/puttytel %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/putty.png %{_mandir}/man1/* -%doc LICENCE README* +%doc LICENCE +#README* %changelog +* Tue Jul 05 2022 Silvan Calarco 0.77-1mamba +- update to 0.77 + * Sun Jul 18 2021 Automatic Build System 0.76-1mamba - automatic version update by autodist