Initial debianization for v1.11.0.
Change-Id: Ie27a37855e782277c60908ebea9b363d296d34a3
Signed-off-by: Wook Song <wook16.song@samsung.com>
--- /dev/null
+flatbuffers (1.11.0-1) unstable; urgency=medium
+
+ * Initial debianization for v1.11.0
+
+ -- Wook Song <wook16.song@samsung.com> Tue, 11 Feb 2020 11:26:10 +0900
--- /dev/null
+9
\ No newline at end of file
--- /dev/null
+Source: flatbuffers
+Section: libdevel
+Priority: optional
+Build-Depends: debhelper (>=9), cmake, gcc
+Maintainer: Wook Song <wook16.song@samsung.com>
+Standards-Version: 3.6.1
+Homepage: https://github.com/google/flatbuffers
+
+Package: libflatbuffers
+Architecture: linux-any
+Multi-Arch: same
+Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Memory Efficient Serialization Library (libs)
+ FlatBuffers is a cross platform serialization library architected for maximum
+ memory efficiency. It allows you to directly access serialized data without
+ parsing/unpacking it first, while still having great forwards/backwards
+ compatibility.
+ .
+ This package contains the runtime library.
+
+Package: libflatbuffers-dev
+Architecture: linux-any
+Multi-Arch: same
+Section: libdevel
+Depends: ${shlibs:Depends}, ${misc:Depends}, libflatbuffers (= ${binary:Version})
+Description: Memory Efficient Serialization Library (dev-kit)
+ FlatBuffers is a cross platform serialization library architected for maximum
+ memory efficiency. It allows you to directly access serialized data without
+ parsing/unpacking it first, while still having great forwards/backwards
+ compatibility.
+ .
+ This package contains the development header and static library files.
+
+
+Package: flatbuffers-compiler
+Architecture: linux-any
+Multi-Arch: same
+Section: devel
+Depends: ${misc:Depends}
+Description: Memory Efficient Serialization Library (compiler)
+ FlatBuffers is a cross platform serialization library architected for maximum
+ memory efficiency. It allows you to directly access serialized data without
+ parsing/unpacking it first, while still having great forwards/backwards
+ compatibility.
+ .
+ This package contains the development header and static library files.
--- /dev/null
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: flatbuffers
+Source: https://github.com/google/flatbuffers
+
+Files: *
+Copyright: 2008-2020 Google Inc.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2020, Wook Song <wook16.song@samsung.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ ․
+ https://www.apache.org/licenses/LICENSE-2.0
+ ․
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ ․
+ On Debian systems, the complete text of the Apache License,
+ Version 2.0 can be found in "/usr/share/common-licenses/Apache-2.0".
--- /dev/null
+/usr/bin/flatc
--- /dev/null
+/usr/lib/*/libflatbuffers.so
+/usr/lib/*/libflatbuffers.a
+/usr/include/flatbuffers/*
+/usr/lib/*/cmake/*
--- /dev/null
+/usr/lib/*/libflatbuffers.so.*
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+include /usr/share/dpkg/architecture.mk
+
+ifeq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export DEB_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+else
+export DEB_MULTIARCH ?= $(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
+endif
+
+export DEB_CMAKE_EXTRA_FLAGS += -DFLATBUFFERS_INSTALL=ON \
+ -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
+ -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE \
+ -DCMAKE_INSTALL_PREPIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_MULTIARCH) \
+ -DCMAKE_INSTALL_BINDIR=bin \
+ -DCMAKE_BUILD_TYPE=Release
+
+%:
+ dh $@ --parallel --buildsystem=cmake
+
+override_dh_auto_configure:
+ dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
+
+
+