--- /dev/null
+gst-gz (1.0.0) unstable bionic focal; urgency=medium
+
+ * initial packaging for Ubuntu
+
+ -- Yongjoo Ahn <yongjoo1.ahn@samsung.com> Thu, 4 Mar 2021 10:00:00 +0900
--- /dev/null
+Source: gst-gz
+Section: libs
+Priority: optional
+Maintainer: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
+Build-Depends: gcc (>=5), debhelper (>=9), gstreamer1.0-plugins-base, libgstreamer-plugins-base1.0-dev, libgstreamer1.0-dev
+Standards-Version: 3.9.6
+Homepage: https://github.com/Snec/gst-gz
+
+Package: gst-gz
+Architecture: any
+Multi-Arch: same
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: gst-gz provides GStreamer plugins in order to compress and decompress data with zlib
+
+Package: gst-gz-dev
+Architecture: any
+Multi-Arch: same
+Depends: gst-gz, ${shlibs:Depends}, ${misc:Depends}
+Description: Development package for gst-gz
--- /dev/null
+/usr/include/*.h
+/usr/lib/*/*.a
--- /dev/null
+/usr/lib/*/gstreamer-1.0/*.so
--- /dev/null
+#!/usr/bin/make -f
+# See debhelper(7) (uncomment to enable)
+# output every command that modifies files on the build system.
+#export DH_VERBOSE = 1
+
+
+# see FEATURE AREAS in dpkg-buildflags(1)
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+# see ENVIRONMENT in dpkg-buildflags(1)
+# package maintainers to append CFLAGS
+#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
+# package maintainers to append LDFLAGS
+#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+ROOT_DIR:=$(shell pwd)
+export VERSION:=3.2
+export INSTALL_PREFIX:=/usr/
+export INSTALL_LIBDIR:=lib
+export INSTALL_INCDIR:=include
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+export GST_POSTFIX:=gstreamer-1.0
+
+%:
+ dh $@ --parallel
+
+override_dh_auto_clean:
+ rm -rf debian/tmp
+
+override_dh_auto_build:
+ ./autogen.sh
+ ./configure --with-gstreamer-api=1.0
+ make
+
+override_dh_auto_install:
+ mkdir -p debian/tmp${INSTALL_PREFIX}${INSTALL_LIBDIR}/${DEB_HOST_MULTIARCH}/${GST_POSTFIX}
+ install -m 755 src/.libs/libgstgz.so \
+ debian/tmp${INSTALL_PREFIX}${INSTALL_LIBDIR}/${DEB_HOST_MULTIARCH}/${GST_POSTFIX}
+ install -m 755 src/.libs/libgstgz.a \
+ debian/tmp${INSTALL_PREFIX}${INSTALL_LIBDIR}/${DEB_HOST_MULTIARCH}
+ mkdir -p debian/tmp${INSTALL_PREFIX}${INSTALL_INCDIR}
+ install -m 644 src/*.h debian/tmp${INSTALL_PREFIX}${INSTALL_INCDIR}
+
+override_dh_install:
+ dh_install --sourcedir=debian/tmp --list-missing
--- /dev/null
+* Thu Mar 4 2021 Yongjoo Ahn <yongjoo1.ahn@samsung.com>
+- Initial packaging for Tizen
--- /dev/null
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
--- /dev/null
+%define gstpostfix gstreamer-1.0
+%define gstlibdir %{_libdir}/%{gstpostfix}
+
+Name: gst-gz
+Summary: gst-gz: GStreamer plugins for compress and decompress
+Version: 1.0.0
+Release: 1
+Group: Machine Learning
+Packager: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
+License: LGPL-2.1
+Source: %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+
+Requires: gstreamer >= 1.8.0
+BuildRequires: gstreamer-devel
+BuildRequires: gst-plugins-base-devel
+
+%description
+gst-gz provides GStreamer plugins in order to compress and decompress data with zlib (The repo is forked from https://github.com/Snec/gst-gz)
+
+%package devel
+Summary: develelopment package
+Requires: gst-gz = %{version}-%{release}
+%description devel
+development package for gst-gz
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+
+%autogen
+%configure
+make %{?_smp_mflags}
+
+%install
+mkdir -p %{buildroot}/%{gstlibdir}
+install -m 755 src/.libs/libgstgz.so %{buildroot}/%{gstlibdir}
+install -m 755 src/.libs/libgstgz.a %{buildroot}/%{_libdir}
+mkdir -p %{buildroot}/%{_includedir}
+install -m 644 src/*.h %{buildroot}/%{_includedir}
+
+%clean
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%{gstlibdir}/*.so
+
+%files devel
+%manifest %{name}.manifest
+%{_includedir}/*.h
+%{_libdir}/*.a