[packages/python-protobuf] - last python2 version moved out of protobuf.spec
qboosh
qboosh at pld-linux.org
Mon Sep 2 20:51:37 CEST 2024
commit df1406d1805075ff6e8cbc6a06845b1546aa9dc9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Sep 2 20:41:23 2024 +0200
- last python2 version moved out of protobuf.spec
python-protobuf.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
---
diff --git a/python-protobuf.spec b/python-protobuf.spec
new file mode 100644
index 0000000..dcabf62
--- /dev/null
+++ b/python-protobuf.spec
@@ -0,0 +1,49 @@
+Summary: Python 2 bindings for Protocol Buffers
+Summary(pl.UTF-8): Wiązania Pythona 2 do buforów protokołowych (Protocol Buffers)
+Name: python-protobuf
+# keep 3.17.x here for python2 support
+Version: 3.17.3
+Release: 1
+License: BSD
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/protobuf/
+Source0: https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-%{version}.tar.gz
+# Source0-md5: 03728f8c4d6d67ac9e0017f227a29538
+URL: https://pypi.org/project/protobuf/
+BuildRequires: python-modules >= 1:2.7
+BuildRequires: python-setuptools
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.714
+Requires: python-modules >= 1:2.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Python 2 bindings for Protocol Buffers.
+
+%description -l pl.UTF-8
+Wiązania Pythona 2 do buforów protokołowych (Protocol Buffers).
+
+%prep
+%setup -q -n protobuf-%{version}
+
+%build
+%py_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{py_sitescriptdir}/google
+%{py_sitescriptdir}/google/protobuf
+%{py_sitescriptdir}/protobuf-%{version}-py*.egg-info
+%{py_sitescriptdir}/protobuf-%{version}-py*-nspkg.pth
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-protobuf.git/commitdiff/df1406d1805075ff6e8cbc6a06845b1546aa9dc9
More information about the pld-cvs-commit
mailing list