Name: libgpgme Epoch: 1 Version: 1.18.0 Release: 2mamba 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: libglib-devel BuildRequires: libgpg-error-devel BuildRequires: libpython27-devel BuildRequires: libpython3-devel BuildRequires: libpython310-devel BuildRequires: libstdc++6-devel BuildRequires: qt5-qtbase-devel ## AUTOBUILDREQ-END BuildRequires: pkgconfig BuildRequires: gnupg2 >= 1.9.6 BuildRequires: libassuan-devel >= 0.6.7 Requires(post):%{__install_info} %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). %package -n python-gpg-py3 Group: System/Libraries/Python Summary: Python bindings for gpgme Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Obsoletes: python-gpg-py36 < 1.18.0 %description -n python-gpg-py3 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-py36 Group: System/Libraries/Python Summary: Python bindings for gpgme Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-gpg-py36 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-py310 Group: System/Libraries/Python Summary: Python bindings for gpgme Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-gpg-py310 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). %debug_package %prep %setup -q -n gpgme-%{version} #-D -T #:<< _EOF #%patch0 -p1 # build for python 3.10 sed -i "s|3\.9|3.10|" configure.ac # don't build for python 3.6 sed -i "s|3\.6|3.x|" configure.ac ./autogen.sh %build #:<< _EOF %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall mv %{buildroot}%{python3_sitearch}/gpg-%{version}_unknown-py*.egg/gpg %{buildroot}%{python3_sitearch}/ mv %{buildroot}%{python310_sitearch}/gpg-%{version}_unknown-py*.egg/gpg %{buildroot}%{python310_sitearch}/ %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) %dir %{python27_sitearch}/gpg %{python27_sitearch}/gpg-%{version}_unknown-py*.egg-info %{python27_sitearch}/gpg/* %files -n python-gpg-py3 %defattr(-,root,root) %dir %{python3_sitearch}/gpg-%{version}_unknown-py*.egg %{python3_sitearch}/gpg-%{version}_unknown-py*.egg/* %dir %{python3_sitearch}/gpg %{python3_sitearch}/gpg/* %files -n python-gpg-py310 %defattr(-,root,root) %dir %{python310_sitearch}/gpg-%{version}_unknown-py*.egg %{python310_sitearch}/gpg-%{version}_unknown-py*.egg/* %dir %{python310_sitearch}/gpg %{python310_sitearch}/gpg/* #%ifnarch aarch64 #%files -n python-gpg-py36 #%defattr(-,root,root) #%{python36_sitearch}/gpg-%{version}_unknown-py*.egg-info// #%dir %{python36_sitearch}/gpg #%{python36_sitearch}/gpg/* #%endif %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 %{_libdir}/pkgconfig/gpgme-glib.pc %{_libdir}/pkgconfig/gpgme.pc %doc ChangeLog NEWS README THANKS TODO %files -n gpgme %defattr(-,root,root) %{_bindir}/gpgme-tool %{_bindir}/gpgme-json %changelog * Sat Aug 27 2022 Silvan Calarco 1.18.0-2mamba - python-gpg-py3{10}: fix gpg module installation path * Sat Aug 27 2022 Silvan Calarco 1.18.0-1mamba - update to 1.18.0 * Mon Jan 11 2021 Automatic Build System 1.15.1-1mamba - automatic version update by autodist * Thu Nov 19 2020 Automatic Build System 1.15.0-1mamba - automatic version update by autodist * Sat Jul 18 2020 Automatic Build System 1.14.0-1mamba - automatic version update by autodist * Wed Jun 19 2019 Automatic Build System 1.13.1-1mamba - automatic version update by autodist * Sun Mar 31 2019 Automatic Build System 1.13.0-1mamba - automatic version update by autodist * 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