[packages/gstreamer-editing-services] - updated to 1.8.1, added python- binding

qboosh qboosh at pld-linux.org
Mon Apr 25 22:08:53 CEST 2016


commit c5f851665b03d4257f1ca74250e4835ea289658d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 25 22:09:26 2016 +0200

    - updated to 1.8.1, added python- binding

 gstreamer-editing-services.spec | 49 ++++++++++++++++++++++++++++++++---------
 1 file changed, 38 insertions(+), 11 deletions(-)
---
diff --git a/gstreamer-editing-services.spec b/gstreamer-editing-services.spec
index a11762a..272baba 100644
--- a/gstreamer-editing-services.spec
+++ b/gstreamer-editing-services.spec
@@ -1,22 +1,23 @@
 #
 # Conditional build:
+%bcond_without	python		# Python binding
 %bcond_without	static_libs	# static library
 #
-%define		gst_req_ver	1.6.2
-%define		gstpb_req_ver	1.6.2
+%define		gst_req_ver	1.8.0
+%define		gstpb_req_ver	1.8.0
 Summary:	GStreamer Editing Services library
 Summary(pl.UTF-8):	Biblioteka funkcji edycyjnych GStreamera (GStreamer Editing Services)
 Name:		gstreamer-editing-services
-Version:	1.6.2
+Version:	1.8.1
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
-Source0:	http://gstreamer.freedesktop.org/src/gstreamer-editing-services/%{name}-%{version}.tar.xz
-# Source0-md5:	76a1aa3f08af4c56b08d784aea46b712
-URL:		http://gstreamer.net/
+Source0:	https://gstreamer.freedesktop.org/src/gstreamer-editing-services/%{name}-%{version}.tar.xz
+# Source0-md5:	f18f4c1f92a37e8150e3a8e311638406
+URL:		https://gstreamer.freedesktop.org/
 BuildRequires:	autoconf >= 2.62
 BuildRequires:	automake >= 1:1.11
-BuildRequires:	glib2-devel >= 1:2.34.0
+BuildRequires:	glib2-devel >= 1:2.40.0
 BuildRequires:	gobject-introspection-devel >= 0.9.6
 BuildRequires:	gstreamer-devel >= %{gst_req_ver}
 BuildRequires:	gstreamer-plugins-base-devel >= %{gstpb_req_ver}
@@ -25,13 +26,14 @@ BuildRequires:	gtk-doc >= 1.3
 BuildRequires:	libtool >= 2:2.2.6
 BuildRequires:	libxml2-devel >= 2.0
 BuildRequires:	pkgconfig >= 1:0.9.0
+%if %{with python}
 BuildRequires:	python >= 1:2.3
-# what version???
-#BuildRequires:	python-pygobject3-devel >= 4.22
+BuildRequires:	python-pygobject3-devel >= 3.0
+%endif
 BuildRequires:	rpmbuild(macros) >= 1.673
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
-Requires:	glib2 >= 1:2.34.0
+Requires:	glib2 >= 1:2.40.0
 Requires:	gstreamer >= %{gst_req_ver}
 Requires:	gstreamer-plugins-base >= %{gstpb_req_ver}
 Obsoletes:	gstreamer-gnonlin < 1.6.0
@@ -50,7 +52,7 @@ Summary:	Header files for GStreamer Editing Services library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki GStreamer Editing Services
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	glib2-devel >= 1:2.34.0
+Requires:	glib2-devel >= 1:2.40.0
 Requires:	gstreamer-devel >= %{gst_req_ver}
 Requires:	gstreamer-plugins-base-devel >= %{gstpb_req_ver}
 
@@ -85,6 +87,19 @@ API documentation for GStreamer Editing Services library.
 %description apidocs -l pl.UTF-8
 Dokumentacja API biblioteki GStreamer Editing Services.
 
+%package -n python-gstreamer-editing-services
+Summary:	Python GI binding for GStreamer Editing Services
+Summary(pl.UTF-8):	Wiązanie Pythona GI do usług GStreamer Editing Services
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+Requires:	python-pygobject3 >= 3.0
+
+%description -n python-gstreamer-editing-services
+Python GI binding for GStreamer Editing Services.
+
+%description -n python-gstreamer-editing-services -l pl.UTF-8
+Wiązanie Pythona GI do usług GStreamer Editing Services.
+
 %package -n bash-completion-gstreamer-editing-services
 Summary:	Bash completion for GStreamer Editing Services utilities
 Summary(pl.UTF-8):	Bashowe uzupełnianie paramterów narzędzi GStreamer Editing Services
@@ -129,8 +144,11 @@ rm -rf $RPM_BUILD_ROOT
 # module loaded through glib
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/libgstnle.la
 
+%if %{with python}
 %py_comp $RPM_BUILD_ROOT%{_libdir}/gst-validate-launcher/python/launcher/apps
 %py_ocomp $RPM_BUILD_ROOT%{_libdir}/gst-validate-launcher/python/launcher/apps
+%py_postclean
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -146,7 +164,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %ghost %{_libdir}/libges-1.0.so.0
 %{_libdir}/girepository-1.0/GES-1.0.typelib
 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstnle.so
+%if %{with python}
 %{_libdir}/gst-validate-launcher/python/launcher/apps/geslaunch.py*
+%endif
 %{_datadir}/gstreamer-1.0/validate/scenarios/ges-edit-clip-while-paused.scenario
 
 %files devel
@@ -166,6 +186,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_gtkdocdir}/ges-1.0
 
+%if %{with python}
+%files -n python-gstreamer-editing-services
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/gstreamer-editing-services
+%{py_sitedir}/gstreamer-editing-services/GES.py[co]
+%endif
+
 %files -n bash-completion-gstreamer-editing-services
 %defattr(644,root,root,755)
 %{bash_compdir}/ges-launch-1.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gstreamer-editing-services.git/commitdiff/c5f851665b03d4257f1ca74250e4835ea289658d



More information about the pld-cvs-commit mailing list