%define patchSet0 20060404 Name: corkscrew Summary: Tool for tunneling SSH through HTTP proxies Version: 2.0 Release: %mkrel 11 License: GPLv2 Url: http://www.agroman.net/%{name} Group: Networking/Other Source0: http://www.agroman.net/%{name}/%{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}.%{patchSet0}-manpage.patch Patch1: %{name}-%{version}.%{patchSet0}-firstpacket.patch Patch2: corkscrew-2.0-automake.patch %description Corkscrew is a tool for tunneling SSH through HTTP proxies. %prep %setup %patch0 -p1 -b .manpage %patch1 -p1 -b .firstpacket %patch2 -p1 -b .automake # Fix some bad references in the man pages perl -pi -e 's|/usr/local/bin|%{_bindir}|g;' corkscrew.1 README %build autoreconf -vfi %configure2_5x %make %install %makeinstall_std # man page install -Dpm 644 corkscrew.1 %{buildroot}%{_mandir}/man1/corkscrew.1 %files %doc README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Fri Jan 11 2013 umeabot <umeabot> 2.0-11.mga3 + Revision: 348176 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Mon Dec 31 2012 wally <wally> 2.0-10.mga3 + Revision: 336578 - fix build with new automake 1.13 * Tue Dec 25 2012 wally <wally> 2.0-9.mga3 + Revision: 335011 - add patch to fix build with new automake - clean .spec * Thu Dec 01 2011 blino <blino> 2.0-8.mga2 + Revision: 174661 - uncompress patches - imported package corkscrew