Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
putty
putty.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File putty.spec of Package putty
# # spec file for package putty # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: putty Version: 0.70 Release: 0 Summary: GTK-based terminal emulator program License: MIT Group: System/X11/Utilities Url: http://www.chiark.greenend.org.uk/~sgtatham/putty/ #Git-Web: http://tartarus.org/~simon-git/gitweb/?p=putty.git #Git-Clone: git://git.tartarus.org/simon/putty Source: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz Source2: http://the.earth.li/~sgtatham/putty/latest/%name-%version.tar.gz.gpg Source4: %name.keyring Patch1: putty-03-config.diff Patch3: reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ImageMagick BuildRequires: gtk3-devel BuildRequires: krb5-devel BuildRequires: python-base BuildRequires: update-desktop-files Conflicts: pssh %description PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols and as a serial console client. %prep %setup -q %patch -P 1 -P 3 -p1 %build export CFLAGS="%optflags -Wno-error" %configure make %{?_smp_mflags} make %{?_smp_mflags} -C icons cicons pngs %install %make_install b="%buildroot" mkdir -p "$b/%_datadir/applications/" cat >"$b/%_datadir/applications/%name.desktop" <<-EOF [Desktop Entry] Name=PuTTY SSH Client GenericName=PuTTY Comment=Connect to an SSH server with PuTTY Exec=putty Icon=putty Terminal=false Type=Application Categories=GTK;Network;RemoteAccess; EOF %suse_update_desktop_file -n %name mkdir -p "$b/%_datadir/pixmaps/" install -m644 icons/xpmpterm.c "$b/%_datadir/pixmaps/pterm.xpm" install -m644 icons/xpmputty.c "$b/%_datadir/pixmaps/putty.xpm" install -m644 icons/pterm-32.png "$b/%_datadir/pixmaps/pterm.png" install -m644 icons/putty-32.png "$b/%_datadir/pixmaps/putty.png" %check make check %post %desktop_database_post %postun %desktop_database_postun %files %defattr(-,root,root) %doc LICENCE doc/*.html %doc %_mandir/man*/* %_bindir/* %_datadir/applications/%name.desktop %_datadir/pixmaps/*.png %_datadir/pixmaps/*.xpm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor