Bump to python3-grpcio 1.70.0 64/319864/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250219.114959 accepted/tizen/unified/x/20250221.100929
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 19 Feb 2025 03:22:22 +0000 (12:22 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 19 Feb 2025 03:22:33 +0000 (12:22 +0900)
Change-Id: I2db656edbbf9761b238466538339851daa497ae9

packaging/python3-grpcio.manifest [new file with mode: 0644]
packaging/python3-grpcio.spec [new file with mode: 0644]

diff --git a/packaging/python3-grpcio.manifest b/packaging/python3-grpcio.manifest
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
diff --git a/packaging/python3-grpcio.spec b/packaging/python3-grpcio.spec
new file mode 100644 (file)
index 0000000..a6e1d27
--- /dev/null
@@ -0,0 +1,66 @@
+Name:       python3-grpcio
+Summary:    HTTP/2-based Remote Procedure Call implementation
+Version:    1.70.0
+Release:    0
+
+# ==========================================================
+License:    Apache-2.0
+# ==========================================================
+
+Group:      Development/Languages/Python
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+# ==========================================================
+# BuildRequires
+# specifies build-time dependencies for the package
+# ==========================================================
+BuildRequires:  pkgconfig(python3)
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-protobuf
+BuildRequires:  python3-six
+
+Requires:       python3-protobuf
+
+%description
+gRPC is a remote procedure call (RPC) framework. gRPC enables client
+and server applications to communicate, and enables the building of
+connected systems.
+
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+# ==========================================================
+# build section
+# how to actually build the software we are packaging
+# ==========================================================
+%build
+%{_bindir}/python3 setup.py build
+
+
+# ==========================================================
+# install section
+# how to actually build the software we are packaging
+# ==========================================================
+%install
+%{_bindir}/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
+
+%clean
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+# ==========================================================
+# files section
+# The list of files that will be installed in the end
+# user’s system.
+# ==========================================================
+%files
+%manifest %{name}.manifest
+%license LICENSE
+%{python3_sitearch}/grpc/*
+%{python3_sitearch}/grpcio-%{version}-py%{python3_version}.egg-info/*
+