3 %bcond_without slp # SLP announcing
5 Summary: SAP and SLP announcement for the VLC Media Player
6 Summary(pl.UTF-8): Rozgłaszanie SAP i SLP dla odtwarzacza multimediów VLC
12 Source0: http://download.videolan.org/videolan/miniSAPserver/latest/%{name}-%{version}.tar.xz
13 # Source0-md5: e2969e92d8c7af41f22ee29a6214ad11
14 Patch0: %{name}-slp.patch
15 URL: http://www.videolan.org/
16 BuildRequires: libstdc++-devel
17 %{?with_slp:BuildRequires: openslp-devel}
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 SAPserver announces, using the SAP/SDP or the SLP protocols, MPEG2 TS
22 streams produced by for instance VLS. These announces can be received
23 by the VLC Media Player o.a.
25 %description -l pl.UTF-8
26 SAPserver rozgłasza przy użyciu protokołów SAP/SDP lub SLP strumienie
27 MPEG2 TS utworzone przez np. VLS. Informacje te mogą być odebrane
28 następnie np. przez odtwarzacz multimedialny VLC Media Player.
36 --disable-silent-rules \
37 %{?with_slp:--enable-slp}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %doc AUTHORS ChangeLog NEWS
53 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sap.cfg
54 %attr(755,root,root) %{_bindir}/sapserver
55 %{_mandir}/man1/sapserver.1*