File ssh-import-id.spec of Package ssh-import-id

# spec file for package ssh-import-id
# Copyright (c) 2021 SUSE LLC
# 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

Name:           ssh-import-id
Version:        5.11
Release:        0
Summary:        Authorize SSH public keys from online identities
License:        GPL-3.0
BuildRequires:  fdupes
BuildRequires:  python-rpm-macros
BuildRequires:  python-rpm-generators
BuildRequires:  python3-setuptools
%if 0%{?suse_version} < 1530
Requires:       openssh
Requires:       openssh-common
BuildArch:      noarch
Patch1:         ssh-import-id-remove-shebang.patch

A command-line utility that imports SSH public keys to your authorized_keys
file from online services like GitHub and Launchpad.

%autosetup -p0

export LC_ALL=en_US.utf8

install -Dm0644 usr/share/man/man1/ssh-import-id.1 %{buildroot}%{_mandir}/man1/ssh-import-id.1
%python_expand %fdupes %{buildroot}%{python3_sitelib}/

%license LICENSE

openSUSE Build Service is sponsored by