2007-01-07 16:26:05 +00:00
|
|
|
#
|
2011-02-01 14:14:14 +00:00
|
|
|
# spec file for package openssh-askpass-gnome
|
2007-01-07 16:26:05 +00:00
|
|
|
#
|
2019-01-04 06:19:36 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-07 16:26:05 +00:00
|
|
|
#
|
2008-08-22 23:32:08 +00:00
|
|
|
# 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.
|
|
|
|
|
2018-10-17 08:57:56 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-07 16:26:05 +00:00
|
|
|
#
|
|
|
|
|
2012-02-20 15:20:42 +00:00
|
|
|
|
2018-02-01 00:18:29 +00:00
|
|
|
%define _name openssh
|
2007-01-07 16:26:05 +00:00
|
|
|
Name: openssh-askpass-gnome
|
2018-10-22 09:08:19 +00:00
|
|
|
Version: 7.9p1
|
2016-04-06 11:34:51 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A GNOME-Based Passphrase Dialog for OpenSSH
|
2016-05-30 01:36:18 +00:00
|
|
|
License: BSD-2-Clause
|
2016-04-06 11:34:51 +00:00
|
|
|
Group: Productivity/Networking/SSH
|
2018-10-17 08:57:56 +00:00
|
|
|
URL: http://www.openssh.com/
|
2018-02-01 00:18:29 +00:00
|
|
|
Source: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{_name}-%{version}.tar.gz
|
|
|
|
Source42: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{_name}-%{version}.tar.gz.asc
|
2019-02-14 10:37:25 +00:00
|
|
|
Requires: %{_name} = %{version}
|
|
|
|
Supplements: packageand(openssh:libX11-6)
|
2019-01-28 08:02:07 +00:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-10-17 08:57:56 +00:00
|
|
|
BuildRequires: gtk3-devel
|
2019-01-28 08:02:07 +00:00
|
|
|
%else
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
%endif
|
2007-01-07 16:26:05 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SSH (Secure Shell) is a program for logging into a remote machine and
|
|
|
|
for executing commands on a remote machine. This package contains a
|
|
|
|
GNOME-based passphrase dialog for OpenSSH.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
cd contrib
|
2018-10-17 08:57:56 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
2019-01-28 08:02:07 +00:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-10-17 08:57:56 +00:00
|
|
|
make %{?_smp_mflags} gnome-ssh-askpass3
|
2019-01-28 08:02:07 +00:00
|
|
|
%else
|
|
|
|
make %{?_smp_mflags} gnome-ssh-askpass2
|
|
|
|
%endif
|
2007-01-07 16:26:05 +00:00
|
|
|
|
|
|
|
%install
|
2011-10-19 02:18:13 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_libexecdir}/ssh/
|
2019-01-28 08:02:07 +00:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-10-17 08:57:56 +00:00
|
|
|
install contrib/gnome-ssh-askpass3 %{buildroot}%{_libexecdir}/ssh/gnome-ssh-askpass
|
2019-01-28 08:02:07 +00:00
|
|
|
%else
|
|
|
|
install contrib/gnome-ssh-askpass2 %{buildroot}%{_libexecdir}/ssh/gnome-ssh-askpass
|
|
|
|
%endif
|
2011-10-19 02:18:13 +00:00
|
|
|
|
2007-01-07 16:26:05 +00:00
|
|
|
%files
|
2011-10-19 02:18:13 +00:00
|
|
|
%dir %{_libexecdir}/ssh
|
|
|
|
%attr(0755,root,root) %{_libexecdir}/ssh/gnome-ssh-askpass
|
|
|
|
|
2007-02-22 13:37:20 +00:00
|
|
|
%changelog
|