summaryrefslogtreecommitdiff
path: root/gst-rtsp.spec.in
blob: 12224f8babc5e677ea8c4e4dc1c16d6259fedfbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%define         gst_majorminor @GST_API_VERSION@

Name:           gstreamer-rtsp-server
Version:        @VERSION@
Release:        1%{?dist}
Summary:        GStreamer based RTSP server
Vendor:		Collabora Multimedia
Group:          Applications/Multimedia
License:        LGPLv2+
Source0:        gst-rtsp-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gstreamer-devel >= 0.10.11


%description
This is a RTSP server using the GStreamer framework.


%prep
%setup -q -n gst-rtsp-%{version}


%build
%configure

make

%install
%makeinstall

# Clean out files that should not be part of the rpm.
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la

%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README INSTALL docs/design/gst-rtp-server-design
%{_bindir}/gst-rtsp-server

%changelog
* Thu Oct 9 2008 Christian Schaller <christian.schaller@collabora.co.uk>
- First spec file