1 Summary: A DLNA/UPnP MediaServer protocol implementation
2 Summary(pl.UTF-8): Implementacja protokołu DLNA/UPnP MediaServer
7 Group: Libraries/Python
8 Source0: https://coherence.beebits.net/download/Coherence-%{version}.tar.gz
9 # Source0-md5: d7a1b4abf6831c61e37a3b9e2bdc560a
10 Source1: org.Coherence.service
11 URL: https://coherence.beebits.net/
12 BuildRequires: python-TwistedWeb
13 BuildRequires: python-devel >= 1:2.5
14 BuildRequires: python-setuptools
15 BuildRequires: rpm-pythonprov
16 Requires: python-Louie
17 Requires: python-TwistedCore
18 Requires: python-TwistedWeb
19 Requires: python-configobj
20 Requires: python-setuptools
21 %pyrequires_eq python-modules
23 Suggests: python-PyQt4
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
29 and exports local and remote media files via its plugins to other UPnP
32 And together with GStreamer it forms a controllable DLNA/UPnP
35 %description -l pl.UTF-8
36 Samodzielna aplikacja Coherence służy jako serwer mediów DLNA/UPnP,
37 udostępniając lokalne i zdalne pliki multimedialne poprzez wtyczki dla
40 Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
43 %setup -q -n Coherence-%{version}
49 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
52 install %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/org.Coherence.service
56 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
57 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
59 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
60 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/misc
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/dbus-1/services/org.Coherence.service