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: d59c213e039457e8ae02ac77d40decdd
10 Patch0: %{name}-syntax.patch
11 URL: https://coherence.beebits.net/
12 BuildRequires: python-devel >= 1:2.5
13 BuildRequires: python-setuptools
14 BuildRequires: rpm-pythonprov
15 Requires: python-Louie
16 Requires: python-TwistedCore
17 Requires: python-TwistedWeb
18 Requires: python-configobj
19 Requires: python-setuptools
20 %pyrequires_eq python-modules
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
26 and exports local and remote media files via its plugins to other UPnP
29 And together with GStreamer it forms a controllable DLNA/UPnP
32 %description -l pl.UTF-8
33 Samodzielna aplikacja Coherence służy jako serwer mediów DLNA/UPnP,
34 udostępniając lokalne i zdalne pliki multimedialne poprzez wtyczki dla
37 Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
40 %setup -q -n Coherence-%{version}
44 %{__python} setup.py build
47 rm -rf $RPM_BUILD_ROOT
49 %{__python} setup.py install \
51 --root=$RPM_BUILD_ROOT
53 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
54 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
56 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
57 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/misc
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*