|
|
|
@ -1,32 +1,38 @@
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} < 10
|
|
|
|
|
%bcond_without gtk2
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: pinentry
|
|
|
|
|
Version: 1.1.1
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 1.3.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Collection of simple PIN or passphrase entry dialogs
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
URL: https://www.gnupg.org/
|
|
|
|
|
Source0: https://gnupg.org/ftp/gcrypt/pinentry/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: https://gnupg.org/ftp/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
|
|
|
|
|
Source2: https://gnupg.org/signature_key.asc
|
|
|
|
|
|
|
|
|
|
Patch1: pinentry-1.1.1-coverity.patch
|
|
|
|
|
Patch2: pinentry-1.1.1-rpath.patch
|
|
|
|
|
|
|
|
|
|
# borrowed from opensuse
|
|
|
|
|
Source10: pinentry-wrapper
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake gettext-devel
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcr-devel
|
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
|
BuildRequires: libassuan-devel
|
|
|
|
|
BuildRequires: libsecret-devel
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Core) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
|
|
|
|
|
|
|
|
|
|
Requires(pre): %{_sbindir}/update-alternatives
|
|
|
|
|
BuildRequires: pkgconfig(gcr-4)
|
|
|
|
|
BuildRequires: pkgconfig(libsecret-1)
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: pkgconfig(Qt6Core) pkgconfig(Qt6Gui) pkgconfig(Qt6Widgets)
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
|
|
|
|
|
Provides: %{name}-curses = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -46,6 +52,7 @@ 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.
|
|
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
|
%package gtk
|
|
|
|
|
Summary: Passphrase/PIN entry dialog based on GTK+
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
@ -56,18 +63,24 @@ 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 GTK GUI based version of the PIN entry dialog.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package qt
|
|
|
|
|
Summary: Passphrase/PIN entry dialog based on Qt5
|
|
|
|
|
Summary: Passphrase/PIN entry dialog based on Qt6
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-gui = %{version}-%{release}
|
|
|
|
|
Obsoletes: pinentry-qt4 < 0.8.0-2
|
|
|
|
|
Provides: pinentry-qt5 = %{version}-%{release}
|
|
|
|
|
Obsoletes: pinentry-qt5 < 1.2.1-7
|
|
|
|
|
Provides: pinentry-qt6 = %{version}-%{release}
|
|
|
|
|
%if ! %{with gtk2}
|
|
|
|
|
# Special case to handle replacement of "default" pinentry implementation
|
|
|
|
|
Obsoletes: %{name}-gtk < %{version}-%{release}
|
|
|
|
|
%endif
|
|
|
|
|
%description qt
|
|
|
|
|
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 Qt4 GUI based version of the PIN entry dialog.
|
|
|
|
|
This package contains the Qt6 GUI based version of the PIN entry dialog.
|
|
|
|
|
|
|
|
|
|
%package emacs
|
|
|
|
|
Summary: Passphrase/PIN entry dialog based on emacs
|
|
|
|
@ -88,20 +101,25 @@ http://www.gnupg.org/aegypten/ for details.
|
|
|
|
|
This package contains the tty version of the PIN entry dialog.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch1 -p1 -b .coverity
|
|
|
|
|
%patch2 -p1 -b .rpath
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -fiv
|
|
|
|
|
%configure \
|
|
|
|
|
--disable-rpath \
|
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
|
--without-libcap \
|
|
|
|
|
--disable-pinentry-fltk \
|
|
|
|
|
--enable-pinentry-gnome3 \
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
|
--enable-pinentry-gtk2 \
|
|
|
|
|
--enable-pinentry-qt5 \
|
|
|
|
|
%else
|
|
|
|
|
--disable-pinentry-gtk2 \
|
|
|
|
|
%endif
|
|
|
|
|
--enable-pinentry-qt \
|
|
|
|
|
--disable-pinentry-qt5 \
|
|
|
|
|
--enable-pinentry-emacs \
|
|
|
|
|
--enable-pinentry-tty \
|
|
|
|
|
--enable-libsecret
|
|
|
|
@ -113,14 +131,20 @@ This package contains the tty version of the PIN entry dialog.
|
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
|
|
# Symlink for Backward compatibility
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
|
ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
|
|
|
|
|
%endif
|
|
|
|
|
ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt4
|
|
|
|
|
ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt5
|
|
|
|
|
|
|
|
|
|
install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry
|
|
|
|
|
|
|
|
|
|
# unpackaged files
|
|
|
|
|
rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
install -d %{buildroot}%{_datadir}/pixmaps
|
|
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnupg.pinentry-qt.desktop
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
|
|
|
@ -131,15 +155,20 @@ rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
%files gnome3
|
|
|
|
|
%{_bindir}/pinentry-gnome3
|
|
|
|
|
|
|
|
|
|
%if %{with gtk2}
|
|
|
|
|
%files gtk
|
|
|
|
|
%{_bindir}/pinentry-gtk-2
|
|
|
|
|
# symlink for backward compatibility
|
|
|
|
|
%{_bindir}/pinentry-gtk
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files qt
|
|
|
|
|
%{_bindir}/pinentry-qt
|
|
|
|
|
# symlink for backward compatibility
|
|
|
|
|
# symlinks for backward compatibility
|
|
|
|
|
%{_bindir}/pinentry-qt4
|
|
|
|
|
%{_bindir}/pinentry-qt5
|
|
|
|
|
%{_datadir}/applications/org.gnupg.pinentry-qt.desktop
|
|
|
|
|
%{_datadir}/pixmaps/pinentry.png
|
|
|
|
|
|
|
|
|
|
%files emacs
|
|
|
|
|
%{_bindir}/pinentry-emacs
|
|
|
|
@ -148,16 +177,64 @@ rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
%{_bindir}/pinentry-tty
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-8
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Nov 05 2024 Jakub Jelen <jjelen@redhat.com> - 1.3.1-1
|
|
|
|
|
- Update to 1.3.1 (RHEL-65398)
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.3.0-3
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.3.0-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.3.0-2
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 19 2024 Jakub Jelen <jjelen@redhat.com> - 1.3.0-1
|
|
|
|
|
- New upstream release (#2270095)
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.1-7
|
|
|
|
|
- Use gcr-4 in gnome3 binary
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 20 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.1-3
|
|
|
|
|
- Disable qt in RHEL 10 builds
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 25 2022 Jakub Jelen <jjelen@redhat.com> - 1.2.1-1
|
|
|
|
|
- New upstream release (#2121079)
|
|
|
|
|
|
|
|
|
|
* Tue Aug 02 2022 Jakub Jelen <jjelen@redhat.com> - 1.2.0-4
|
|
|
|
|
- Use gcr3 compat package to unbreak build in Fedora 37 (#2113596)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 26 2021 Jakub Jelen <jjelen@redhat.com> - 1.2.0-1
|
|
|
|
|
- New upstream release (#1997584)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Jakub Jelen <jjelen@redhat.com> - 1.1.1-7
|
|
|
|
|
- Honor the disabled rpath
|
|
|
|
|
- Sync final version of coverity patches from upstream (#1938729)
|
|
|
|
|
- Really disable rpath for qt pinentry
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.1-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Apr 16 2021 Jakub Jelen <jjelen@redhat.com> - 1.1.1-6
|
|
|
|
|
- Honor the disabled rpath
|
|
|
|
|
- Sync final version of coverity patches from upstream
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Jakub Jelen <jjelen@redhat.com> - 1.1.1-5
|
|
|
|
|
- Address few more minor issues reported by coverity
|
|
|
|
|