2 Summary: Multimedia Framework Library
5 Url: http://gstreamer.freedesktop.org/
6 Group: System/Libraries
8 Source: http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-%{version}.tar.xz
9 Source100: common.tar.bz2
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires: pkgconfig(gstreamer-1.0)
13 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
15 BuildRoot: %{_tmppath}/%{name}-%{version}-build
20 Summary: Multimedia Framework RTSP server library (DEV)
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
27 Summary: Multimedia Framework RTSP server Library (Factory)
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
34 %setup -q -n gst-rtsp-server-%{version}
35 %setup -q -T -D -a 100
39 NOCONFIGURE=1 ./autogen.sh
41 CFLAGS+=" -DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\" "; export CFLAGS
42 LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--hash-style=both -Wl,--as-needed"; export LDFLAGS
44 # always enable sdk build. This option should go away
45 # disable build examples.
46 %configure --disable-static --disable-examples
48 # Call make instruction with smp support
65 %manifest gst-rtsp-server.manifest
66 %defattr(-,root,root,-)
69 %{_libdir}/gstreamer-1.0/libgstrtspclientsink.so
72 %defattr(-,root,root,-)
74 %{_includedir}/gstreamer-1.0/gst/rtsp-server/rtsp-*.h
75 %{_includedir}/gstreamer-1.0/gst/rtsp-server/gstwfd*.h
76 %{_libdir}/pkgconfig/*