Bump to python3-grpcio 1.65.0rc1 accepted/tizen_9.0_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x_asan backup/python3-grpcio_1.65.0rc1_20250219 tizen_9.0 accepted/tizen/9.0/unified/20241030.233724 accepted/tizen/unified/20240627.103552 accepted/tizen/unified/dev/20240701.072621 accepted/tizen/unified/toolchain/20240812.130704 accepted/tizen/unified/x/20240627.090206 accepted/tizen/unified/x/asan/20240813.225011 tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 19 Jun 2024 04:36:47 +0000 (13:36 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 19 Jun 2024 04:36:47 +0000 (13:36 +0900)
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..4f4264e
--- /dev/null
@@ -0,0 +1,66 @@
+Name:       python3-grpcio
+Summary:    HTTP/2-based Remote Procedure Call implementation
+Version:    1.65.0rc1
+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/*
+