don't build and obsolete py27 and py310 packages; obsolete libgpgme16 [release 1.23.2-3mamba;Sat Aug 24 2024]
This commit is contained in:
parent
4b5e3112d0
commit
bf370e15fe
50
gpgme.spec
50
gpgme.spec
@ -1,7 +1,7 @@
|
||||
Name: gpgme
|
||||
Epoch: 1
|
||||
Version: 1.23.2
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: A library and tools designed to make access to GnuPG easier for applications
|
||||
Group: Applications/Security
|
||||
Vendor: openmamba
|
||||
@ -16,8 +16,6 @@ BuildRequires: libassuan-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgpg-error-devel
|
||||
BuildRequires: libpython27-devel
|
||||
BuildRequires: libpython310-devel
|
||||
BuildRequires: libpython311-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
@ -35,6 +33,8 @@ GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for
|
||||
%package -n lib%{name}
|
||||
Group: System/Libraries
|
||||
Summary: A library designed to make access to GnuPG easier for applications
|
||||
Obsoletes: libgpg2 <= 1:1.23.2-2mamba
|
||||
Obsoletes: libgpgme16 <= 1:1.23.2-2mamba
|
||||
|
||||
%description -n lib%{name}
|
||||
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.
|
||||
@ -48,6 +48,7 @@ Requires: libgpgmepp = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libqgpgme = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: libgpgme = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: gpgme = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: libgpgme16-devel <= 1:1.23.2-2mamba
|
||||
|
||||
%description -n lib%{name}-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.
|
||||
@ -98,36 +99,18 @@ Requires: libqgpgme-qt6 = %{?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.
|
||||
This package contains static libraries and header files needed for development.
|
||||
|
||||
%package -n python-gpg-py27
|
||||
Group: System/Libraries/Python
|
||||
Summary: Python bindings for gpgme
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: python-gpg
|
||||
Obsoletes: python-gpg < 1:1.22.0
|
||||
|
||||
%description -n python-gpg-py27
|
||||
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: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Obsoletes: python-gpg-py36 < 1.18.0
|
||||
Obsoletes: python-gpg-py310 <= 1:1.23.2-2mamba
|
||||
Obsoletes: python-gpg-py27 <= 1:1.23.2-2mamba
|
||||
|
||||
%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-py310
|
||||
Group: System/Libraries/Python
|
||||
Summary: Python bindings for gpgme
|
||||
Requires: lib%{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
|
||||
@ -138,10 +121,12 @@ Currently it uses GnuPG as its backend but the API isn't restricted to this engi
|
||||
mv %{name}-%{version} gpgme
|
||||
cd gpgme
|
||||
|
||||
# don't build for python 3.6, 3.7, 3.9
|
||||
# don't build for python 2.7, 3.6, 3.7, 3.9, 3.10
|
||||
sed -i "s|2\.7|2.x|" configure.ac
|
||||
sed -i "s|3\.6|3.x|" configure.ac
|
||||
sed -i "s|3\.7|3.x|" configure.ac
|
||||
sed -i "s|3\.9|3.x|" configure.ac
|
||||
sed -i "s|3\.10|3.x|" configure.ac
|
||||
# TODO: temporary disable build with python 3.12
|
||||
sed -i "s|3\.12|3.x|" configure.ac
|
||||
|
||||
@ -171,7 +156,6 @@ cd ../gpgme-qt6
|
||||
%makeinstall -C gpgme
|
||||
|
||||
mv %{buildroot}%{python3_sitearch}/gpg-%{version}-py*.egg/gpg %{buildroot}%{python3_sitearch}/
|
||||
mv %{buildroot}%{python310_sitearch}/gpg-%{version}-py*.egg/gpg %{buildroot}%{python310_sitearch}/
|
||||
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
|
||||
@ -242,12 +226,6 @@ rm -f %{buildroot}%{_infodir}/dir
|
||||
%dir %{_libdir}/cmake/QGpgmeQt6
|
||||
%{_libdir}/cmake/QGpgmeQt6/QGpgmeQt6*.cmake
|
||||
|
||||
%files -n python-gpg-py27
|
||||
%defattr(-,root,root)
|
||||
%dir %{python27_sitearch}/gpg
|
||||
%{python27_sitearch}/gpg-%{version}-py*.egg-info
|
||||
%{python27_sitearch}/gpg/*
|
||||
|
||||
%files -n python-gpg-py3
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/gpg-%{version}-py*.egg
|
||||
@ -255,14 +233,10 @@ rm -f %{buildroot}%{_infodir}/dir
|
||||
%dir %{python3_sitearch}/gpg
|
||||
%{python3_sitearch}/gpg/*
|
||||
|
||||
%files -n python-gpg-py310
|
||||
%defattr(-,root,root)
|
||||
%dir %{python310_sitearch}/gpg-%{version}-py*.egg
|
||||
%{python310_sitearch}/gpg-%{version}-py*.egg/*
|
||||
%dir %{python310_sitearch}/gpg
|
||||
%{python310_sitearch}/gpg/*
|
||||
|
||||
%changelog
|
||||
* Sat Aug 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.23.2-3mamba
|
||||
- don't build and obsolete py27 and py310 packages; obsolete libgpgme16
|
||||
|
||||
* Sun Jul 07 2024 Automatic Build System <autodist@mambasoft.it> 1.23.2-2mamba
|
||||
- rebuilt by autoport with build requirements: libassuan-devel>=0:3.0.1-1mamba
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user