SHA256
1
0
forked from pool/grpc

Accepting request 836136 from home:mrostecki:branches:devel:tools

- Add new subpackages - libupb and upb-devel. Currently, grpc
  sources include also upb sources. Before this change, libupb and
  upb-devel used to be included in a separate package - upb.

OBS-URL: https://build.opensuse.org/request/show/836136
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=67
This commit is contained in:
Martin Pluskal 2020-09-29 05:54:34 +00:00 committed by Git OBS Bridge
parent 89dc3d2012
commit 1090425ed4
2 changed files with 38 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 22 16:37:51 UTC 2020 - Michał Rostecki <mrostecki@suse.com>
- Add new subpackages - libupb and upb-devel. Currently, grpc
sources include also upb sources. Before this change, libupb and
upb-devel used to be included in a separate package - upb.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 18 19:53:23 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com> Fri Sep 18 19:53:23 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -81,6 +81,17 @@ Protocol Buffers as the Interface Definition Language by default.
This package provides the shared library to support plugins for grpc. This package provides the shared library to support plugins for grpc.
%package -n libupb%lver
Summary: A small protobuf implementation in C
Group: System/Libraries
%description -n libupb%lver
μpb (often written 'upb') is a small protobuf implementation written in C.
upb generates a C API for creating, parsing, and serializing messages as
declared in .proto files. upb is heavily arena-based: all messages always live
in an arena (note: the arena can live in stack or static memory if desired).
%package devel %package devel
Summary: Development files for grpc, a HTTP/2 Remote Procedure Call implementation Summary: Development files for grpc, a HTTP/2 Remote Procedure Call implementation
Group: Development/Tools/Building Group: Development/Tools/Building
@ -93,6 +104,20 @@ Requires: pkgconfig(re2)
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of the gRPC reference implementation. applications that want to make use of the gRPC reference implementation.
%package -n upb-devel
Summary: Developmnt files for upb
Group: Development/Tools/Building
Requires: libupb%lver = %version
%description -n upb-devel
μpb (often written 'upb') is a small protobuf implementation written in C.
upb generates a C API for creating, parsing, and serializing messages as
declared in .proto files. upb is heavily arena-based: all messages always live
in an arena (note: the arena can live in stack or static memory if desired).
This package provides development files for upb.
%package source %package source
Summary: Source code of gRPC Summary: Source code of gRPC
Group: Development/Sources Group: Development/Sources
@ -160,7 +185,6 @@ cp -r * "%buildroot/%src_install_dir"
%_libdir/libaddress_sorting.so.%{lver}* %_libdir/libaddress_sorting.so.%{lver}*
%_libdir/libgpr*.so.%{lver}* %_libdir/libgpr*.so.%{lver}*
%_libdir/libgrpc*.so.%{lver}* %_libdir/libgrpc*.so.%{lver}*
%_libdir/libupb*.so.%{lver}*
%files -n libgrpc++%lverp %files -n libgrpc++%lverp
%_libdir/libgrpc++*.so.%{lverp}* %_libdir/libgrpc++*.so.%{lverp}*
@ -169,6 +193,9 @@ cp -r * "%buildroot/%src_install_dir"
%files -n libgrpc_plugin_support%lverplugin %files -n libgrpc_plugin_support%lverplugin
%_libdir/libgrpc_plugin_support.so.%{lverplugin}* %_libdir/libgrpc_plugin_support.so.%{lverplugin}*
%files -n libupb%lver
%_libdir/libupb*.so.%{lver}*
%files devel %files devel
%license LICENSE %license LICENSE
%_bindir/* %_bindir/*
@ -177,6 +204,9 @@ cp -r * "%buildroot/%src_install_dir"
%_libdir/*.so %_libdir/*.so
%_libdir/cmake/grpc/ %_libdir/cmake/grpc/
%files -n upb-devel
%_libdir/libupb*.so
%files source %files source
%src_install_dir %src_install_dir