File gst-rtsp-server.spec of Package gst-rtsp-server
#
# spec file for package gst-rtsp-server
#
# Copyright (c) 2016 SUSE LINUX 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-server
Version: 1.8.2
Release: 0
Summary: GStreamer based RTSP server library
License: LGPL-2.0+
Group: Productivity/Multimedia/Other
Url: http://gstreamer.freedesktop.org/
Source: http://gstreamer.freedesktop.org/src/gst-rtsp-server/%{name}-%{version}.tar.xz
BuildRequires: gstreamer-plugins-good >= 1.8.0
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.31.1
BuildRequires: pkgconfig(gstreamer-1.0) >= 1.8.0
BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= 1.8.0
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.8.0
BuildRequires: pkgconfig(libcgroup) >= 0.26
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
gst-rtsp-server is a library ion top of GStreamer for building an RTSP server
%package -n libgstrtspserver-1_0-0
Summary: GStreamer based RTSP server library
Group: System/Libraries
%description -n libgstrtspserver-1_0-0
gst-rtsp-server is a library ion top of GStreamer for building an RTSP server
%package -n typelib-1_0-GstRtspServer-1_0
Summary: GStreamer based RTSP server library
Group: System/Libraries
%description -n typelib-1_0-GstRtspServer-1_0
gst-rtsp-server is a library ion top of GStreamer for building an RTSP server
%package devel
Summary: GStreamer based RTSP server library
Group: Development/Languages/C and C++
Requires: libgstrtspserver-1_0-0 = %{version}
Requires: typelib-1_0-GstRtspServer-1_0 = %{version}
%description devel
gst-rtsp-server is a library ion top of GStreamer for building an RTSP server
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libgstrtspserver-1_0-0 -p /sbin/ldconfig
%postun -n libgstrtspserver-1_0-0 -p /sbin/ldconfig
%files -n libgstrtspserver-1_0-0
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_libdir}/libgstrtspserver-1.0.so.*
%files -n typelib-1_0-GstRtspServer-1_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/GstRtspServer-1.0.typelib
%files devel
%defattr(-,root,root)
%{_datadir}/gir-1.0/GstRtspServer-1.0.gir
%{_includedir}/gstreamer-1.0/gst/rtsp-server/
%{_libdir}/libgstrtspserver-1.0.so
%{_libdir}/gstreamer-1.0/libgstrtspclientsink.so
%{_libdir}/pkgconfig/gstreamer-rtsp-server-1.0.pc
%changelog