Automatic update of common submodule
[platform/upstream/gstreamer.git] / gst-rtsp.spec.in
1 %define         gst_majorminor @GST_API_VERSION@
2
3 Name:           gstreamer-rtsp-server
4 Version:        @VERSION@
5 Release:        1%{?dist}
6 Summary:        GStreamer based RTSP server
7 Vendor:         Collabora Multimedia
8 Group:          Applications/Multimedia
9 License:        LGPLv2+
10 Source0:        gst-rtsp-%{version}.tar.bz2
11 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
12
13 BuildRequires:  gstreamer-devel >= 0.10.11
14
15
16 %description
17 This is a RTSP server using the GStreamer framework.
18
19
20 %prep
21 %setup -q -n gst-rtsp-%{version}
22
23
24 %build
25 %configure
26
27 make
28
29 %install
30 %makeinstall
31
32 # Clean out files that should not be part of the rpm.
33 rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
34 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
35 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40
41 %post -p /sbin/ldconfig
42
43
44 %postun -p /sbin/ldconfig
45
46
47 %files
48 %defattr(-,root,root,-)
49 %doc AUTHORS COPYING README INSTALL docs/design/gst-rtp-server-design
50 %{_bindir}/gst-rtsp-server
51
52 %changelog
53 * Thu Oct 9 2008 Christian Schaller <christian.schaller@collabora.co.uk>
54 - First spec file