[packages/gstreamer-plugins-bad] - package gstopencv library; release 4
qboosh
qboosh at pld-linux.org
Tue Dec 26 18:21:22 CET 2017
commit 35c87e72bd1733abfb0a8a274b202630b0521084
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Dec 26 18:21:46 2017 +0100
- package gstopencv library; release 4
gstreamer-plugins-bad.spec | 45 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 43 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer-plugins-bad.spec b/gstreamer-plugins-bad.spec
index c850a45..3b4ad8a 100644
--- a/gstreamer-plugins-bad.spec
+++ b/gstreamer-plugins-bad.spec
@@ -68,7 +68,7 @@ Summary: Bad GStreamer Streaming-media framework plugins
Summary(pl.UTF-8): Złe wtyczki do środowiska obróbki strumieni GStreamer
Name: gstreamer-plugins-bad
Version: 1.12.4
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-bad/%{gstname}-%{version}.tar.xz
@@ -745,8 +745,8 @@ Group: Libraries
# for locales
Requires: %{name} = %{version}-%{release}
Requires: gstreamer >= %{gst_req_ver}
+Requires: gstreamer-opencv-libs = %{version}-%{release}
Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
-Requires: opencv >= 1:2.3.0
%description -n gstreamer-opencv
GStreamer OpenCV plugin. It contains the following elements:
@@ -760,6 +760,34 @@ facedetect, faceblur, edgedetect, cvsobel, cvsmooth, cvlaplace,
cverode, cvequalizehist, cvdilate, textwrite, templatematch,
pyramidsegment.
+%package -n gstreamer-opencv-libs
+Summary: GStreamer OpenCV shared library
+Summary(pl.UTF-8): Biblioteka współdzielona GStreamer OpenCV
+Group: Libraries
+Requires: gstreamer >= %{gst_req_ver}
+Requires: gstreamer-plugins-base >= %{gstpb_req_ver}
+Requires: opencv >= 1:2.3.0
+
+%description -n gstreamer-opencv-libs
+GStreamer OpenCV shared library.
+
+%description -n gstreamer-opencv-libs -l pl.UTF-8
+Biblioteka współdzielona GStreamer OpenCV.
+
+%package -n gstreamer-opencv-devel
+Summary: Header files for GStreamer OpenCV library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GStreamer OpenCV
+Group: Development/Libraries
+Requires: gstreamer-devel >= %{gst_req_ver}
+Requires: gstreamer-opencv-libs = %{version}-%{release}
+Requires: gstreamer-plugins-base-devel >= %{gstpb_req_ver}
+
+%description -n gstreamer-opencv-devel
+Header files for GStreamer OpenCV library.
+
+%description -n gstreamer-opencv-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki GStreamer OpenCV.
+
%package -n gstreamer-openexr
Summary: GStreamer OpenEXR plugin
Summary(pl.UTF-8): Wtyczka OpenEXR dla GStreamera
@@ -1342,6 +1370,9 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
+%post -n gstreamer-opencv-libs -p /sbin/ldconfig
+%postun -n gstreamer-opencv-libs -p /sbin/ldconfig
+
%files -f %{gstname}-%{gst_major_ver}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README RELEASE
@@ -1701,6 +1732,16 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_datadir}/gst-plugins-bad
%dir %{_datadir}/gst-plugins-bad/1.0
%{_datadir}/gst-plugins-bad/1.0/opencv_haarcascades
+
+%files -n gstreamer-opencv-libs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgstopencv-1.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgstopencv-1.0.so.0
+
+%files -n gstreamer-opencv-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgstopencv-1.0.so
+%{_includedir}/gstreamer-1.0/gst/opencv
%endif
%if %{with openexr}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-plugins-bad.git/commitdiff/35c87e72bd1733abfb0a8a274b202630b0521084
More information about the pld-cvs-commit
mailing list