ff9733
ff9733
Name:    pinentry
ff9733
Version: 1.1.0
ff9733
Release: 2%{?dist}
ff9733
Summary: Collection of simple PIN or passphrase entry dialogs
ff9733
ff9733
License: GPLv2+
ff9733
URL:     http://www.gnupg.org/aegypten/
ff9733
Source0: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2
ff9733
Source1: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.bz2.sig
ff9733
ff9733
# borrowed from opensuse
ff9733
Source10: pinentry-wrapper
ff9733
ff9733
BuildRequires: gcr-devel
ff9733
BuildRequires: gtk2-devel
ff9733
BuildRequires: libcap-devel
ff9733
BuildRequires: ncurses-devel
ff9733
BuildRequires: libgpg-error-devel
ff9733
BuildRequires: libassuan-devel
ff9733
BuildRequires: libsecret-devel
ff9733
BuildRequires: pkgconfig(Qt5Core) pkgconfig(Qt5Gui) pkgconfig(Qt5Widgets)
ff9733
ff9733
Requires(pre): %{_sbindir}/update-alternatives
ff9733
Requires(post): /sbin/install-info
ff9733
Requires(preun): /sbin/install-info
ff9733
ff9733
Provides: %{name}-curses = %{version}-%{release}
ff9733
ff9733
%description
ff9733
Pinentry is a collection of simple PIN or passphrase entry dialogs which
ff9733
utilize the Assuan protocol as described by the aegypten project; see
ff9733
http://www.gnupg.org/aegypten/ for details.
ff9733
This package contains the curses (text) based version of the PIN entry dialog.
ff9733
ff9733
%package gnome3
ff9733
Summary: Passphrase/PIN entry dialog for GNOME 3
ff9733
Requires: %{name} = %{version}-%{release}
ff9733
Provides: %{name}-gui = %{version}-%{release}
ff9733
%description gnome3
ff9733
Pinentry is a collection of simple PIN or passphrase entry dialogs which
ff9733
utilize the Assuan protocol as described by the aegypten project; see
ff9733
http://www.gnupg.org/aegypten/ for details.
ff9733
This package contains the GNOME 3 version of the PIN entry dialog.
ff9733
ff9733
%package gtk
ff9733
Summary: Passphrase/PIN entry dialog based on GTK+
ff9733
Requires: %{name} = %{version}-%{release}
ff9733
Provides: %{name}-gui = %{version}-%{release}
ff9733
Provides: pinentry-gtk2 = %{version}-%{release}
ff9733
%description gtk
ff9733
Pinentry is a collection of simple PIN or passphrase entry dialogs which
ff9733
utilize the Assuan protocol as described by the aegypten project; see
ff9733
http://www.gnupg.org/aegypten/ for details.
ff9733
This package contains the GTK GUI based version of the PIN entry dialog.
ff9733
ff9733
%package qt
ff9733
Summary: Passphrase/PIN entry dialog based on Qt5
ff9733
Requires: %{name} = %{version}-%{release}
ff9733
Provides: %{name}-gui = %{version}-%{release}
ff9733
Obsoletes: pinentry-qt4 < 0.8.0-2
ff9733
Provides:  pinentry-qt5 = %{version}-%{release}
ff9733
%description qt
ff9733
Pinentry is a collection of simple PIN or passphrase entry dialogs which
ff9733
utilize the Assuan protocol as described by the aegypten project; see
ff9733
http://www.gnupg.org/aegypten/ for details.
ff9733
This package contains the Qt4 GUI based version of the PIN entry dialog.
ff9733
ff9733
%package emacs
ff9733
Summary: Passphrase/PIN entry dialog based on emacs
ff9733
Requires: %{name} = %{version}-%{release}
ff9733
%description emacs
ff9733
Pinentry is a collection of simple PIN or passphrase entry dialogs which
ff9733
utilize the Assuan protocol as described by the aegypten project; see
ff9733
http://www.gnupg.org/aegypten/ for details.
ff9733
This package contains the emacs based version of the PIN entry dialog.
ff9733
ff9733
%prep
ff9733
%setup -q
ff9733
ff9733
ff9733
%build
ff9733
%configure \
ff9733
  --disable-rpath \
