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: rpmbuild(macros) >= 1.710
13 BuildRequires: python-TwistedWeb
14 BuildRequires: python-devel >= 1:2.5
15 BuildRequires: python-setuptools
16 BuildRequires: rpm-pythonprov
17 Requires: python-Louie
18 Requires: python-TwistedCore
19 Requires: python-TwistedWeb
20 Requires: python-configobj
21 Requires: python-setuptools
22 %pyrequires_eq python-modules
24 Suggests: python-PyQt4
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 As a stand-alone application Coherence acts as a DLNA/UPnP MediaServer
30 and exports local and remote media files via its plugins to other UPnP
33 And together with GStreamer it forms a controllable DLNA/UPnP
36 %description -l pl.UTF-8
37 Samodzielna aplikacja Coherence służy jako serwer mediów DLNA/UPnP,
38 udostępniając lokalne i zdalne pliki multimedialne poprzez wtyczki dla
41 Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP.
44 %setup -q -n Coherence-%{version}
50 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_datadir}/dbus-1/services
53 install %SOURCE1 $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/org.Coherence.service
57 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
58 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
60 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
61 rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/misc
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %attr(755,root,root) %{_bindir}/*
71 %{_datadir}/dbus-1/services/org.Coherence.service