%global svnver 8991 %global svndate 20100910 Name: putty Version: 0.60 Release: 6.%{svndate}svn%{?dist} Summary: SSH, Telnet and Rlogin client License: MIT Group: Applications/Internet URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/ #Source0: http://the.earth.li/~sgtatham/putty/latest/%{name}-%{version}.tar.gz # The source for this package was pulled from upstream's vcs. Use the # following commands to generate the tarball: # svn export -r %{svnver} svn://svn.tartarus.org/sgt/putty putty-%{svndate} # tar -cjvf putty-%{svndate}.tar.bz2 putty-%{svndate} Source0: %{name}-%{svndate}.tar.bz2 Source2: %{name}.desktop Source3: %{name}.png Patch0: putty-perms.patch BuildRequires: gtk2-devel krb5-devel halibut desktop-file-utils %description Putty is a SSH, Telnet & Rlogin client - this time for Linux. %prep %setup -q -n %{name}-%{svndate} %patch0 -p1 %build ./mkfiles.pl make -C doc pushd unix %{__sed} -i -e "s/-O2 -Wall -Werror/$RPM_OPT_FLAGS/g" \ -e "s,/usr/local,%{_prefix},g" \ Makefile.gtk ln -s Makefile.gtk Makefile popd make %{?_smp_mflags} VER=-DSNAPSHOT=%{version} -C unix %install rm -rf $RPM_BUILD_ROOT install -d html install -pm 0644 doc/*.html html make install DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} INSTALL="install -p" -C unix desktop-file-install \ --vendor "" \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ %{SOURCE2} install -m644 -D -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/putty.png %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENCE html %{_bindir}/* %{_mandir}/man1/*.1* %{_datadir}/applications/* %{_datadir}/pixmaps/%{name}.png %changelog * Fri Sep 10 2010 Mark Chappell <tremble@fedoraproject.org> - 0.60-6.20100910svn - Bump version in line with packaging specs * Fri Sep 10 2010 Mark Chappell <tremble@fedoraproject.org> - 0.60-6.8991svn - Update to latest GTK2 version from SVN (r8991) * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.60-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Wed Feb 13 2008 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.60-3 - Bump-n-build for GCC 4.3 * Tue Aug 21 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.60-2 - Rebuild for BuildID * Mon Apr 30 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.60-1 - New upstream version (mostly bugfixes) - Previous release pre-emptively fixed CVE-2006-7162/BZ#231726 - Added patch to make "private" files (keys/logs) non-executable * Thu Jan 25 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 0.59-1 - New upstream version - Macro-ized Source filenames - Cleanup of spaces/tabs to eliminate rpmlint warnings * Mon Aug 27 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.58-3 - Rebuild for FC6 * Wed May 03 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.58-2 - rebuild * Tue Apr 19 2005 Adrian Reber <adrian@lisas.de> - 0.58-1 - Updated to 0.58 * Tue Feb 29 2005 Adrian Reber <adrian@lisas.de> - 0.57-2 - fix build with gcc4 * Mon Feb 21 2005 Adrian Reber <adrian@lisas.de> - 0.57-1 - Updated to 0.57 * Tue Oct 28 2004 Adrian Reber <adrian@lisas.de> - 0.56-0.fdr.1 - Updated to 0.56 (bug #2209) * Fri Aug 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.55-0.fdr.2 - Fix URL and source location. * Thu Aug 05 2004 Andreas Pfaffeneder <fedora@zuhause-local.de> 0:0.55.fdr.1 - Update to 0.55 due to security problem (CORE-2004-0705). * Mon Nov 18 2003 Andreas Pfaffeneder <fedora@zuhause-local.de> 0:0.0-0.fdr.2.20030821 - Add desktop-file-utils to build requires * Sun Aug 24 2003 Adrian Reber <adrian@lisas.de> 0:0.0-0.fdr.1.20030821 - now honouring $RPM_OPT_FLAGS - moved make to the build section; binaries are now stripped - inserted _smp_mflags - using makeinstall - created a icon for the menu entry - optimized the category of the .desktop file from Internet to Network - more fedorafication * Thu Aug 21 2003 Andreas Pfaffeneder <fedora@zuhause-local.de> 0:0.0-0.fdr.0.20030821 - Quick and dirty spec for cvs of putty