2006-02-10 13:24:58 +00:00
|
|
|
|
2009-06-23 15:28:41 +00:00
|
|
|
%if 0%{?fedora} > 8 || 0%{?rhel} > 5
|
|
|
|
%define _enable_pinentry_qt4 --enable-pinentry-qt4
|
2009-09-16 17:25:57 +00:00
|
|
|
%define _enable_pinentry_qt --enable-pinentry-qt
|
2009-09-16 18:06:22 +00:00
|
|
|
%define qt3 qt3
|
2009-04-25 22:20:26 +00:00
|
|
|
%else
|
2009-09-16 18:06:22 +00:00
|
|
|
%define qt3 qt
|
2009-06-23 15:28:41 +00:00
|
|
|
%define _enable_pinentry_qt --enable-pinentry-qt
|
2009-04-25 22:20:26 +00:00
|
|
|
%endif
|
|
|
|
|
2006-02-10 13:24:58 +00:00
|
|
|
Name: pinentry
|
2009-06-23 15:28:41 +00:00
|
|
|
Version: 0.7.6
|
2009-09-16 17:54:36 +00:00
|
|
|
Release: 4%{?dist}
|
2006-02-10 13:24:58 +00:00
|
|
|
Summary: Collection of simple PIN or passphrase entry dialogs
|
|
|
|
|
|
|
|
Group: Applications/System
|
2007-08-12 02:40:11 +00:00
|
|
|
License: GPLv2+
|
2006-02-10 13:24:58 +00:00
|
|
|
URL: http://www.gnupg.org/aegypten/
|
2009-04-25 22:20:26 +00:00
|
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.gz
|
|
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.gz.sig
|
2006-02-10 13:24:58 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2009-09-16 17:25:57 +00:00
|
|
|
# borrowed from opensuse
|
|
|
|
Source10: pinentry-wrapper
|
|
|
|
|
2007-12-10 05:02:28 +00:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: libcap-devel
|
|
|
|
BuildRequires: ncurses-devel
|
2009-06-23 15:28:41 +00:00
|
|
|
%if 0%{?_enable_pinentry_qt:1}
|
2009-09-16 18:06:22 +00:00
|
|
|
BuildRequires: %{qt3}-devel
|
2009-06-23 15:28:41 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?_enable_pinentry_qt4:1}
|
|
|
|
BuildRequires: qt4-devel
|
|
|
|
%endif
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2009-09-16 17:25:57 +00:00
|
|
|
Requires(pre): %{_sbindir}/update-alternatives
|
2005-10-18 18:18:13 +00:00
|
|
|
Requires(post): /sbin/install-info
|
2009-06-23 15:28:41 +00:00
|
|
|
Requires(preun): /sbin/install-info
|
2006-02-10 13:24:58 +00:00
|
|
|
|
|
|
|
Provides: %{name}-curses = %{version}-%{release}
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
%description
|
2004-11-08 05:14:02 +00:00
|
|
|
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 curses (text) based version of the PIN entry dialog.
|
|
|
|
|
2006-02-10 13:24:58 +00:00
|
|
|
%package gtk
|
|
|
|
Summary: Passphrase/PIN entry dialog based on GTK+
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-gui = %{version}-%{release}
|
|
|
|
%description gtk
|
2004-11-08 05:14:02 +00:00
|
|
|
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.
|
2009-06-23 15:28:41 +00:00
|
|
|
This package contains the GTK GUI based version of the PIN entry dialog.
|
2004-11-08 05:14:02 +00:00
|
|
|
|
2006-02-10 13:24:58 +00:00
|
|
|
%package qt
|
2009-09-16 17:25:57 +00:00
|
|
|
Summary: Passphrase/PIN entry dialog based on Qt3
|
2006-02-10 13:24:58 +00:00
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-gui = %{version}-%{release}
|
|
|
|
%description qt
|
2004-11-08 05:14:02 +00:00
|
|
|
Pinentry is a collection of simple PIN or passphrase entry dialogs which
|
2004-11-08 05:13:41 +00:00
|
|
|
utilize the Assuan protocol as described by the aegypten project; see
|
|
|
|
http://www.gnupg.org/aegypten/ for details.
|
2009-09-16 17:25:57 +00:00
|
|
|
This package contains the Qt3 GUI based version of the PIN entry dialog.
|
|
|
|
|
|
|
|
%package qt4
|
|
|
|
Summary: Passphrase/PIN entry dialog based on Qt4
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-gui = %{version}-%{release}
|
|
|
|
%description qt4
|
|
|
|
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.
|
|
|
|
Support for Qt4 is new, and a bit experimental.
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2009-06-23 15:28:41 +00:00
|
|
|
# hack around auto* madness, lack of proper support for moc
|
|
|
|
%if %{?_enable_pinentry_qt4:1}
|
|
|
|
pushd qt4
|
|
|
|
moc-qt4 pinentrydialog.h > pinentrydialog.moc
|
|
|
|
moc-qt4 qsecurelineedit.h > qsecurelineedit.moc
|
|
|
|
popd
|
|
|
|
%endif
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
%build
|
2009-06-23 15:28:41 +00:00
|
|
|
%if 0%{?_enable_pinentry_qt:1}
|
2006-02-10 13:24:58 +00:00
|
|
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
2009-06-23 15:28:41 +00:00
|
|
|
%endif
|
2006-02-10 13:24:58 +00:00
|
|
|
|
|
|
|
%configure \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-dependency-tracking \
|
2009-06-23 15:28:41 +00:00
|
|
|
--disable-pinentry-gtk \
|
|
|
|
%{?_enable_pinentry_qt} %{!?_enable_pinentry_qt:--disable-pinentry-qt} \
|
|
|
|
%{?_enable_pinentry_qt4} %{!?_enable_pinentry_qt4:--disable-pinentry-qt4}
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2004-11-08 05:13:41 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2004-11-08 05:14:02 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2004-11-08 05:14:02 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
# Backwards compatibility
|
|
|
|
ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2009-09-16 17:25:57 +00:00
|
|
|
install -p -m755 -D %{SOURCE10} $RPM_BUILD_ROOT%{_bindir}/pinentry
|
2006-02-10 13:24:58 +00:00
|
|
|
|
|
|
|
# unpackaged files
|
2004-11-08 05:14:02 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
2009-09-16 17:25:57 +00:00
|
|
|
# alternatives dropped at 0.7.6-3 (use %%trigger instead?)
|
|
|
|
%pre
|
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-curses ||:
|
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-gtk ||:
|
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-qt ||:
|
|
|
|
|
2004-11-08 05:13:41 +00:00
|
|
|
%post
|
2009-09-16 17:54:36 +00:00
|
|
|
if [ -f %{_infodir}/pinentry.info* ]; then
|
|
|
|
/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir ||:
|
|
|
|
fi
|
2009-06-23 15:28:41 +00:00
|
|
|
|
|
|
|
%preun
|
2009-09-16 17:54:36 +00:00
|
|
|
if [ $1 -eq 0 -a -f %{_infodir}/pinentry.info* ] ; then
|
2009-06-23 15:28:41 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir ||:
|
2004-11-08 05:14:02 +00:00
|
|
|
fi
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
|
2004-11-08 05:14:02 +00:00
|
|
|
%{_bindir}/pinentry-curses
|
2009-09-16 17:25:57 +00:00
|
|
|
%{_bindir}/pinentry
|
2004-11-08 05:14:02 +00:00
|
|
|
%{_infodir}/pinentry.info*
|
|
|
|
|
|
|
|
%files gtk
|
|
|
|
%defattr(-,root,root,-)
|
2009-06-23 15:28:41 +00:00
|
|
|
%{_bindir}/pinentry-gtk
|
|
|
|
%{_bindir}/pinentry-gtk-2
|
2004-11-08 05:14:02 +00:00
|
|
|
|
|
|
|
%files qt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/pinentry-qt
|
2009-09-16 17:25:57 +00:00
|
|
|
|
2009-06-23 15:28:41 +00:00
|
|
|
%if 0%{?_enable_pinentry_qt4:1}
|
2009-09-16 17:25:57 +00:00
|
|
|
%files qt4
|
|
|
|
%defattr(-,root,root,-)
|
2009-06-23 15:28:41 +00:00
|
|
|
%{_bindir}/pinentry-qt4
|
|
|
|
%endif
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-09-16 17:54:36 +00:00
|
|
|
* Wed Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-4
|
|
|
|
- Errors installing with --excludedocs (#515925)
|
|
|
|
|
2009-09-16 17:25:57 +00:00
|
|
|
* Wed Sep 13 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-3
|
|
|
|
- drop alternatives, use app-wrapper instead (borrowed from opensuse)
|
|
|
|
- -qt4 experimental subpkg, -qt includes qt3 version again (#523488)
|
|
|
|
|
2009-07-26 18:48:20 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-23 15:28:41 +00:00
|
|
|
* Mon Jun 22 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-1
|
|
|
|
- pinentry-0.7.6
|
|
|
|
- -qt switched qt4 version, where applicable (f9+, rhel6+)
|
|
|
|
- fixup scriptlets
|
|
|
|
|
2009-04-25 22:20:26 +00:00
|
|
|
* Sat Apr 25 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.5-1
|
|
|
|
- pinentry-0.7.5
|
|
|
|
|
2009-02-27 00:30:36 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-25 14:31:14 +00:00
|
|
|
* Tue Mar 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.4-5
|
|
|
|
- pinentry failed massrebuild attempt for GCC 4.3 (#434400)
|
|
|
|
|
2008-03-25 13:33:37 +00:00
|
|
|
* Tue Mar 25 2008 Rex Dieter <rdieter@fedoraproject.org> - 0.7.4-4
|
|
|
|
- s/qt-devel/qt3-devel/ (f9+)
|
|
|
|
|
2008-02-19 21:28:29 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.7.4-3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-02-17 12:26:24 +00:00
|
|
|
* Sun Feb 17 2008 Adam Tkac <atkac redhat com> - 0.7.4-2
|
|
|
|
- rebuild against new libcap
|
|
|
|
|
2007-12-10 05:02:28 +00:00
|
|
|
* Sun Dec 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.4-1
|
|
|
|
- pinentry-0.7.4
|
|
|
|
- BR: libcap-devel
|
|
|
|
|
2007-08-25 13:30:45 +00:00
|
|
|
* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.3-2
|
|
|
|
- respin (BuildID)
|
|
|
|
|
2007-08-12 02:40:11 +00:00
|
|
|
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.3-1
|
|
|
|
- pinentry-0.7.3
|
|
|
|
- License: GPLv2+
|
|
|
|
|
2007-05-11 04:25:39 +00:00
|
|
|
* Thu May 10 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 0.7.2-15
|
|
|
|
- respin (for ppc64)
|
|
|
|
|
2006-12-04 13:49:57 +00:00
|
|
|
* Mon Dec 04 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-14
|
|
|
|
- -14 respin (to help retire ATrpms pinentry pkg)
|
|
|
|
|
2006-08-28 14:58:29 +00:00
|
|
|
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-3
|
|
|
|
- fc6 respin
|
|
|
|
|
2006-08-09 17:41:04 +00:00
|
|
|
* Wed Aug 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 0.7.2-2
|
|
|
|
- fc6 respin
|
|
|
|
|
|
|
|
* Wed Mar 01 2006 Rex Dieter <rexdieter[AT]users.sf.net>
|
2006-02-10 13:24:58 +00:00
|
|
|
- fc5: gcc/glibc respin
|
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
* Tue Oct 18 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.2-1
|
|
|
|
- 0.7.2, docs patch applied upstream.
|
|
|
|
- Switch to GTK2 in -gtk.
|
|
|
|
- Fine tune dependencies.
|
|
|
|
- Build with dependency tracking disabled.
|
|
|
|
- Clean up obsolete pre-FC2 support.
|
|
|
|
|
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0.7.1-4
|
2005-04-06 22:13:29 +00:00
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 05:14:02 +00:00
|
|
|
* Wed Jun 30 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.3
|
|
|
|
- BuildRequires qt-devel >= 3.2.
|
|
|
|
|
|
|
|
* Sat May 22 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.2
|
|
|
|
- Spec cleanups.
|
|
|
|
|
|
|
|
* Sat Apr 24 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.1-0.fdr.1
|
|
|
|
- Update to 0.7.1.
|
|
|
|
|
|
|
|
* Fri Dec 26 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.7.0-0.fdr.1
|
|
|
|
- Update to 0.7.0.
|
|
|
|
- Split GTK+ and QT dialogs into subpackages.
|
|
|
|
|
|
|
|
* Thu Jul 10 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.9-0.fdr.1
|
|
|
|
- Update to 0.6.9.
|
|
|
|
- Smoother experience with --excludedocs.
|
|
|
|
- Don't change alternative priorities on upgrade.
|
|
|
|
|
|
|
|
* Sat Mar 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:0.6.8-0.fdr.1
|
2004-11-08 05:13:41 +00:00
|
|
|
- Update to current Fedora guidelines.
|
|
|
|
|
|
|
|
* Tue Feb 12 2003 Warren Togami <warren@togami.com> 0.6.8-1.fedora.3
|
|
|
|
- info/dir temporary workaround
|
|
|
|
|
2004-11-08 05:14:02 +00:00
|
|
|
* Sat Feb 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0.6.8-1.fedora.1
|
2004-11-08 05:13:41 +00:00
|
|
|
- First Fedora release.
|