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-02-28 13:19:42 +01:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2019-10-10 15:32:50 +02:00
|
|
|
Version: 8.1p1
|
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
|
2018-10-17 10:57:56 +02:00
|
|
|
URL: http://www.openssh.com/
|
2018-02-01 01:18:29 +01: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 11:37:25 +01:00
|
|
|
Requires: %{_name} = %{version}
|
2019-07-22 18:43:06 +02:00
|
|
|
Supplements: packageand(openssh: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
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%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
|
2018-10-17 10:57:56 +02:00
|
|
|
make %{?_smp_mflags} gnome-ssh-askpass3
|
2019-01-28 09:02:07 +01:00
|
|
|
%else
|
|
|
|
make %{?_smp_mflags} gnome-ssh-askpass2
|
|
|
|
%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
|