diff --git a/libgpgme.spec b/libgpgme.spec index fb143c6..756143b 100644 --- a/libgpgme.spec +++ b/libgpgme.spec @@ -1,6 +1,6 @@ Name: libgpgme Epoch: 1 -Version: 1.15.1 +Version: 1.18.0 Release: 1mamba Summary: A library designed to make access to GnuPG easier for applications Group: System/Libraries @@ -15,18 +15,18 @@ License: LGPL BuildRequires: glibc-devel BuildRequires: libassuan-devel BuildRequires: libgcc +BuildRequires: libglib-devel BuildRequires: libgpg-error-devel -BuildRequires: libpython-devel BuildRequires: libpython27-devel BuildRequires: libpython3-devel -BuildRequires: libqt5-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} -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. @@ -102,6 +102,15 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} 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 @@ -111,8 +120,10 @@ Currently it uses GnuPG as its backend but the API isn't restricted to this engi #%patch0 -p1 -# build workaround: require python 3.6 -sed -i "s|3\.4|3.6|" configure.ac +# 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 @@ -159,17 +170,25 @@ exit 0 %files -n python-gpg-py3 %defattr(-,root,root) -%{python3_sitearch}/gpg-%{version}_unknown-py*.egg-info -%dir %{python3_sitearch}/gpg -%{python3_sitearch}/gpg/* +%dir %{python3_sitearch}/gpg-%{version}_unknown-py*.egg +%{python3_sitearch}/gpg-%{version}_unknown-py*.egg/* +#%dir %{python3_sitearch}/gpg +#%{python3_sitearch}/gpg/* -%ifnarch aarch64 -%files -n python-gpg-py36 +%files -n python-gpg-py310 %defattr(-,root,root) -%{python36_sitearch}/gpg-%{version}_unknown-py*.egg-info -%dir %{python36_sitearch}/gpg -%{python36_sitearch}/gpg/* -%endif +%dir %{python310_sitearch}/gpg-%{version}_unknown-py*.egg +%{python310_sitearch}/gpg-%{version}_unknown-py*.egg/* +#%dir %{python3_sitearch}/gpg +#%{python3_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) @@ -200,6 +219,9 @@ exit 0 %{_bindir}/gpgme-json %changelog +* 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