rpms/pinentry/devel pinentry.spec,1.8,1.9
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Fri Feb 10 13:24:58 UTC 2006
Author: rdieter
Update of /cvs/extras/rpms/pinentry/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30312
Modified Files:
pinentry.spec
Log Message:
* Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net>
- fc5: gcc/glibc respin
Index: pinentry.spec
===================================================================
RCS file: /cvs/extras/rpms/pinentry/devel/pinentry.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- pinentry.spec 18 Oct 2005 18:18:13 -0000 1.8
+++ pinentry.spec 10 Feb 2006 13:24:58 -0000 1.9
@@ -1,24 +1,28 @@
-Name: pinentry
-Version: 0.7.2
-Release: 1%{?dist}
-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
-Patch0: %{name}-info.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Name: pinentry
+Version: 0.7.2
+Release: 1%{?dist}.1
+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
BuildRequires: gtk2-devel
BuildRequires: qt-devel
BuildRequires: ncurses-devel
+
Requires(post): %{_sbindir}/update-alternatives
Requires(post): /sbin/install-info
Requires(postun): %{_sbindir}/update-alternatives
Requires(postun): /sbin/install-info
-Provides: %{name}-curses = %{version}-%{release}
+
+Provides: %{name}-curses = %{version}-%{release}
%description
Pinentry is a collection of simple PIN or passphrase entry dialogs which
@@ -26,29 +30,27 @@
http://www.gnupg.org/aegypten/ for details.
This package contains the curses (text) based version of the PIN entry dialog.
-%package gtk
-Summary: Passphrase/PIN entry dialog based on GTK+
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
+%package gtk
+Summary: Passphrase/PIN entry dialog based on GTK+
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Provides: %{name}-gui = %{version}-%{release}
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
-Provides: %{name}-gui = %{version}-%{release}
-
-%description gtk
+%description gtk
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.
-%package qt
-Summary: Passphrase/PIN entry dialog based on Qt
-Group: Applications/System
-Requires: %{name} = %{version}-%{release}
+%package qt
+Summary: Passphrase/PIN entry dialog based on Qt
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+Provides: %{name}-gui = %{version}-%{release}
Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives
-Provides: %{name}-gui = %{version}-%{release}
-
-%description qt
+%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.
@@ -57,22 +59,34 @@
%prep
%setup -q
+
%patch0 -p1
%build
-[ -n "$QTDIR" ] || . %{_sysconfdir}/profile.d/qt.sh
-%configure --disable-rpath --disable-dependency-tracking --disable-pinentry-gtk
+unset QTDIR || : ; . /etc/profile.d/qt.sh
+export QTLIB=${QTDIR}/lib QTINC=${QTDIR}/include
+
+%configure \
+ --disable-rpath \
+ --disable-dependency-tracking \
+ --disable-pinentry-gtk
+
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
+
make install DESTDIR=$RPM_BUILD_ROOT
+
# Backwards compatibility
ln -s pinentry-gtk-2 $RPM_BUILD_ROOT%{_bindir}/pinentry-gtk
+
# Dummy symlink for %%ghost
ln -sf %{_sysconfdir}/alternatives/pinentry $RPM_BUILD_ROOT%{_bindir}/pinentry
+
+# unpackaged files
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@@ -81,7 +95,7 @@
%post
-/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
+/sbin/install-info %{_infodir}/pinentry.info %{_infodir}/dir || :
if [ $1 -eq 1 ] ; then
%{_sbindir}/update-alternatives --install %{_bindir}/pinentry \
pinentry %{_bindir}/pinentry-curses 10
@@ -101,8 +115,7 @@
%postun
if [ $1 -eq 0 ] ; then
- /sbin/install-info --delete %{_infodir}/%{name}.info \
- %{_infodir}/dir 2>/dev/null || :
+ /sbin/install-info --delete %{_infodir}/pinentry.info %{_infodir}/dir || :
%{_sbindir}/update-alternatives --remove pinentry %{_bindir}/pinentry-curses
fi
@@ -136,6 +149,9 @@
%changelog
+* Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net>
+- fc5: gcc/glibc respin
+
* 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.
More information about the fedora-extras-commits
mailing list