spec: Add typelib
authorGilbok Lee <gilbok.lee@samsung.com>
Tue, 2 Jun 2020 08:18:39 +0000 (17:18 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Tue, 2 Jun 2020 08:18:39 +0000 (17:18 +0900)
- for python, C# bindings

Change-Id: Ib9b8e1f99d22c439e3593853e67a9740e09bcd5d

packaging/gst-plugins-base.spec

index 7dc7d3c..fbe8b05 100644 (file)
@@ -5,7 +5,7 @@
 
 Name:           gst-plugins-base
 Version:        1.16.2
-Release:        6
+Release:        7
 License:        LGPL-2.0+
 Summary:        GStreamer Streaming-Media Framework Plug-Ins
 Url:            http://gstreamer.freedesktop.org/
@@ -123,7 +123,6 @@ rm -rf %{buildroot}
 %make_install
 %find_lang %{name}-%{gst_branch}
 mv %{name}-%{gst_branch}.lang %{name}.lang
-rm -rf %{buildroot}%{_libdir}/girepository-%{gst_branch}/*.typelib
 
 %post -p /sbin/ldconfig
 
@@ -176,6 +175,15 @@ rm -rf %{buildroot}%{_libdir}/girepository-%{gst_branch}/*.typelib
 %{_libdir}/libgstsdp*.so.*
 %{_libdir}/libgsttag*.so.*
 %{_libdir}/libgstvideo*.so.*
+%{_libdir}/girepository-1.0/GstAllocators-1.0.typelib
+%{_libdir}/girepository-1.0/GstApp-1.0.typelib
+%{_libdir}/girepository-1.0/GstAudio-1.0.typelib
+%{_libdir}/girepository-1.0/GstPbutils-1.0.typelib
+%{_libdir}/girepository-1.0/GstRtp-1.0.typelib
+%{_libdir}/girepository-1.0/GstRtsp-1.0.typelib
+%{_libdir}/girepository-1.0/GstSdp-1.0.typelib
+%{_libdir}/girepository-1.0/GstTag-1.0.typelib
+%{_libdir}/girepository-1.0/GstVideo-1.0.typelib
 %dir %{_datadir}/gst-plugins-base/
 %dir %{_datadir}/gst-plugins-base/%{gst_branch}/
 %{_datadir}/gst-plugins-base/%{gst_branch}/license-translations.dict