diff --git a/.cvsignore b/.cvsignore index e69de29..d1b3ae8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pinentry-0.6.8.tar.gz diff --git a/pinentry-0.6.8.tar.gz.sig b/pinentry-0.6.8.tar.gz.sig new file mode 100644 index 0000000..dc02007 --- /dev/null +++ b/pinentry-0.6.8.tar.gz.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.1 (GNU/Linux) + +iD8DBQA+Q/KwwKTLuYeXhWkRAu8DAJ4qe8m4rEQApEcW5Ccz1/VZ+idpiwCfT2uJ +z9ZNCk+Jbq9DSOfCBkFyRHE= +=hGvy +-----END PGP SIGNATURE----- diff --git a/pinentry-info.patch b/pinentry-info.patch new file mode 100644 index 0000000..07109e0 --- /dev/null +++ b/pinentry-info.patch @@ -0,0 +1,38 @@ +--- doc/pinentry.info~ 2003-02-07 19:33:02.000000000 +0200 ++++ doc/pinentry.info 2003-02-08 23:48:55.000000000 +0200 +@@ -3,13 +3,12 @@ + + INFO-DIR-SECTION GNU Utilities + START-INFO-DIR-ENTRY +-* gpg: (gnupg). OpenPGP encryption and signing tool. +-* gpgsm: (gnupg). S/MIME encryption and signing tool. ++* PINEntry: (pinentry). PIN or passphrase entry dialog. + END-INFO-DIR-ENTRY +- This file documents the use and the internals of the PINEnrty. ++ This file documents the use and the internals of the PINEntry. + + This is edition 0.6.8, last updated 11 October 2002, of `The +-`PINEnrty' Manual', for version 0.6.8. ++`PINEntry' Manual', for version 0.6.8. + + Published by g10 Code GmbH + Remscheider Str. 22 +--- doc/pinentry.texi~ 2002-10-11 17:33:34.000000000 +0300 ++++ doc/pinentry.texi 2003-02-08 23:49:29.000000000 +0200 +@@ -60,13 +60,12 @@ + @ifnottex + @dircategory GNU Utilities + @direntry +-* gpg: (gnupg). OpenPGP encryption and signing tool. +-* gpgsm: (gnupg). S/MIME encryption and signing tool. ++* PINEntry: (pinentry). PIN or passphrase entry dialog. + @end direntry +-This file documents the use and the internals of the PINEnrty. ++This file documents the use and the internals of the PINEntry. + + This is edition @value{EDITION}, last updated @value{UPDATED}, of +-@cite{The `PINEnrty' Manual}, for version @value{VERSION}. ++@cite{The `PINEntry' Manual}, for version @value{VERSION}. + @sp 1 + Published by g10 Code GmbH@* + Remscheider Str. 22@* diff --git a/pinentry.spec b/pinentry.spec new file mode 100644 index 0000000..82ce888 --- /dev/null +++ b/pinentry.spec @@ -0,0 +1,85 @@ +Summary: PIN or passphrase entry dialog +Name: pinentry +Version: 0.6.8 +Release: 0.fdr.1.rh80 +Epoch: 0 +License: GPL +Group: Applications/System +URL: http://www.gnupg.org/aegypten/ +Source0: ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/pinentry-0.6.8.tar.gz +Source1: ftp://ftp.gnupg.org/gcrypt/alpha/aegypten/pinentry-0.6.8.tar.gz.sig +Patch0: %{name}-info.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: glib-devel >= 1:1.2.0, gtk+-devel >= 1:1.2.0, qt-devel +BuildRequires: ncurses-devel +Requires: chkconfig, info + +%description +This 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. + +# ----------------------------------------------------------------------------- + +%prep +%setup -q +%patch0 -p0 + +# ----------------------------------------------------------------------------- + +%build +%configure +make %{?_smp_mflags} + +# ----------------------------------------------------------------------------- + +%install +rm -rf %{buildroot} +%makeinstall +touch %{buildroot}%{_bindir}/pinentry +rm -f %{buildroot}%{_infodir}/dir + +# ----------------------------------------------------------------------------- + +%post +install-info %{_infodir}/pinentry.info.gz %{_infodir}/dir +update-alternatives --install %{_bindir}/pinentry \ + pinentry %{_bindir}/pinentry-curses 10 +update-alternatives --install %{_bindir}/pinentry \ + pinentry %{_bindir}/pinentry-gtk 40 +update-alternatives --install %{_bindir}/pinentry \ + pinentry %{_bindir}/pinentry-qt 30 + +%postun +if [ "$1" = "0" ]; then + install-info --delete %{_infodir}/pinentry.info.gz %{_infodir}/dir + update-alternatives --remove pinentry %{_bindir}/pinentry-curses + update-alternatives --remove pinentry %{_bindir}/pinentry-gtk + update-alternatives --remove pinentry %{_bindir}/pinentry-qt +fi + +# ----------------------------------------------------------------------------- + +%clean +rm -rf %{buildroot} + +# ----------------------------------------------------------------------------- + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO +%{_bindir}/pinentry-* +%ghost %{_bindir}/pinentry +%{_infodir}/* + +# ----------------------------------------------------------------------------- + +%changelog +* Sat Mar 22 2003 Ville Skyttä - 0:0.6.8-0.fdr.1 +- Update to current Fedora guidelines. + +* Tue Feb 12 2003 Warren Togami 0.6.8-1.fedora.3 +- info/dir temporary workaround + +* Sat Feb 8 2003 Ville Skyttä - 0.6.8-1.fedora.1 +- First Fedora release. diff --git a/sources b/sources index e69de29..6ab932a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +be8460bc1ecc2596fabea931a48c5080 pinentry-0.6.8.tar.gz