[packages/python-gpgmepy] - last version of python2 gpg module extracted from gpgme.spec

qboosh qboosh at pld-linux.org
Sun Jul 13 09:54:55 CEST 2025


commit c3c416427e13981ce06896a78aa9f4d641822e75
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jul 13 09:56:21 2025 +0200

    - last version of python2 gpg module extracted from gpgme.spec

 python-gpgmepy.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 61 insertions(+)
---
diff --git a/python-gpgmepy.spec b/python-gpgmepy.spec
new file mode 100644
index 0000000..f3ae1e7
--- /dev/null
+++ b/python-gpgmepy.spec
@@ -0,0 +1,61 @@
+Summary:	GPGMEpy - Python 2 interface for GPGME library
+Summary(pl.UTF-8):	GPGMEpy - interfejs Pythona 2 do biblioteki GPGME
+Name:		python-gpgmepy
+# keep 1.24.x here for python2 support
+Version:	1.24.3
+Release:	1
+License:	LGPL v2.1+
+Group:		Libraries/Python
+Source0:	https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2
+# Source0-md5:	c6f85ce24ad46c9469596df0301f32eb
+URL:		https://www.gnupg.org/related_software/gpgme/
+BuildRequires:	gpgme-devel >= 1.24.3
+BuildRequires:	python-devel >= 1:2.7
+BuildRequires:	rpm-pythonprov
+BuildRequires:	swig-python
+Requires:	python-libs >= 1:2.7
+Obsoletes:	python-gpg < 1:2
+Obsoletes:	python-pyme < 1.8.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GPGMEpy is a Python interface for GPGME library.
+
+%description -l pl.UTF-8
+GPGMEpy to interfejs Pythona do biblioteki GPGME.
+
+%prep
+%setup -q -n gpgme-%{version}
+
+%build
+%configure \
+	PACKAGE_VERSION=%{version} \
+	--disable-g13-test \
+	--disable-gpg-test \
+	--disable-gpgconf-test \
+	--disable-gpgsm-test \
+	--enable-languages="python"
+
+cd lang/python
+ln -snf src gpg
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+cd lang/python
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS lang/python/README
+%dir %{py_sitedir}/gpg
+%attr(755,root,root) %{py_sitedir}/gpg/_gpgme.so
+%{py_sitedir}/gpg/*.py[co]
+%{py_sitedir}/gpg/constants
+%{py_sitedir}/gpg-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-gpgmepy.git/commitdiff/c3c416427e13981ce06896a78aa9f4d641822e75



More information about the pld-cvs-commit mailing list