ff9733
  --disable-dependency-tracking \
ff9733
  --without-libcap \
ff9733
  --enable-pinentry-gnome3 \
ff9733
  --enable-pinentry-gtk2 \
ff9733
  --enable-pinentry-qt5 \
ff9733
  --enable-pinentry-emacs \
ff9733
  --enable-libsecret
ff9733
ff9733
make %{?_smp_mflags}
ff9733
ff9733
ff9733
%install
ff9733
make install DESTDIR=$RPM_BUILD_ROOT
ff9733
ff9733
# Symlink for Backward compatibility
ff9733
ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
ff9733
ln -s pinentry-qt $RPM_BUILD_ROOT%{_bindir}/pinentry-qt4
ff9733
ff9733
install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry
ff9733
ff9733
# unpackaged files
ff9733
rm -fv $RPM_BUILD_ROOT%{_infodir}/dir
ff9733
ff9733
ff9733
%post
ff9733
if [ -f %{_infodir}/pinentry.info* ]; then
ff9733
/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir ||:
ff9733
fi
ff9733
ff9733
%preun
ff9733
if [ $1 -eq 0 -a -f %{_infodir}/pinentry.info* ] ; then
ff9733
  /sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir ||:
ff9733
fi
ff9733
ff9733
%files
ff9733
%license COPYING
ff9733
%doc AUTHORS ChangeLog NEWS README THANKS TODO
ff9733
%{_bindir}/pinentry-curses
ff9733
%{_bindir}/pinentry
ff9733
%{_infodir}/pinentry.info*
ff9733
ff9733
%files gnome3
ff9733
%{_bindir}/pinentry-gnome3
ff9733
ff9733
%files gtk
ff9733
%{_bindir}/pinentry-gtk-2
ff9733
# symlink for backward compatibility
ff9733
%{_bindir}/pinentry-gtk
ff9733
ff9733
%files qt
ff9733
%{_bindir}/pinentry-qt
ff9733
# symlink for backward compatibility
ff9733
%{_bindir}/pinentry-qt4
ff9733
ff9733
%files emacs
ff9733
%{_bindir}/pinentry-emacs
ff9733
ff9733
%changelog
ff9733
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ff9733
ff9733
* Sun Dec 31 2017 Rex Dieter <rdieter@fedoraproject.org> - 1.1.0-1
ff9733
- 1.1.0 (#1397378)
ff9733
- drop some old code/hacks/workarounds
ff9733
- -qt: use Qt5
ff9733
ff9733
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-5
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ff9733
ff9733
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-4
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ff9733
ff9733
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-3
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ff9733
ff9733
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.7-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ff9733
ff9733
* Mon Dec 07 2015 Boris Ranto <branto@redhat.com> - 0.9.7-1
ff9733
- Rebase to latest upstream version
ff9733
ff9733
* Tue Oct 27 2015 Stef Walter <stefw@redhat.com> - 0.9.6-4
ff9733
- Enable libsecret, which enables password caching in pinentry-gnome3
ff9733
- Resolves rhbz#1275567
ff9733
ff9733
* Thu Oct 15 2015 Kalev Lember <klember@redhat.com> - 0.9.6-3
ff9733
- Add pinentry-gnome3 support to pinentry wrapper
ff9733
ff9733
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 0.9.6-2
ff9733
- Build pinentry-gnome3
ff9733
ff9733
* Fri Sep 11 2015 Boris Ranto <branto@redhat.com> - 0.9.6-1
ff9733
- Rebase to latest upstream version
ff9733
- Modify backwards compatible symlink for qt(4)
ff9733
- Enable pinentry-emacs since it was enabled by default in 0.9.5
ff9733
ff9733
* Thu Jul 02 2015 Boris Ranto <branto@redhat.com> - 0.9.5-1
ff9733
- Rebase to latest upstream version
ff9733
- Removing qt4 pinentry patch -- got merged upstream
ff9733
- New package pinentry-emacs that hosts pinentry-emacs
ff9733
- New dependencies on libassuan and libgpg-error (de-bundling)
ff9733
ff9733
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.2-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ff9733
ff9733
* Thu May 14 2015 Boris Ranto <branto@redhat.com> - 0.9.2-1
ff9733
- Rebase to latest upstream version
ff9733
ff9733
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.1-2
ff9733
- Rebuilt for GCC 5 C++11 ABI change
ff9733
ff9733
* Wed Mar 25 2015 Boris Ranto <branto@redhat.com> - 0.9.1-1
ff9733
- Rebase to latest upstream version
ff9733
- There are no longer any moc files so there is no need to patch them
ff9733
ff9733
* Fri Mar 13 2015 Rex Dieter <rdieter@fedoraproject.org> - 0.9.0-3
ff9733
- fix FTBFS on f23/gcc5
ff9733
- drop deprecated configure flags
ff9733
ff9733
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.9.0-2
ff9733
- Rebuilt for Fedora 23 Change
ff9733
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
ff9733
ff9733
* Wed Nov 12 2014 Boris Ranto <branto@redhat.com> - 0.9.0-1
ff9733
- Rebase to latest upstream version
ff9733
ff9733
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-7
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ff9733
ff9733
* Tue Aug 12 2014 Boris Ranto <branto@redhat.com> - 0.8.3-6
ff9733
- fix bogus dates
ff9733
- upgrade pinentry-wrapper to handle corner cases better
ff9733
ff9733
* Wed Jul 30 2014 Tom Callaway <spot@fedoraproject.org> - 0.8.3-5
ff9733
- fix license handling
ff9733
ff9733
* Sat Jul 19 2014 Rex Dieter <rdieter@fedoraproject.org> 0.8.3-4
ff9733
- /usr/bin/pinentry should not check if stderr is opened (#787775)
ff9733
ff9733
* Sat Jul 19 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.8.3-3
ff9733
- .spec cleanup (drop support for old releases)
ff9733
- -gtk: Provides: pinentry-gtk2
ff9733
ff9733
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.3-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ff9733
ff9733
* Thu Jan 30 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.3-1
ff9733
- Update to latest upstream version (0.8.3)
ff9733
ff9733
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-11
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ff9733
ff9733
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-10
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ff9733
ff9733
* Wed Nov 14 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-9
ff9733
- Fix macros expansions so that conditionals work
ff9733
ff9733
* Mon Nov 12 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-8
ff9733
- Fix up licenses for qt and qt4 subpackages (#875875)
ff9733
ff9733
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-7
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ff9733
ff9733
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-6
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ff9733
ff9733
* Mon Nov 14 2011 Adam Jackson <ajax@redhat.com> 0.8.1-5
ff9733
- Rebuild for new libpng
ff9733
ff9733
* Tue Jul 26 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-4
ff9733
- Improve wrapper to fallback to curses even with DISPLAY set (#622077)
ff9733
ff9733
* Fri Feb 18 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-3
ff9733
- Fix pinentry-curses running as root by disabling capabilities (#677670)
ff9733
ff9733
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
ff9733
ff9733
* Tue Feb  1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.1-1
ff9733
- Updated to latest upstream version (0.8.1)
ff9733
ff9733
* Fri May  7 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.0-3
ff9733
- Fix X11 even race with gtk (#589998)
ff9733
- Fix qt4 problems with creating window in the background (#589532)
ff9733
ff9733
* Thu Apr 29 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.8.0-2
ff9733
- -qt: build as qt4 version, and drop qt3 support (f13+ only)
ff9733
ff9733
* Tue Apr 27 2010 Stanislav Ochotnicky <sochotnicky@redhat.com> - 0.8.0-1
ff9733
- pinentry-0.8.0
ff9733
- pinentry-gtk keyboard grab fail results in SIGABRT (#585422)
ff9733
ff9733
* Sun Apr 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-5
ff9733
- pinentry-gtk -g segfaults on focus change (#520236)
ff9733
ff9733
* Sun Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-4
ff9733
- Errors installing with --excludedocs (#515925)
ff9733
ff9733
* Sun Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-3
ff9733
- drop alternatives, use app-wrapper instead (borrowed from opensuse)
ff9733
- -qt4 experimental subpkg, -qt includes qt3 version again  (#523488)
ff9733
ff9733
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ff9733
ff9733
* Mon Jun 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-1
ff9733
- pinentry-0.7.6
ff9733
- -qt switched qt4 version, where applicable (f9+, rhel6+)
ff9733
- fixup scriptlets
ff9733
ff9733
* Sat Apr 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.5-1
ff9733
- pinentry-0.7.5
ff9733
ff9733
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-6
ff9733
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ff9733
ff9733
* Tue Mar 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.4-5
ff9733
- pinentry failed massrebuild attempt for GCC 4.3 (#434400)
ff9733
ff9733
* Tue Mar 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.4-4
ff9733
- s/qt-devel/qt3-devel/ (f9+)
ff9733
ff9733
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7.4-3
ff9733
- Autorebuild for GCC 4.3
ff9733
ff9733
* Sun Feb 17 2008 Adam Tkac <atkac redhat com> - 0.7.4-2
ff9733
- rebuild against new libcap
ff9733
ff9733
* Sun Dec 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.4-1
ff9733
- pinentry-0.7.4
ff9733
- BR: libcap-devel
ff9733
ff9733
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.3-2
ff9733
- respin (BuildID)
ff9733
ff9733
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.3-1
ff9733
- pinentry-0.7.3
ff9733
- License: GPLv2+
ff9733
ff9733
* Thu May 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.2-15
ff9733
- respin (for ppc64)
ff9733
ff9733
* Mon Dec 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-14
ff9733
- -14 respin (to help retire ATrpms pinentry pkg)
ff9733
ff9733
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-3
ff9733
- fc6 respin
ff9733
ff9733
* Wed Aug 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-2
ff9733
- fc6 respin
ff9733
ff9733
* Wed Mar 01 2006 Rex Dieter <rexdieter[AT]users.sf.net>
ff9733
- fc5: gcc/glibc respin
ff9733
ff9733
* Tue Oct 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.2-1
ff9733
- 0.7.2, docs patch applied upstream.
ff9733
- Switch to GTK2 in -gtk.
ff9733
- Fine tune dependencies.
ff9733
- Build with dependency tracking disabled.
ff9733
- Clean up obsolete pre-FC2 support.
ff9733
ff9733
* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.1-4
ff9733
- rebuilt
ff9733
ff9733
* Wed Jun 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.3
ff9733
- BuildRequires qt-devel >= 3.2.
ff9733
ff9733
* Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.2
ff9733
- Spec cleanups.
ff9733
ff9733
* Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.1
ff9733
- Update to 0.7.1.
ff9733
ff9733
* Fri Dec 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.0-0.fdr.1
ff9733
- Update to 0.7.0.
ff9733
- Split GTK+ and QT dialogs into subpackages.
ff9733
ff9733
* Thu Jul 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.9-0.fdr.1
ff9733
- Update to 0.6.9.
ff9733
- Smoother experience with --excludedocs.
ff9733
- Don't change alternative priorities on upgrade.
ff9733
ff9733
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.8-0.fdr.1
ff9733
- Update to current Fedora guidelines.
ff9733
ff9733
* Wed Feb 12 2003 Warren Togami <warren@togami.com> 0.6.8-1.fedora.3
ff9733
- info/dir temporary workaround
ff9733
ff9733
* Sat Feb  8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.6.8-1.fedora.1
ff9733
- First Fedora release.