Summary(pl.UTF-8): GnuPG - narzędzie do bezpiecznej komunikacji i bezpiecznego przechowywania danych - wersja rozszerzona
Name: gnupg2
# 2.1.x is development version unfortunately (see gpg2 --version)
-Version: 2.1.3
+Version: 2.1.14
Release: 0.1
License: GPL v3+
Group: Applications/File
Source0: ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-%{version}.tar.bz2
-# Source0-md5: e2c6b4d3194f5595bfc43050b580ce7e
+# Source0-md5: 46cf0a42ffad6c2615cafd633580b2de
Source1: gnupg-agent.sh
Patch0: %{name}-info.patch
BuildRequires: curl-devel >= 7.10
BuildRequires: gettext-tools >= 0.17
BuildRequires: gnutls-devel >= 3.0
-BuildRequires: libassuan-devel >= 1:2.2.0
-BuildRequires: libgcrypt-devel >= 1.6.0
-BuildRequires: libgpg-error-devel >= 1.16
-BuildRequires: libksba-devel >= 1.2.0
-BuildRequires: libusb-compat-devel >= 0.1
-BuildRequires: npth-devel >= 1.1
+BuildRequires: libassuan-devel >= 1:2.4.3
+BuildRequires: libgcrypt-devel >= 1.7.0
+BuildRequires: libgpg-error-devel >= 1.24
+BuildRequires: libksba-devel >= 1.3.4
+BuildRequires: libusb-devel >= 1.0
+BuildRequires: npth-devel >= 1.2
# only for dirmngr, which is not built here
#BuildRequires: openldap-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: rpmbuild(macros) >= 1.177
+BuildRequires: sqlite3-devel >= 3.7
BuildRequires: texinfo
BuildRequires: zlib-devel
Requires: gnupg2-common = %{version}-%{release}
+Requires: sqlite3 >= 3.7
Suggests: gnupg-agent
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary: GnuPG - common files
Summary(pl.UTF-8): GnuPG - pliki wspólne
Group: Applications/File
-Requires: libassuan >= 1:2.2.0
-Requires: libgcrypt >= 1.6.0
-Requires: libgpg-error >= 1.16
-Requires: libksba >= 1.2.0
-Requires: npth >= 1.1
+Requires: libassuan >= 1:2.4.3
+Requires: libgcrypt >= 1.7.0
+Requires: libgpg-error >= 1.24
+Requires: libksba >= 1.3.4
+Requires: npth >= 1.2
Obsoletes: gnupg2-plugin-keys_curl
Obsoletes: gnupg2-plugin-keys_finger
Obsoletes: gnupg2-plugin-keys_hkp
%{__automake}
%configure \
--disable-dirmngr \
+ --enable-g13 \
--enable-gpg \
%{?with_selinux:--enable-selinux-support} \
--enable-symcryptrun \
--with-pinentry-pgm=%{_bindir}/pinentry \
--with-mailprog=/usr/lib/sendmail
+# required for info rebuild
+%{__make} -C doc defs.inc
+
%{__make}
%install
install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d/gnupg-agent.sh
install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/gnupg-agent.sh
-# non-existing program
-%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/gpg-zip.1
# see dirmngr package
%{__rm} $RPM_BUILD_ROOT%{_mandir}/{man1/dirmngr-client.1,man8/dirmngr.8}
%{__rm} -f $RPM_BUILD_ROOT%{_datadir}/info/dir
+# files useful for users packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gnupg
+
%find_lang gnupg2
%clean
%files common -f gnupg2.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog ChangeLog-2011 NEWS README THANKS TODO doc/{DETAILS,FAQ,KEYSERVER,OpenPGP}
+%doc AUTHORS ChangeLog ChangeLog-2011 NEWS README THANKS TODO doc/{DETAILS,FAQ,KEYSERVER,OpenPGP} doc/examples
%attr(755,root,root) %{_bindir}/g13
%attr(755,root,root) %{_bindir}/gpg-connect-agent
%attr(755,root,root) %{_bindir}/gpgconf
-%attr(755,root,root) %{_bindir}/gpgkey2ssh
%attr(755,root,root) %{_bindir}/gpgparsemail
+%attr(755,root,root) %{_bindir}/gpgscm
%attr(755,root,root) %{_bindir}/gpgtar
%attr(755,root,root) %{_bindir}/kbxutil
%attr(755,root,root) %{_bindir}/watchgnupg
%attr(755,root,root) %{_sbindir}/addgnupghome
%attr(755,root,root) %{_sbindir}/applygnupgdefaults
+%attr(755,root,root) %{_sbindir}/g13-syshelp
%dir %{_libexecdir}
%{_datadir}/gnupg
%files -n gnupg-smime
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/gpgsm
-%attr(755,root,root) %{_bindir}/gpgsm-gencert.sh
%{_mandir}/man1/gpgsm.1*
-%{_mandir}/man1/gpgsm-gencert.sh.1*
%files -n gnupg-agent
%defattr(644,root,root,755)