]>
Commit | Line | Data |
---|---|---|
2582c70a | 1 | Summary: A DLNA/UPnP MediaServer protocol implementation |
133427cb | 2 | Summary(pl.UTF-8): Implementacja protokołu DLNA/UPnP MediaServer |
2582c70a | 3 | Name: python-coherence |
53fb553e | 4 | Version: 0.5.6 |
c5711a5a | 5 | Release: 3 |
2582c70a PZ |
6 | License: MIT |
7 | Group: Libraries/Python | |
8 | Source0: https://coherence.beebits.net/download/Coherence-%{version}.tar.gz | |
53fb553e | 9 | # Source0-md5: d59c213e039457e8ae02ac77d40decdd |
257627d5 | 10 | Patch0: %{name}-syntax.patch |
2582c70a | 11 | URL: https://coherence.beebits.net/ |
133427cb | 12 | BuildRequires: python-devel >= 1:2.5 |
671fe8a4 | 13 | BuildRequires: python-setuptools |
133427cb | 14 | BuildRequires: rpm-pythonprov |
2582c70a PZ |
15 | Requires: python-Louie |
16 | Requires: python-TwistedCore | |
17 | Requires: python-TwistedWeb | |
18 | Requires: python-configobj | |
00c9e9ce | 19 | Requires: python-setuptools |
2582c70a PZ |
20 | %pyrequires_eq python-modules |
21 | BuildArch: noarch | |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
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 | |
27 | clients. | |
28 | ||
29 | And together with GStreamer it forms a controllable DLNA/UPnP | |
30 | MediaRenderer. | |
31 | ||
02300ffd | 32 | %description -l pl.UTF-8 |
133427cb JB |
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 | |
02300ffd | 35 | innych klientów UPnP. |
36 | ||
133427cb JB |
37 | Wraz z GStreamerem tworzy sterowalny renderer mediów DLNA/UPnP. |
38 | ||
2582c70a PZ |
39 | %prep |
40 | %setup -q -n Coherence-%{version} | |
257627d5 | 41 | %patch0 -p1 |
2582c70a PZ |
42 | |
43 | %build | |
133427cb | 44 | %{__python} setup.py build |
2582c70a PZ |
45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
133427cb | 49 | %{__python} setup.py install \ |
2582c70a PZ |
50 | --optimize=2 \ |
51 | --root=$RPM_BUILD_ROOT | |
52 | ||
53 | %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
54 | %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir} | |
55 | ||
56 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm | |
f915502f | 57 | rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/misc |
2582c70a PZ |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) | |
64 | %doc README | |
65 | %attr(755,root,root) %{_bindir}/* | |
66 | %{py_sitescriptdir}/* |