2007-01-07 17:26:05 +01:00
|
|
|
#
|
2011-02-01 15:14:14 +01:00
|
|
|
# spec file for package openssh-askpass-gnome
|
2007-01-07 17:26:05 +01:00
|
|
|
#
|
2020-09-18 19:44:52 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-07 17:26:05 +01:00
|
|
|
#
|
2008-08-23 01:32:08 +02: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.
|
|
|
|
|
2019-07-22 20:28:13 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-07 17:26:05 +01:00
|
|
|
#
|
|
|
|
|
2012-02-20 16:20:42 +01:00
|
|
|
|
2018-02-01 01:18:29 +01:00
|
|
|
%define _name openssh
|
2007-01-07 17:26:05 +01:00
|
|
|
Name: openssh-askpass-gnome
|
2023-05-22 21:32:26 +02:00
|
|
|
Version: 9.3p1
|
2016-04-06 13:34:51 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: A GNOME-Based Passphrase Dialog for OpenSSH
|
2016-05-30 03:36:18 +02:00
|
|
|
License: BSD-2-Clause
|
2016-04-06 13:34:51 +02:00
|
|
|
Group: Productivity/Networking/SSH
|
2021-01-18 02:12:55 +01:00
|
|
|
URL: https://www.openssh.com/
|
|
|
|
Source: https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{_name}-%{version}.tar.gz
|
|
|
|
Source42: https://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{_name}-%{version}.tar.gz.asc
|
2023-06-02 23:14:12 +02:00
|
|
|
Requires: %{_name}-clients = %{version}
|
2020-09-14 12:47:29 +02:00
|
|
|
Supplements: packageand(openssh-clients:libgtk-3-0)
|
2019-01-28 09:02:07 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-10-17 10:57:56 +02:00
|
|
|
BuildRequires: gtk3-devel
|
2019-01-28 09:02:07 +01:00
|
|
|
%else
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
%endif
|
2007-01-07 17:26:05 +01: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
|
2020-09-18 19:44:52 +02:00
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
2007-01-07 17:26:05 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd contrib
|
2018-10-17 10:57:56 +02:00
|
|
|
export CFLAGS="%{optflags}"
|
2019-01-28 09:02:07 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2020-09-18 19:44:52 +02:00
|
|
|
%make_build gnome-ssh-askpass3
|
2019-01-28 09:02:07 +01:00
|
|
|
%else
|
2020-09-18 19:44:52 +02:00
|
|
|
%make_build gnome-ssh-askpass2
|
2019-01-28 09:02:07 +01:00
|
|
|
%endif
|
2007-01-07 17:26:05 +01:00
|
|
|
|
|
|
|
%install
|
2011-10-19 04:18:13 +02:00
|
|
|
install -d -m 755 %{buildroot}%{_libexecdir}/ssh/
|
2019-01-28 09:02:07 +01:00
|
|
|
%if 0%{?suse_version} >= 1550
|
2018-10-17 10:57:56 +02:00
|
|
|
install contrib/gnome-ssh-askpass3 %{buildroot}%{_libexecdir}/ssh/gnome-ssh-askpass
|
2019-01-28 09:02:07 +01:00
|
|
|
%else
|
|
|
|
install contrib/gnome-ssh-askpass2 %{buildroot}%{_libexecdir}/ssh/gnome-ssh-askpass
|
|
|
|
%endif
|
2011-10-19 04:18:13 +02:00
|
|
|
|
2007-01-07 17:26:05 +01:00
|
|
|
%files
|
2011-10-19 04:18:13 +02:00
|
|
|
%dir %{_libexecdir}/ssh
|
|
|
|
%attr(0755,root,root) %{_libexecdir}/ssh/gnome-ssh-askpass
|
|
|
|
|
2007-02-22 14:37:20 +01:00
|
|
|
%changelog
|