]> git.pld-linux.org Git - packages/minisapserver.git/blob - minisapserver.spec
- new
[packages/minisapserver.git] / minisapserver.spec
1 #
2 # Conditional build:
3 %bcond_without  slp     # SLP announcing
4 #
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
7 Name:           minisapserver
8 Version:        0.3.8
9 Release:        1
10 License:        GPL v2+
11 Group:          Networking
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)
19
20 %description
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.
24
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.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %configure \
36         --disable-silent-rules \
37         %{?with_slp:--enable-slp}
38
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
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*
This page took 0.099764 seconds and 3 git commands to generate.