update to 0.77 [release 0.77-1mamba;Tue Jul 05 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:36:40 +01:00
parent cfac014e8d
commit 95e9b9936d

View File

@ -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 <aleph0@openmamba.org>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.77-1mamba
- update to 0.77
* Sun Jul 18 2021 Automatic Build System <autodist@mambasoft.it> 0.76-1mamba
- automatic version update by autodist