dnl check for bash completion
AC_ARG_WITH([bash-completion-dir],
AS_HELP_STRING([--with-bash-completion-dir[=PATH]],
- [Install the bash auto-completion script in this directory. @<:@default=yes@:>@]),
+ [Install the bash auto-completion script in this directory. @<:@default=no@:>@]),
[],
- [with_bash_completion_dir=yes])
+ [with_bash_completion_dir=no])
if test "x$with_bash_completion_dir" = "xyes"; then
PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0],
--- /dev/null
+%define gst_branch 1.0
+%define _lib_gstreamer_dir %{_libdir}/gstreamer-%{gst_branch}
+%define _libdebug_dir %{_libdir}/debug/usr/lib
+
+Name: gst-editing-services
+Version: 1.16.2
+Release: 1
+License: LGPL-2.0+
+Summary: GStreamer Editing Service Plug-Ins
+Url: http://gstreamer.freedesktop.org/
+Group: Multimedia/Framework
+Source: http://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-%{version}.tar.xz
+Source100: common.tar.gz
+
+BuildRequires: pkgconfig(gstreamer-1.0)
+BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: autoconf automake libtool
+BuildRequires: gobject-introspection-devel
+BuildRequires: gtk-doc
+BuildRequires: flex
+
+Requires: gstreamer >= 1.0.0
+Supplements: gstreamer
+
+%description
+This is a high-level library for facilitating the creation of audio/video
+non-linear editors.
+
+%package devel
+Summary: Development files for gst-editing-services
+License: GPLv2+ and LGPLv2+
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains libraries and header files for
+developing applications that use %{name}
+
+%prep
+%setup -q -n gst-editing-services-%{version}
+%setup -q -T -D -a 100
+
+%build
+./autogen.sh
+export CFLAGS="%{optflags} -fno-strict-aliasing\
+ -fstack-protector-strong\
+ -Wl,-z,relro\
+ -D_FORTIFY_SOURCE=2\
+ "
+
+%configure\
+ --disable-static\
+ --disable-maintainer-mode\
+ --disable-gtk-doc\
+ --disable-docbook\
+ --disable-examples\
+ --enable-tbm
+make %{?_smp_mflags} V=1
+find . -name '.gitignore' | xargs rm -f
+
+%install
+rm -rf %{buildroot}
+
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-, root, root)
+%license COPYING
+
+%{_libdir}/*.so.*
+%{_lib_gstreamer_dir}/*.so
+%{_libdir}/girepository-1.0/GES-1.0.typelib
+
+%{_bindir}/*-%{gst_branch}
+
+%files devel
+%{_libdir}/*.so
+%{_includedir}/gstreamer-1.0/ges/
+%{_libdir}/pkgconfig/gst-editing-services-1.0.pc
+%{_datadir}/gir-1.0/GES-1.0.gir