Bump to grpc 1.18.0 submit/tizen/20190430.023054
authorDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 30 Apr 2019 01:56:05 +0000 (10:56 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Tue, 30 Apr 2019 01:56:23 +0000 (10:56 +0900)
Change-Id: I026d02114455c6610255ad64f61ba6b8d5c5f96e
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
.github/CODEOWNERS [deleted file]
.github/ISSUE_TEMPLATE.md [deleted file]
.github/lock.yml [deleted file]
.github/mergeable.yml [deleted file]
.gitignore [deleted file]
packaging/grpc.manifest [new file with mode: 0644]
packaging/grpc.spec [new file with mode: 0644]

diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
deleted file mode 100644 (file)
index 0a7141c..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Auto-generated by the tools/mkowners/mkowners.py tool
-# Uses OWNERS files in different modules throughout the
-# repository as the source of truth for module ownership.
-/**/OWNERS @markdroth @nicolasnoble @a11r
-/bazel/** @nicolasnoble @jtattermusch @a11r @vjpai
-/cmake/** @jtattermusch @nicolasnoble @apolcyn
-/src/core/ext/filters/client_channel/** @markdroth @apolcyn @AspirinSJL
-/tools/dockerfile/** @jtattermusch @apolcyn @nicolasnoble
-/tools/run_tests/performance/** @ncteisen @apolcyn @jtattermusch
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
deleted file mode 100644 (file)
index d31aea6..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-<!--
-
-This form is for bug reports and feature requests ONLY!
-For general questions and troubleshooting, please ask/look for answers here:
-- grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
-- StackOverflow, with "grpc" tag: http://stackoverflow.com/questions/tagged/grpc
-
-Issues specific to *grpc-java*, *grpc-go*, *grpc-node*, *grpc-dart*, *grpc-web* should be created in the repository they belong to (e.g. https://github.com/grpc/grpc-LANGUAGE/issues/new)
--->
-### What version of gRPC and what language are you using?
-### What operating system (Linux, Windows, …) and version?
-### What runtime / compiler are you using (e.g. python version or version of gcc)
-### What did you do?
-If possible, provide a recipe for reproducing the error. Try being specific and include code snippets if helpful.
-### What did you expect to see?
-### What did you see instead?
-Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
-
-See https://github.com/grpc/grpc/blob/master/TROUBLESHOOTING.md for how to diagnose problems better.
-### Anything else we should know about your project / environment?
-
diff --git a/.github/lock.yml b/.github/lock.yml
deleted file mode 100644 (file)
index 119e484..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-daysUntilLock: 90
-lockComment: false
diff --git a/.github/mergeable.yml b/.github/mergeable.yml
deleted file mode 100644 (file)
index 3069209..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-mergeable:
-  pull_requests:
-    label:
-      or:
-        - and:
-          - must_include:
-              regex: 'release notes: yes'
-              message: 'Please include release note: yes'
-          - must_include:
-              regex: '^lang\/'
-              message: 'Please include a language label'
-        - must_include:
-            regex: 'release notes: no'
-            message: 'Please include release note: no'
diff --git a/.gitignore b/.gitignore
deleted file mode 100644 (file)
index cde82bc..0000000
+++ /dev/null
@@ -1,136 +0,0 @@
-# C/C++ build outputs
-.build/
-bins
-gens
-libs
-objs
-
-# Python items
-cython_debug/
-python_build/
-yapf_virtual_environment/
-python_pylint_venv/
-.coverage*
-.eggs
-htmlcov/
-dist/
-*.egg
-py27_gevent/
-py27_native/
-py3[0-9]_gevent/
-py3[0-9]_native/
-
-# Node installation output
-node_modules
-src/node/extension_binary/
-
-# gcov coverage data
-reports
-coverage
-*.gcno
-
-# profiler output
-*.prof
-
-# python compiled objects
-*.pyc
-
-# eclipse project files
-.cproject
-.project
-.settings
-
-# cache for run_tests.py
-.run_tests_cache
-.preprocessed_build
-
-# emacs temp files
-*~
-
-# vim temp files
-.*.swp
-
-# Makefile's cache
-cache.mk
-
-# Ruby's local gem information
-Gemfile.lock
-
-# Temporary test reports
-report.xml
-*/sponge_log.xml
-latency_trace.txt
-latency_trace.*.txt
-
-# port server log
-portlog.txt
-
-# gyp generated make files
-*-gyp.mk
-out
-
-# YCM config files
-.ycm_extra_conf.py
-
-# XCode
-^build/
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-*.xccheckout
-*.moved-aside
-DerivedData
-*.hmap
-*.ipa
-*.xcuserstate
-*.DS_Store
-
-# Objective-C generated files
-*.pbobjc.*
-*.pbrpc.*
-
-# Cocoapods artifacts
-Pods/
-Podfile.lock
-*.xcworkspace
-
-# Artifacts directory
-/artifacts/
-
-# Git generated files for conflicting
-*.orig
-
-# IDE specific folder for JetBrains IDEs
-.idea/
-
-# Blaze files
-bazel-bin
-bazel-genfiles
-bazel-grpc
-bazel-out
-bazel-testlogs
-
-# Debug output
-gdb.txt
-
-# ctags file
-tags
-
-# perf data
-memory_usage.csv
-perf.data
-perf.data.old
-
-# bm_diff
-bm_diff_new/
-bm_diff_old/
-bm_*.json
-
-# cmake build files
-/cmake/build
diff --git a/packaging/grpc.manifest b/packaging/grpc.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/grpc.spec b/packaging/grpc.spec
new file mode 100644 (file)
index 0000000..b138879
--- /dev/null
@@ -0,0 +1,105 @@
+#
+# spec file for package grpc
+#
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# 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.
+
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
+
+
+%define lname libgrpc
+%define src_install_dir /usr/src/%{name}
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+Name:           grpc
+Version:        1.18.0
+Release:        0
+Summary:        HTTP/2-based Remote Procedure Call implementation
+License:        Apache-2.0
+Group:          Development/Tools/Building
+Url:            http://grpc.io/
+Source:         https://github.com/grpc/grpc/archive/v%{version}.tar.gz
+Source1001:     grpc.manifest
+BuildRequires:  python-cython
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+# BuildRequires:  python-rpm-macros
+BuildRequires:  cmake
+BuildRequires:  gcc-c++
+BuildRequires:  pkg-config
+BuildRequires:  pkgconfig(libcares)
+BuildRequires:  pkgconfig(openssl) >= 1.0.1
+BuildRequires:  pkgconfig(protobuf) >= 3.5
+BuildRequires:  pkgconfig(zlib)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+
+%description
+The reference implementation of the gRPC protocol, done on top of
+HTTP/2 with support for synchronous and asynchronous calls. gRPC uses
+Protocol Buffers as the Interface Definition Language by default.
+
+%package -n %lname
+Summary:        HTTP/2-based Remote Procedure Call implementation
+Group:          System/Libraries
+
+%description -n %lname
+The reference implementation of the gRPC protocol, done on top of
+HTTP/2 with support for synchronous and asynchronous calls. gRPC uses
+Protocol Buffers as the Interface Definition Language by default.
+
+%package devel
+Summary:        Development files for grpc, a HTTP/2 Remote Procedure Call implementation
+Group:          Development/Tools/Building
+Requires:       %lname = %version
+
+%description devel
+This subpackage contains libraries and header files for developing
+applications that want to make use of the gRPC reference implementation.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 \
+       CFLAGS="%optflags -Wno-error" CXXFLAGS="%optflags -Wno-error"
+
+%install
+b="%buildroot"
+make prefix="$b/%_prefix" STRIP=/bin/true V=1 VERBOSE=1 install
+find "$b/%_includedir" -type f -exec chmod a-x {} +
+pushd "$b/usr"
+rm -fv lib/*.a share/grpc/*.pem
+perl -i -pe 's{^prefix=.*}{prefix=%_prefix}' lib/pkgconfig/*.pc
+perl -i -pe 's{^libdir=.*}{libdir=%_libdir}' lib/pkgconfig/*.pc
+if test ! -d lib64 && test "%_lib" = lib64; then
+       mv lib lib64
+fi
+popd
+
+%post   -n %lname -p /sbin/ldconfig
+%postun -n %lname -p /sbin/ldconfig
+
+%files -n %lname
+%defattr(-,root,root)
+%_libdir/libaddress_sorting.so.*
+%_libdir/libgpr*.so.*
+%_libdir/libgrpc*.so.*
+
+%files devel
+%defattr(-,root,root)
+%license LICENSE
+%_bindir/*
+%_includedir/*
+%_libdir/pkgconfig/*.pc
+%_libdir/*.so
+
+%changelog