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 Name: pinentry
Version: 0.9.6 Version: 0.9.6
Release: 1%{?dist} Release: 2%{?dist}
Summary: Collection of simple PIN or passphrase entry dialogs Summary: Collection of simple PIN or passphrase entry dialogs
# qt & qt4 subpackage have different license, see subpackage definitions # 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 # borrowed from opensuse
Source10: pinentry-wrapper Source10: pinentry-wrapper
BuildRequires: gcr-devel
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: ncurses-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. http://www.gnupg.org/aegypten/ for details.
This package contains the curses (text) based version of the PIN entry dialog. 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 %package gtk
Summary: Passphrase/PIN entry dialog based on GTK+ Summary: Passphrase/PIN entry dialog based on GTK+
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -81,6 +92,7 @@ CXXFLAGS="%{optflags} -std=c++11"
--disable-rpath \ --disable-rpath \
--disable-dependency-tracking \ --disable-dependency-tracking \
--without-libcap \ --without-libcap \
--enable-pinentry-gnome3 \
--enable-pinentry-gtk2 \ --enable-pinentry-gtk2 \
--enable-pinentry-qt4 \ --enable-pinentry-qt4 \
--enable-pinentry-emacs --enable-pinentry-emacs
@ -127,6 +139,9 @@ fi
%{_bindir}/pinentry %{_bindir}/pinentry
%{_infodir}/pinentry.info* %{_infodir}/pinentry.info*
%files gnome3
%{_bindir}/pinentry-gnome3
%files gtk %files gtk
%{_bindir}/pinentry-gtk %{_bindir}/pinentry-gtk
%{_bindir}/pinentry-gtk-2 %{_bindir}/pinentry-gtk-2
@ -139,6 +154,9 @@ fi
%{_bindir}/pinentry-emacs %{_bindir}/pinentry-emacs
%changelog %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 * Fri Sep 11 2015 Boris Ranto <branto@redhat.com> - 0.9.6-1
- Rebase to latest upstream version - Rebase to latest upstream version
- Modify backwards compatible symlink for qt(4) - Modify backwards compatible symlink for qt(4)