Name: libgpgme Epoch: 1 Version: 1.12.0 Release: 1mamba Summary: A library designed to make access to GnuPG easier for applications Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.gnupg.org/related_software/gpgme/ Source: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2 Patch0: libgpgme-1.8.0-cmake-fix-libsuffix.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libassuan-devel BuildRequires: libgcc BuildRequires: libgpg-error-devel BuildRequires: libpython-devel BuildRequires: libpython27-devel BuildRequires: libpython3-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: pkgconfig BuildRequires: gnupg2 >= 1.9.6 BuildRequires: libassuan-devel >= 0.6.7 Requires(post):%{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). %package devel Summary: Devel files for libgpgme Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: libgpgmepp = %{?epoch:%epoch:}%{version}-%{release} Requires: libqgpgme = %{?epoch:%epoch:}%{version}-%{release} Requires: gpgme = %{?epoch:%epoch:}%{version}-%{release} %description devel GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). This package contains static libraries and header files need for development. %package -n libgpgmepp Summary: gpgme C++ shared library Group: System/Libraries %description -n libgpgmepp GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). This package contains the C++ shared library. %package -n libqgpgme Summary: gpgme Qt shared library Group: System/Libraries %description -n libqgpgme GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). This package contains the Qt shared library. %package -n gpgme Group: Applications/Security Summary: gpgme command line tools Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n gpgme GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). %package -n python-gpg Group: System/Libraries/Python Summary: Python bindings for gpgme Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-gpg GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications. It provides a High-Level Crypto API for encryption, decryption, signing, signature verification and key management. Currently it uses GnuPG as its backend but the API isn't restricted to this engine; in fact we have already developed a backend for CMS (S/MIME). %prep %setup -q -n gpgme-%{version} #-D -T #:<< _EOF #%patch0 -p1 # build workaround: require python 3.3 sed -i "s|3\.4|3.3|" configure.ac %build #:<< _EOF ./autogen.sh %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel %install_info gpgme.info %preun devel %uninstall_info gpgme.info exit 0 %files %defattr(-,root,root) %{_libdir}/libgpgme.so.* %doc AUTHORS COPYING %files -n libgpgmepp %defattr(-,root,root) %{_libdir}/libgpgmepp.so.* %files -n libqgpgme %defattr(-,root,root) %{_libdir}/libqgpgme.so.* %files -n python-gpg %defattr(-,root,root) #%{python3_sitelib}/gpg/install_files.txt %{python27_sitearch}/gpg-%{version}-py2.7.egg-info %dir %{python27_sitearch}/gpg %{python27_sitearch}/gpg/* %{python3_sitearch}/gpg-%{version}-py3.3.egg-info %dir %{python3_sitearch}/gpg %{python3_sitearch}/gpg/* %files devel %defattr(-,root,root) %{_bindir}/gpgme-config %{_datadir}/aclocal/gpgme.m4 %{_includedir}/gpgme.h %{_libdir}/*.la %{_libdir}/*.so %{_infodir}/gpgme.info* %{_datadir}/common-lisp/source/gpgme/* %dir %{_includedir}/QGpgME %{_includedir}/QGpgME/* %dir %{_includedir}/gpgme++ %{_includedir}/gpgme++/* %dir %{_includedir}/qgpgme %{_includedir}/qgpgme/* %{_libdir}/cmake/Gpgmepp/GpgmeppConfig.cmake %{_libdir}/cmake/Gpgmepp/GpgmeppConfigVersion.cmake %{_libdir}/cmake/QGpgme/QGpgmeConfig.cmake %{_libdir}/cmake/QGpgme/QGpgmeConfigVersion.cmake %doc ChangeLog NEWS README THANKS TODO %files -n gpgme %defattr(-,root,root) %{_bindir}/gpgme-tool %{_bindir}/gpgme-json %changelog * Thu Oct 11 2018 Automatic Build System 1.12.0-1mamba - automatic version update by autodist * Mon Apr 23 2018 Automatic Build System 1.11.1-1mamba - automatic version update by autodist * Sun Dec 24 2017 Automatic Build System 1.10.0-1mamba - automatic version update by autodist * Sun Aug 27 2017 Silvan Calarco 1.9.0-2mamba - bump epoch to allo upgrade of former release 16.08 * Sun Apr 09 2017 Ercole 'ercolinux' Carpanetto 1.9.0-1mamba - update to 1.9.0 * Mon Jan 02 2017 Silvan Calarco 1.8.0-3mamba - -devel: require libqgpgme * Tue Dec 27 2016 Silvan Calarco 1.8.0-2mamba - fix cmake file and split libraries into packages * Mon Dec 26 2016 Silvan Calarco 1.8.0-1mamba - update to 1.8.0 * Sat Sep 05 2015 Automatic Build System 1.6.0-1mamba - automatic version update by autodist * Sun Aug 16 2015 Automatic Build System 1.5.5-1mamba - automatic version update by autodist * Sun May 03 2015 Automatic Build System 1.5.4-1mamba - automatic update by autodist * Sat Dec 27 2014 Automatic Build System 1.5.3-1mamba - automatic version update by autodist * Fri Aug 08 2014 Automatic Build System 1.5.1-1mamba - automatic update by autodist * Sat May 24 2014 Automatic Build System 1.5.0-1mamba - automatic update by autodist * Thu Aug 15 2013 Automatic Build System 1.4.3-1mamba - automatic update by autodist * Fri Jun 07 2013 Automatic Build System 1.4.2-1mamba - automatic version update by autodist * Wed May 08 2013 Automatic Build System 1.4.1-1mamba - automatic version update by autodist * Thu Feb 28 2013 Automatic Build System 1.4.0-1mamba - automatic version update by autodist * Tue Jun 12 2012 Automatic Build System 1.3.2-1mamba - automatic version update by autodist * Fri Jun 24 2011 Automatic Build System 1.3.1-1mamba - automatic update by autodist * Tue Jan 19 2010 Automatic Build System 1.3.0-1mamba - automatic update by autodist * Mon Jun 29 2009 Automatic Build System 1.2.0-1mamba - automatic update by autodist * Tue Jan 06 2009 Silvan Calarco 1.1.8-1mamba - automatic update by autodist * Sat Apr 05 2008 Silvan Calarco 1.1.6-1mamba - update to 1.1.6 * Wed Mar 21 2007 Davide Madrisan 1.1.4-1qilnx - update to version 1.1.4 by autospec - also fixes the security issue CVE-2007-1263 * Sun Mar 04 2007 Silvan Calarco 1.1.3-1qilnx - update to version 1.1.3 by autospec * Mon Oct 10 2005 Davide Madrisan 1.1.0-1qilnx - update to version 1.1.0 by autospec - specfile fixes: run ldconfig, install/uninstall info files, use rpm macros * Tue Oct 12 2004 Silvan Calarco 1.0.0-1qilnx - first build