Summary: GNU Privacy Guard - tool for secure communication and data storage - enhanced version
Summary(pl.UTF-8): GnuPG - narzędzie do bezpiecznej komunikacji i bezpiecznego przechowywania danych - wersja rozszerzona
Name: gnupg2
-Version: 2.0.7
-Release: 3
+Version: 2.0.9
+Release: 2
License: GPL v3+
Group: Applications/File
Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
-# Source0-md5: 433de7aca1f5d4342121ea09d98a2360
+# Source0-md5: b41f3f6716a74c46a609a71853e85c7b
Source1: gnupg-agent.sh
Patch0: %{name}-info.patch
Patch1: %{name}-pth.patch
BuildRequires: libgpg-error-devel >= 1.4
BuildRequires: libksba-devel >= 1.0.2
BuildRequires: libusb-devel
-BuildRequires: openldap-devel >= 2.4.6
+BuildRequires: openldap-devel
BuildRequires: pcsc-lite-devel
%{?with_pth:BuildRequires: pth-devel >= 2.0.0}
BuildRequires: rpmbuild(macros) >= 1.177
BuildRequires: texinfo
BuildRequires: zlib-devel
+Suggests: gnupg-agent
Requires: gnupg2-common = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Rozszerzenie GnuPG - agent
Group: Applications/File
Requires: %{name}-common = %{version}-%{release}
-Requires: pinentry
+Requires: pinentry >= 0.7.5-2
Obsoletes: newpg
%description -n gnupg-agent
--enable-gpg \
--enable-symcryptrun \
--with-capabilities \
- --with-pinentry-pgm=%{_bindir}/pinentry-curses \
+ --with-pinentry-pgm=%{_bindir}/pinentry \
--with-mailprog=/usr/lib/sendmail
-%{__make} -j1
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/gnupg-agent.sh
mv ChangeLog main-ChangeLog || :
-find . -name ChangeLog |awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}'|sh
+find -name ChangeLog | awk '{src=$0; dst=$0;sub("^./","",dst);gsub("/","-",dst); print "cp " src " " dst}' | sh
%find_lang gnupg2
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%triggerpostun -n gnupg-agent -- gnupg-agent < 1.9.16-2
%banner gnupg-agent-1.9.16-2 << EOF
%{_mandir}/man1/watchgnupg.1*
%{_mandir}/man8/addgnupghome.8*
%{_mandir}/man8/applygnupgdefaults.8*
-%{_infodir}/*.info*
+%{_infodir}/gnupg.info*
%files plugin-keys_curl
%defattr(644,root,root,755)