Build pinentry-gnome3

This commit is contained in:
Kalev Lember 2015-09-21 19:11:04 +02:00
parent 6bd5161044
commit a7f1a5ec50

View File

@ -1,7 +1,7 @@
Name: pinentry
Version: 0.9.6
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Collection of simple PIN or passphrase entry dialogs
# qt & qt4 subpackage have different license, see subpackage definitions
@ -13,6 +13,7 @@ Source1: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
# borrowed from opensuse
Source10: pinentry-wrapper
BuildRequires: gcr-devel
BuildRequires: gtk2-devel
BuildRequires: libcap-devel
BuildRequires: ncurses-devel
@ -32,6 +33,16 @@ utilize the Assuan protocol as described by the aegypten project; see
http://www.gnupg.org/aegypten/ for details.
This package contains the curses (text) based version of the PIN entry dialog.
%package gnome3
Summary: Passphrase/PIN entry dialog for GNOME 3
Requires: %{name} = %{version}-%{release}
Provides: %{name}-gui = %{version}-%{release}
%description gnome3
Pinentry is a collection of simple PIN or passphrase entry dialogs which
utilize the Assuan protocol as described by the aegypten project; see
http://www.gnupg.org/aegypten/ for details.
This package contains the GNOME 3 version of the PIN entry dialog.
%package gtk
Summary: Passphrase/PIN entry dialog based on GTK+
Requires: %{name} = %{version}-%{release}
@ -81,6 +92,7 @@ CXXFLAGS="%{optflags} -std=c++11"
--disable-rpath \
--disable-dependency-tracking \
--without-libcap \
--enable-pinentry-gnome3 \
--enable-pinentry-gtk2 \
--enable-pinentry-qt4 \
--enable-pinentry-emacs
@ -127,6 +139,9 @@ fi
%{_bindir}/pinentry
%{_infodir}/pinentry.info*
%files gnome3
%{_bindir}/pinentry-gnome3
%files gtk
%{_bindir}/pinentry-gtk
%{_bindir}/pinentry-gtk-2
@ -139,6 +154,9 @@ fi
%{_bindir}/pinentry-emacs
%changelog
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 0.9.6-2
- Build pinentry-gnome3
* Fri Sep 11 2015 Boris Ranto <branto@redhat.com> - 0.9.6-1
- Rebase to latest upstream version
- Modify backwards compatible symlink for qt(4)