f4d17450 |
Summary: High-Level Crypto API
Name: gpgme |
f7ca9aab |
Version: 1.11.1 |
da9a8ab4 |
Release: 2%{?dist} |
f4d17450 |
License: GPLv2+
URL: https://www.gnupg.org/(it)/related_software/gpgme/index.html |
8f193813 |
Group: System Environment/Security |
f4d17450 |
Vendor: VMware, Inc.
Distribution: Photon |
04d063ff |
Source0: https://www.gnupg.org/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2 |
f7ca9aab |
%define sha1 gpgme=95b1fc427871ca8d30d6d3b1985c816fe0b5077b |
f4d17450 |
Requires: libassuan |
f7ca9aab |
Requires: libgpg-error >= 1.32 |
7276c73a |
# gpgme uses gnupg binaries only at runtime
Requires: gnupg |
f7ca9aab |
BuildRequires: gnupg
BuildRequires: libgpg-error-devel >= 1.32 |
f4d17450 |
BuildRequires: libassuan >= 2.2.0 |
04d063ff |
|
f4d17450 |
%description |
da9a8ab4 |
The GPGME package is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management. |
f4d17450 |
%package devel
Group: Development/Libraries
Summary: Static libraries and header files from GPGME, GnuPG Made Easy. |
9b8c6e17 |
Requires: %{name} = %{version}-%{release} |
f7ca9aab |
Requires: libgpg-error-devel >= 1.32 |
04d063ff |
|
f4d17450 |
%description devel
Static libraries and header files from GPGME, GnuPG Made Easy.
%prep
%setup -q |
04d063ff |
|
f4d17450 |
%build |
f7ca9aab |
./autogen.sh |
da9a8ab4 |
%configure \ |
f4d17450 |
--disable-fd-passing \ |
42e8b7da |
--disable-static \
--enable-languages=cl \ |
f4d17450 |
--disable-gpgsm-test
make %{?_smp_mflags} |
04d063ff |
|
f4d17450 |
%install
make DESTDIR=%{buildroot} install
rm %{buildroot}/%{_libdir}/*.la
rm -rf %{buildroot}/%{_infodir} |
78547c01 |
%check
cd tests && make check-TESTS
|
f4d17450 |
%post -p /sbin/ldconfig |
04d063ff |
|
f4d17450 |
%postun -p /sbin/ldconfig |
04d063ff |
|
da9a8ab4 |
%files |
f4d17450 |
%defattr(-,root,root)
%{_libdir}/*.so.* |
04d063ff |
|
f4d17450 |
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_includedir}/*.h
%{_libdir}/*.so*
%{_datadir}/aclocal/*
%{_datadir}/common-lisp/source/gpgme/* |
04d063ff |
|
f4d17450 |
%changelog |
da9a8ab4 |
* Sat Oct 20 2018 Ankit Jain <ankitja@vmware.com> 1.11.1-2
- Removed gpg2, gnupg-2.2.10 doesn't provide gpg2 |
f7ca9aab |
* Tue Sep 11 2018 Anish Swaminathan <anishs@vmware.com> 1.11.1-1
- Update version to 1.11.1 |
7276c73a |
* Wed Aug 30 2017 Alexey Makhalov <amakhalov@vmware.com> 1.9.0-3
- Add requires gnupg |
42e8b7da |
* Thu Apr 20 2017 Alexey Makhalov <amakhalov@vmware.com> 1.9.0-2
- Disabe C++ bindings |
04d063ff |
* Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 1.9.0-1
- Update to version 1.9.0 |
9b8c6e17 |
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.6.0-3
- Required libgpg-error-devel.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.0-2
- GA - Bump release of all rpms |
9b05c38d |
* Thu Jan 14 2016 Xiaolin Li <xiaolinl@vmware.com> 1.6.0-1
- Updated to version 1.6.0 |
8f193813 |
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 1.5.3-2
- Updated group. |
9b8c6e17 |
* Tue Dec 30 2014 Divya Thaluru <dthaluru@vmware.com> 1.5.3-1
- Initial version |