From a7f1a5ec5018b9275009474e82ebd6a35dc85290 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 21 Sep 2015 19:11:04 +0200 Subject: [PATCH] Build pinentry-gnome3 --- pinentry.spec | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pinentry.spec b/pinentry.spec index b3b6029..4a8bdf9 100644 --- a/pinentry.spec +++ b/pinentry.spec @@ -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 - 0.9.6-2 +- Build pinentry-gnome3 + * Fri Sep 11 2015 Boris Ranto - 0.9.6-1 - Rebase to latest upstream version - Modify backwards compatible symlink for qt(4)