SPECS/gnupg/gnupg.spec
55e863b9
 Summary:	OpenPGP standard implementation used for encrypted communication and data storage.
 Name:		gnupg
da9a8ab4
 Version:	2.2.10
 Release:	1%{?dist}
55e863b9
 License:	GPLv3+
 URL:		https://gnupg.org/index.html
 Group:		Applications/Cryptography.
 Source0:        https://gnupg.org/ftp/gcrypt/gnupg/%{name}-%{version}.tar.bz2
da9a8ab4
 %define sha1 gnupg=3e87504e2ca317718aa9b6299947ebf7e906b54e
55e863b9
 Vendor:		VMware, Inc.
 Distribution:	Photon
 BuildRequires:	zlib-devel
 BuildRequires:  bzip2-devel
 BuildRequires:  readline-devel
81fcdb23
 BuildRequires:  npth-devel
55e863b9
 BuildRequires:  libassuan
 BuildRequires:  libksba >= 1.0.7
 BuildRequires:  libgcrypt-devel
81fcdb23
 BuildRequires:  libgpg-error >= 1.24
55e863b9
 Requires:       libksba
7276c73a
 Requires:       libgcrypt >= 1.7.0
81fcdb23
 Requires:       npth
55e863b9
 Requires:       libassuan
2aee18ff
 Requires:       pinentry
55e863b9
 Provides:       gpg
 
 
 %description
 GnuPG is a complete and free implementation of the OpenPGP standard as defined
 by RFC4880 (also known as PGP). GnuPG allows to encrypt and sign your data and
da9a8ab4
 communication, features a versatile key management system as well as access
 modules for all kinds of public key directories. GnuPG, also known as GPG, is
55e863b9
 a command line tool with features for easy integration with other applications.
 
 %prep
 %setup -q -n %{name}-%{version}
81fcdb23
 
55e863b9
 %build
da9a8ab4
 %configure
 make %{?_smp_mflags}
55e863b9
 
 %install
 make DESTDIR=%{buildroot} install
 
da9a8ab4
 %check
 make %{?_smp_mflags} check
 
55e863b9
 %files
 %defattr(-,root,root)
 %{_bindir}/*
 %{_sbindir}/*
 %{_datadir}/locale/*/*/*
 %{_mandir}/*
 %{_infodir}/gnupg*
 %{_libexecdir}/*
 %{_datadir}/gnupg/*
 %exclude %{_infodir}/dir
 %exclude /usr/share/doc/*
 
 %changelog
da9a8ab4
 *   Sat Oct 20 2018 Ankit Jain <ankitja@vmware.com> 2.2.10-1
 -   Update to 2.2.10
7276c73a
 *   Wed Aug 30 2017 Alexey Makhalov <amakhalov@vmware.com> 2.1.20-3
 -   Add requires libgcrypt
 *   Wed Jun 07 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-2
 -   Add pinentry dependency
 *   Tue Apr 11 2017 Danut Moraru <dmoraru@vmware.com> 2.1.20-1
 -   Update to 2.1.20
 *   Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 2.0.30-1
 -   Initial Build.