2006-02-10 13:24:58 +00:00
|
|
|
|
|
|
|
Name: pinentry
|
|
|
|
Version: 0.7.2
|
2006-03-01 15:56:04 +00:00
|
|
|
Release: 1%{?dist}.2
|
2006-02-10 13:24:58 +00:00
|
|
|
Summary: Collection of simple PIN or passphrase entry dialogs
|
|
|
|
|
|
|
|
Group: Applications/System
|
|
|
|
License: GPL
|
|
|
|
URL: http://www.gnupg.org/aegypten/
|
|
|
|
Source0: http://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://ftp.gnupg.org/gcrypt/pinentry/%{name}-%{version}.tar.gz.sig
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Patch0: pinentry-info.patch
|
2004-11-08 05:14:02 +00:00
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: qt-devel
|
|
|
|
BuildRequires: ncurses-devel
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): /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}
|
2005-10-18 18:18:13 +00:00
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
2006-02-10 13:24:58 +00:00
|
|
|
%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.
|
|
|
|
This package contains the GTK+ GUI based version of the PIN entry dialog.
|
|
|
|
|
2006-02-10 13:24:58 +00:00
|
|
|
%package qt
|
|
|
|
Summary: Passphrase/PIN entry dialog based on Qt
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Provides: %{name}-gui = %{version}-%{release}
|
2005-10-18 18:18:13 +00:00
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
2006-02-10 13:24:58 +00:00
|
|
|
%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.
|
2004-11-08 05:14:02 +00:00
|
|
|
This package contains the Qt GUI based version of the PIN entry dialog.
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2006-02-10 13:24:58 +00:00
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
%patch0 -p1
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2006-02-10 13:24:58 +00:00
|
|
|
unset QTDIR || : ; . /etc/profile.d/qt.sh
|
|
|
|
export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
|
|
|
|
|
|
|
|
%configure \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-pinentry-gtk
|
|
|
|
|
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
|
|
|
|
2005-10-18 18:18:13 +00:00
|
|
|
# Dummy symlink for %%ghost
|
|
|
|
ln -sf %{_sysconfdir}/alternatives/pinentry $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
|
|
|
|
|
|
|
|
|
|
|
%post
|
2006-02-10 13:24:58 +00:00
|
|
|
/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir || :
|
2004-11-08 05:14:02 +00:00
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/pinentry \
|
|
|
|
pinentry %{_bindir}/pinentry-curses 10
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post gtk
|
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/pinentry \
|
|
|
|
pinentry %{_bindir}/pinentry-gtk 40
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post qt
|
|
|
|
if [ $1 -eq 1 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --install %{_bindir}/pinentry \
|
|
|
|
pinentry %{_bindir}/pinentry-qt 30
|
|
|
|
fi
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
%postun
|
2004-11-08 05:14:02 +00:00
|
|
|
if [ $1 -eq 0 ] ; then
|
2006-02-10 13:24:58 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir || :
|
2004-11-08 05:14:02 +00:00
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-curses
|
2004-11-08 05:13:41 +00:00
|
|
|
fi
|
|
|
|
|
2004-11-08 05:14:02 +00:00
|
|
|
%postun gtk
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-gtk
|
|
|
|
fi
|
2004-11-08 05:13:41 +00:00
|
|
|
|
2004-11-08 05:14:02 +00:00
|
|
|
%postun qt
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-qt
|
|
|
|
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
|
2004-11-08 05:13:41 +00:00
|
|
|
%ghost %{_bindir}/pinentry
|
2004-11-08 05:14:02 +00:00
|
|
|
%{_infodir}/pinentry.info*
|
|
|
|
|
|
|
|
%files gtk
|
|
|
|
%defattr(-,root,root,-)
|
2005-10-18 18:18:13 +00:00
|
|
|
%{_bindir}/pinentry-gtk*
|
2004-11-08 05:14:02 +00:00
|
|
|
%ghost %{_bindir}/pinentry
|
|
|
|
|
|
|
|
%files qt
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/pinentry-qt
|
|
|
|
%ghost %{_bindir}/pinentry
|
2004-11-08 05:13:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2006-03-01 15:56:04 +00:00
|
|
|
* Wed Mar 1 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.
|