putty/putty.spec

100 lines
2.8 KiB
RPMSpec

Name: putty
Version: 0.63
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>
URL: http://www.chiark.greenend.org.uk/~sgtatham/putty/
Source0: http://the.earth.li/~sgtatham/putty/latest/putty-%{version}.tar.gz
Source1: putty.desktop
Source2: putty.png
Patch0: putty-0.62-glibc-2.16.patch
License: MIT
BuildRequires: libgtk1-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PuTTY is a free implementation of Telnet and SSH for Win32 and Unix platforms, along with an xterm terminal emulator.
%prep
%setup -q
#%patch0 -p1
%build
cd unix
%configure
%make VER=-DRELEASE=%{version}
##%{__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}
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
install -d %{buildroot}/{%{_bindir},%{_mandir}/man1}
%makeinstall -C unix -f Makefile.gtk \
prefix=%{_prefix} mandir=%{_mandir}
install -D -m 0644 %{S:1} \
%{buildroot}%{_datadir}/applications/%{name}.desktop
install -D -m 0644 %{S:2} \
%{buildroot}%{_datadir}/pixmaps/putty.png
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/plink
%{_bindir}/pscp
%{_bindir}/psftp
%{_bindir}/pterm
%{_bindir}/putty
%{_bindir}/puttygen
%{_bindir}/puttytel
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/putty.png
%{_mandir}/man1/*
%doc LICENCE README*
%changelog
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 0.63-1mamba
- automatic version update by autodist
* Mon Jan 07 2013 Automatic Build System <autodist@mambasoft.it> 0.62-1mamba
- automatic version update by autodist
* Tue Jul 19 2011 Automatic Build System <autodist@mambasoft.it> 0.61-1mamba
- automatic update by autodist
* Thu Jul 05 2007 Aleph0 <aleph0@openmamba.org> 0.60-1mamba
- update to 0.60
* Wed Dec 20 2006 Davide Madrisan <davide.madrisan@gmail.com> 0.58-2qilnx
- updated desktop file
* Thu Dec 14 2006 Davide Madrisan <davide.madrisan@qilinux.it> 0.58-1qilnx
- update to version 0.58 by autospec
- fixed package group
- new desktop file
* Fri Mar 11 2005 Davide Madrisan <davide.madrisan@qilinux.it> 0.57-2qilnx
- update to version 0.57 by autospec
- also fix security issue QSA-2005-025 (CAN-2005-0467)
- added LICENSE file
- added a missing build requirement: libgtk1-devel
* Mon Dec 06 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.56-1qilnx
- update to version 0.56 by autospec
* Thu Jun 03 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.54-1qilnx
- first build