File kwalletcli.spec of Package kwalletcli
#
# spec file for package kwalletcli
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: kwalletcli
Version: 3.03
Release: 0
Summary: Command-Line Interface to the KDE Wallet
License: MirOS
Group: Productivity/Security
URL: https://www.mirbsd.org/kwalletcli.htm
Source: http://www.mirbsd.org/MirOS/dist/hosted/kwalletcli/%{name}-%{version}.tar.gz
BuildRequires: kcoreaddons-devel
BuildRequires: ki18n-devel
BuildRequires: kwallet-devel
BuildRequires: libqt5-qtbase-devel
Requires: mksh
Provides: pinentry-kwallet
%description
A command-line interface to the KDE Wallet, for KDE 3, KDE 4 and KF5
so shell scripts, Python, etc. do not need to use DCOP or D-Bus directly
to access it to store passwords, instead being able to call this wrapper
that comes with extra utilities.
%prep
%setup -q -n %{name}
%build
make CFLAGS=-fPIC KDE_VER=5 %{?_smp_mflags}
%install
mkdir -p %{buildroot}%{_prefix}/{bin,share/man/man1}
%make_install
%files
%license LICENCE
%attr(755,root,root) %{_bindir}/*
%{_bindir}/kwalletaskpass
%{_bindir}/kwalletcli
%{_bindir}/kwalletcli_getpin
%{_bindir}/pinentry-kwallet
%{_mandir}/man1/kwalletaskpass.1%{?ext_man}
%{_mandir}/man1/kwalletcli.1%{?ext_man}
%{_mandir}/man1/kwalletcli_getpin.1%{?ext_man}
%{_mandir}/man1/pinentry-kwallet.1%{?ext_man}
%changelog