File gst-rtsp.spec of Package gst-rtsp
#
# spec file for package gst-rtsp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gst-rtsp
Version: 0.10.8
Release: 11
License: LGPLv2+
Summary: GStreamer based RTSP server library
Url: http://gstreamer.freedesktop.org/
Group: Productivity/Multimedia/Other
Source0: http://www.gstreamer.net/src/gst-rtsp/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gst-rtsp-pygobject.patch bgo#641419 davejplater@gmail.com -- Fix build
Patch0: gst-rtsp-pygobject.patch
BuildRequires: gobject-introspection-devel
BuildRequires: libtool
BuildRequires: python-devel
BuildRequires: vala
BuildRequires: pkgconfig(gstreamer-0.10)
BuildRequires: pkgconfig(gstreamer-plugins-base-0.10)
BuildRequires: pkgconfig(gst-python-0.10)
BuildRequires: pkgconfig(pygobject-2.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GstRTSP is a RTSP server library using the GStreamer framework.
%package -n libgstrtspserver-0_10-0
License: LGPLv2+
Summary: GStreamer based RTSP server library
Group: System/Libraries
Provides: %{name} = %{version}-%{release}
%description -n libgstrtspserver-0_10-0
GstRTSP is a RTSP server library using the GStreamer framework.
%package -n libgstrtspserver-0_10-devel
License: LGPLv2+
Summary: GStreamer based RTSP server library -- Development Files
Group: Development/Libraries/C and C++
Requires: libgstrtspserver-0_10-0 = %{version}
%description -n libgstrtspserver-0_10-devel
GstRTSP is a RTSP server library using the GStreamer framework.
%package -n python-gstreamer-0_10-plugin-rtspserver
License: LGPLv2+
Summary: GStreamer based RTSP server library -- Python Bindings
Group: Development/Languages/Python
Requires: python-gstreamer-0_10
%py_requires
%description -n python-gstreamer-0_10-plugin-rtspserver
GstRTSP is a RTSP server library using the GStreamer framework.
%prep
%setup -q
%patch0
%build
NOCONFIGURE=1 ./autogen.sh
%configure \
--with-pic \
--disable-static
%__make %{?_smp_mflags} V=1
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%clean
rm -rf %{buildroot}
%post -n libgstrtspserver-0_10-0 -p /sbin/ldconfig
%postun -n libgstrtspserver-0_10-0 -p /sbin/ldconfig
%files -n libgstrtspserver-0_10-0
%defattr(-, root, root)
%doc AUTHORS COPYING README docs/design/gst-rtp-server-design
%{_libdir}/libgstrtspserver-0.10.so.*
%{_libdir}/girepository-1.0/GstRtspServer-0.10.typelib
%files -n libgstrtspserver-0_10-devel
%defattr(-, root, root)
%{_includedir}/gstreamer-0.10/gst/rtsp-server
%{_libdir}/libgstrtspserver-0.10.so
%{_libdir}/pkgconfig/gst-rtsp-server-0.10.pc
%{_datadir}/gir-1.0/GstRtspServer-0.10.gir
%dir %{_datadir}/gst-rtsp/
%dir %{_datadir}/gst-rtsp/0.10/
%dir %{_datadir}/gst-rtsp/0.10/defs
# defs for python bindings
%{_datadir}/gst-rtsp/0.10/defs/rtspserver-types.defs
%{_datadir}/gst-rtsp/0.10/defs/rtspserver.defs
%dir %{_datadir}/vala/
%dir %{_datadir}/vala/vapi/
%{_datadir}/vala/vapi/gst-rtsp-server-0.10.*
%files -n python-gstreamer-0_10-plugin-rtspserver
%defattr(-, root, root)
%{python_sitearch}/gst-0.10/gst/rtspserver.so
%changelog