2019-01-22 22:24:41 +00:00
|
|
|
#
|
|
|
|
# spec file for package grpc-httpjson-transcoding
|
|
|
|
#
|
2020-01-17 10:01:03 +00:00
|
|
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
2019-01-22 22:24:41 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-11-07 21:11:08 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-01-22 22:24:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-03-19 19:03:44 +00:00
|
|
|
%define src_install_dir /usr/src/%{name}
|
2019-01-22 22:24:41 +00:00
|
|
|
|
|
|
|
Name: grpc-httpjson-transcoding
|
2019-11-07 21:11:08 +00:00
|
|
|
Version: 20190920
|
2019-01-22 22:24:41 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Library for transcoding HTTP/JSON to gRPC
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-02-14 13:22:35 +00:00
|
|
|
Url: https://github.com/grpc-ecosystem/%{name}
|
2019-01-22 22:24:41 +00:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2019-03-19 19:03:44 +00:00
|
|
|
Source100: grpc-httpjson-transcoding-rpmlintrc
|
2019-11-07 21:11:08 +00:00
|
|
|
Patch0: 0001-bazel-Update-googleapis-and-do-not-define-custom-BUI.patch
|
|
|
|
BuildRequires: fdupes
|
2019-02-14 13:22:35 +00:00
|
|
|
ExcludeArch: %ix86
|
2019-01-22 22:24:41 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
grpc-httpjson-transcoding is a library that supports transcoding so that
|
|
|
|
HTTP/JSON can be converted to gRPC. It allows to provide APIs in both gRPC and
|
|
|
|
REST style at the same time.
|
|
|
|
|
2019-03-19 19:03:44 +00:00
|
|
|
%package source
|
|
|
|
Summary: Source code of grpc-httpjson-transcoding
|
|
|
|
Group: Development/Sources
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description source
|
|
|
|
Source code of grpc-httpjson-transcoding - a library that supports transcoding
|
|
|
|
so that HTTP/JSON can be converted to gRPC. It allows to provide APIs in both
|
|
|
|
gRPC and REST style at the same time.
|
|
|
|
|
2019-01-22 22:24:41 +00:00
|
|
|
%prep
|
2019-11-07 21:11:08 +00:00
|
|
|
%autosetup -p1
|
2019-01-22 22:24:41 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2019-03-19 19:03:44 +00:00
|
|
|
mkdir -p %{buildroot}%{src_install_dir}
|
2019-11-07 21:11:08 +00:00
|
|
|
cp -r * %{buildroot}%{src_install_dir}
|
|
|
|
%fdupes %{buildroot}%{src_install_dir}
|
2019-03-19 19:03:44 +00:00
|
|
|
|
2020-01-17 10:01:03 +00:00
|
|
|
%files source
|
2019-01-22 22:24:41 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc README.md
|
2019-03-19 19:03:44 +00:00
|
|
|
%{src_install_dir}
|
2019-01-22 22:24:41 +00:00
|
|
|
|
2019-03-19 19:03:44 +00:00
|
|
|
%changelog
|