Name: grpc_php_plugin Version: 1.28.1 Release: 1%{?dist} Summary: High performance, general RPC framework License: ASL 2.0 URL: https://github.com/grpc/grpc Source0: %{version}.tar.gz # source obtained with: # git clone -b v1.28.1 https://github.com/grpc/grpc # cd grpc # git submodule update --init # rm -r .git BuildRequires: make, gcc-c++, which, autoconf, zlib-devel, automake, protobuf-devel, protobuf, protobuf-compiler %description gRPC is a high performance, open-source universal RPC framework. This package contains the PHP plugins for gRPC. %prep %setup -q -n grpc %build make grpc_php_plugin %install mkdir -p %{buildroot}/usr/local/bin/ cp -p ./bins/opt/grpc_php_plugin %{buildroot}/usr/local/bin/ %files %license LICENSE /usr/local/bin/grpc_php_plugin %changelog * Wed Dec 1 2021 Your Name - 1.28.1-1 - First build of grpc