File pinentry-x2go.spec of Package pinentry-x2go

#
# spec file for package pinentry-x2go
#
# 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 https://bugs.opensuse.org/
#


Name:           pinentry-x2go
Version:        0.7.5.10
Release:        0
Summary:        Qt4-based PIN or pass-phrase entry dialog for x2goclient
License:        GPL-2.0-only
Group:          Productivity/Networking/Remote Desktop
URL:            http://x2go.org/
#DL-URL:	http://code.x2go.org/releases/source/pinentry-x2go/
#Git-Clone:	git://code.x2go.org/pinentry-x2go
#Git-Web:	http://code.x2go.org/gitweb?p=pinentry-x2go.git;a=summary
Source:         http://code.x2go.org/releases/source/%name/%name-%version.tar.gz
Source2:        http://code.x2go.org/releases/source/%name/%name-%version.tar.gz.asc
Source3:        %name.keyring
Source4:        %name-rpmlintrc
BuildRequires:  autoconf >= 2.57
BuildRequires:  automake >= 1.7.6
BuildRequires:  gcc-c++
BuildRequires:  libcap-devel
BuildRequires:  libqt5-linguist
BuildRequires:  libqt5-qtbase-devel
BuildRequires:  ncurses-devel

%description
This package contains a program that allows for entry of PINs or pass
phrases. Based on original pinentry-qt software, modified for
x2goclient.

%prep
%autosetup

%build
if [ ! -e configure ]; then
	autoreconf -fi
fi;
%configure
%make_build

%install
pushd pinentry-x2go/
%make_install INSTALL_ROOT=%buildroot STRIP="true"
install -d -m 755 '%buildroot/%_mandir/man1/'
install -m 644 'pinentry-x2go.1' '%buildroot/%_mandir/man1/'
popd

%files
%license COPYING
%doc README README.i18n ChangeLog
%_bindir/pinentry-x2go
%_mandir/man1/pinentry-x2go.1*

%changelog
openSUSE Build Service is sponsored by