Name: gst-rtsp-server Summary: Multimedia Framework Library Version: 1.12.2 Release: 7 Url: http://gstreamer.freedesktop.org/ Group: System/Libraries License: LGPL-2.0+ Source: http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-%{version}.tar.xz Source100: common.tar.bz2 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(gstreamer-1.0) BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description %package devel Summary: Multimedia Framework RTSP server library (DEV) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel %package factory Summary: Multimedia Framework RTSP server Library (Factory) Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description factory %prep %setup -q -n gst-rtsp-server-%{version} %setup -q -T -D -a 100 %build NOCONFIGURE=1 ./autogen.sh CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS # always enable sdk build. This option should go away # disable build examples. %configure --disable-static --disable-examples # Call make instruction with smp support make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %clean rm -rf %{buildroot} %post /sbin/ldconfig %postun /sbin/ldconfig %files %manifest gst-rtsp-server.manifest %defattr(-,root,root,-) %license COPYING %{_libdir}/*.so.* %{_libdir}/gstreamer-1.0/libgstrtspclientsink.so %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/gstreamer-1.0/gst/rtsp-server/rtsp-*.h %{_includedir}/gstreamer-1.0/gst/rtsp-server/gstwfd*.h %{_libdir}/pkgconfig/*