+++ /dev/null
-<!--
-
-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?
-
+++ /dev/null
-# 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
--- /dev/null
+#
+# 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